You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds an infrastructure to inspect two configuration metadata
repositories and provide predicates to extract the properties and groups
that have been added, removed, etc.
This can be used, for instance, to generate a human readable diff when
releasing a new version of the project.
See spring-projectsgh-21486
I've made progress by polishing and adding the low-level infrastructure in 568930f. Based on that, we can generate an Asciidoc file that describes the diff between the previous version and the version we've just released.
With that in place, there are two tasks that are remaining to make it a bit more high-level:
Add code somewhere that would download the jars for the previous version, the just released version, extract the metadata and build the two repositories. We already have that code in my scratches project.
Have a method somewhere in our codebase we can trigger to generate the diff
I am a bit stuck at this point as I don't really know where to add this code. Making this part of our build could be an option but it would have to have a dependency on the spring-boot-configuration-metadata that's far from ideal (if at all possible?).
Stéphane has some code for generating the configuration properties changelog. It'd be nice if we all knew how to use it, maintain it, etc.
Edit: I think this is the code.
The text was updated successfully, but these errors were encountered: