Add rake task for component diff between versions#208
Merged
Conversation
438b1d2 to
18084ed
Compare
18084ed to
5be1b6f
Compare
This adds a new rake task. It allows us to output the component updates between two provided versions. This is useful for consuming project like openbolt and openvox. They usually skip a few puppet-runtime releases. The new task allows those projects to diff their previous to new puppet-runtime version and get a component overview. example for the openbolt 5.5.0->5.6.0 release: ``` bundle exec rake release:changelog_components:diff[2026.04.20.1,2026.06.10.1,false] **Component Changes:** | Component | Old Version | New Version | |-----------|-------------|-------------| | curl | 8.19.0 | 8.20.0 | | libxml2 | 2.15.2 | 2.15.3 | | openssl-3.0 | 3.0.20 | 3.0.21 | | openssl-3.5 | | 3.5.7 | | ruby-4.0 | | 4.0.5 | | ruby-selinux | 3.9 | 3.10 | | ruby-shadow-patched | | bc7752a9ddbde06c1418734d003a9607bafcc6df | | rubygem-aws-partitions | 1.1240.0 | 1.1259.0 | | rubygem-aws-sdk-core | 3.245.0 | 3.251.0 | | rubygem-aws-sdk-ec2 | 1.612.0 | 1.622.0 | | rubygem-excon | 1.4.2 | 1.5.0 | | rubygem-faraday | 2.14.1 | 2.14.2 | | rubygem-faraday-net_http | 3.4.2 | 3.4.4 | | rubygem-openfact | 5.6.0 | 5.6.1 | | rubygem-openvox | 8.26.2 | 8.28.0 | | rubygem-yard | 0.9.43 | 0.9.44 | ``` And latest puppet-runtime releases: ``` $ bundle exec rake release:changelog_components:diff[2026.06.09.1,2026.06.10.1,false] **Component Changes:** | Component | Old Version | New Version | |-----------|-------------|-------------| | rubygem-aws-partitions | 1.1258.0 | 1.1259.0 | | rubygem-aws-sdk-ec2 | 1.621.0 | 1.622.0 | | rubygem-openvox | 8.27.0 | 8.28.0 | ``` We can also get a list of added components in various projects: ``` **Component Changes:** | Component | Old Version | New Version | |-----------|-------------|-------------| | curl | 8.19.0 | 8.20.0 | | libxml2 | 2.15.2 | 2.15.3 | | openssl-3.0 | 3.0.20 | 3.0.21 | | openssl-3.5 | | 3.5.7 | | ruby-4.0 | | 4.0.5 | | ruby-selinux | 3.9 | 3.10 | | ruby-shadow-patched | | bc7752a9ddbde06c1418734d003a9607bafcc6df | | rubygem-aws-partitions | 1.1240.0 | 1.1259.0 | | rubygem-aws-sdk-core | 3.245.0 | 3.251.0 | | rubygem-aws-sdk-ec2 | 1.612.0 | 1.622.0 | | rubygem-excon | 1.4.2 | 1.5.0 | | rubygem-faraday | 2.14.1 | 2.14.2 | | rubygem-faraday-net_http | 3.4.2 | 3.4.4 | | rubygem-openfact | 5.6.0 | 5.6.1 | | rubygem-openvox | 8.26.2 | 8.28.0 | | rubygem-yard | 0.9.43 | 0.9.44 | **Project component additions:** - openssl-3.5: agent-runtime-main - ruby-4.0: agent-runtime-main - ruby-shadow-patched: agent-runtime-main ``` This is required for the puppet-runtime changelog itself, but not so much in the individual projects, so it's configureable. Signed-off-by: Tim Meusel <tim@bastelfreak.de>
5be1b6f to
1239211
Compare
Contributor
Author
|
I think this is working fine now. I also kicked off a release with the |
Sharpie
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new rake task. It allows us to output the component updates between two provided versions. This is useful for consuming project like openbolt and openvox. They usually skip a few puppet-runtime releases. The new task allows those projects to diff their previous to new puppet-runtime version and get a component overview.
example for the openbolt 5.5.0->5.6.0 release:
And latest puppet-runtime releases:
We can also get a list of added components in various projects:
This is required for the puppet-runtime changelog itself, but not so much in the individual projects, so it's configureable.
Short description
Checklist
I have:
Signed-off-byannotation to each of my commitsGenerated-byorAssisted-byannotations to each of my commits created with the help of an AI agent