Skip to content

More updates to bump_dependency.bash script for Jetty#1310

Open
scpeters wants to merge 9 commits intomasterfrom
scpeters/bump_dep_remove_version_from_package_name
Open

More updates to bump_dependency.bash script for Jetty#1310
scpeters wants to merge 9 commits intomasterfrom
scpeters/bump_dep_remove_version_from_package_name

Conversation

@scpeters
Copy link
Contributor

@scpeters scpeters commented Apr 24, 2025

As a follow-up to #1302 and in support of bumping and removing version numbers from all Jetty packages (except gz-tools), I've made more changes to the bump_dependency.bash script. Almost all the changes (except to jenkins-scripts/dsl/gz-collections.yaml) are now automated. I will use this to start opening pull requests for the version bumps.

Note that I ran the script with a local modification in order to customize the commit message.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Also group sed command expressions to improve readability

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Replace '-' with '.' in package name regex searching
to match both '-' and '_'. This improves the matching
in the homebrew formula, and allows eliminating
a duplicate replacement step at the very end.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Also add special handling for gz-msgs and sdformat.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters
Copy link
Contributor Author

there are also some find_package and target_link_libraries calls in *-release repos (see gz-cmake nightly build failure Build Status)

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters
Copy link
Contributor Author

there are also some find_package and target_link_libraries calls in *-release repos (see gz-cmake nightly build failure Build Status)

copied some search/replace rules to the release repo section of the script in 5f1c793 and trying the nightly build again:

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
* Use regex to match both fuel-tools, fuel_tools
* Match pkg-config calls in tests/build

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters marked this pull request as ready for review April 30, 2025 18:18
@scpeters scpeters requested a review from j-rivero as a code owner April 30, 2025 18:18
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters
Copy link
Contributor Author

@j-rivero this is ready for review, though I think we won't need all parts of the script anymore since we have already migrated version numbers

@scpeters
Copy link
Contributor Author

@j-rivero should we merge or close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant