-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ign -> gz : Release Tools Migrate DSL #750
Conversation
@@ -347,8 +347,10 @@ for ((i = 0; i < "${#LIBRARIES[@]}"; i++)); do | |||
cd ${TEMP_DIR}/homebrew-simulation | |||
startFromCleanBranch ${BUMP_BRANCH} master | |||
|
|||
# NOTE(CH3): This won't interfere with $LIB=gzXXX so it's fine | |||
# expand ign-* to ignition-* | |||
FORMULA_BASE=${LIB/ign/ignition} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll only use this script to bump gz
now, from Gazebo-H onwards, so I think it's ok to remove all ign
/ ignition
f9a79e7
to
b3db625
Compare
Not sure what is the goal of this PR @methylDragon . I see changes in variable names inside the DSL but not sure if we are trying to deal with other script names in release-tools. Could you please complete the PR description with the goals of the changes, please? |
We've been trying to change everything we can to reduce the clutter when grepping for As for the external facing stuff, we need a plan to migrate the names and URLs that show up in http://build.osrfoundation.org. Job names like |
8041e7d
to
576ff9a
Compare
There was a change in #779 that I'd like to tweak
We can leverage variable expansion, it's more concise, I think, if
I'm making this change during my rebase of this branch (since it's a conflict), do let me know if you'd rather I revert it, and I will EDIT: I ended up going back to using software_name because I don't understand the syntax enough and I couldn't get the substitutions to work for some reason... |
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Find: (ign(ition)?[-_])\$\{gz([^/|-|\}]*)\} Replace: $1${gz$3/sim/gazebo} Signed-off-by: methylDragon <[email protected]>
3fa6b4c
to
86fc254
Compare
See: e3a684b for more changes! I spotted more internal vars! |
d54d275
to
9fef16d
Compare
2d0a33f
to
a7a46f5
Compare
RFC: I think special attention needs to be paid to 8776491 I'm not sure of the syntax or if what I'm doing makes sense, but tests pass |
Signed-off-by: methylDragon <[email protected]>
a7a46f5
to
8776491
Compare
Run a test on #795 the real XML changes displayed are: diff -ur -I '.*<id>dashboard_portlet_.*</id>.*' /tmp/current_xml_configuration/ignition_citadel-ci-main-homebrew-amd64.xml /tmp/pr_xml_configuration/ignition_citadel-ci-main-homebrew-amd64.xml
--- /tmp/current_xml_configuration/ignition_citadel-ci-main-homebrew-amd64.xml 2022-08-19 16:46:00.323093363 +0000
+++ /tmp/pr_xml_configuration/ignition_citadel-ci-main-homebrew-amd64.xml 2022-08-19 16:44:48.238185025 +0000
@@ -64,7 +64,7 @@
<hudson.tasks.Shell>
<command>#!/bin/bash -xe
-/bin/bash -xe "./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "gz-citadel"
+/bin/bash -xe "./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "ignition-citadel"
</command>
</hudson.tasks.Shell>
</builders>
diff -ur -I '.*<id>dashboard_portlet_.*</id>.*' /tmp/current_xml_configuration/ignition_fortress-ci-main-homebrew-amd64.xml /tmp/pr_xml_configuration/ignition_fortress-ci-main-homebrew-amd64.xml
--- /tmp/current_xml_configuration/ignition_fortress-ci-main-homebrew-amd64.xml 2022-08-19 16:46:00.879101044 +0000
+++ /tmp/pr_xml_configuration/ignition_fortress-ci-main-homebrew-amd64.xml 2022-08-19 16:44:48.810193675 +0000
@@ -64,7 +64,7 @@
<hudson.tasks.Shell>
<command>#!/bin/bash -xe
-/bin/bash -xe "./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "gz-fortress"
+/bin/bash -xe "./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "ignition-fortress"
</command>
</hudson.tasks.Shell>
</builders>
diff -ur -I '.*<id>dashboard_portlet_.*</id>.*' /tmp/current_xml_configuration/ignition_garden-ci-main-homebrew-amd64.xml /tmp/pr_xml_configuration/ignition_garden-ci-main-homebrew-amd64.xml
--- /tmp/current_xml_configuration/ignition_garden-ci-main-homebrew-amd64.xml 2022-08-19 16:46:01.431108670 +0000
+++ /tmp/pr_xml_configuration/ignition_garden-ci-main-homebrew-amd64.xml 2022-08-19 16:44:49.366202084 +0000
@@ -64,7 +64,7 @@
<hudson.tasks.Shell>
<command>#!/bin/bash -xe
-/bin/bash -xe "./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "gz-garden"
+/bin/bash -xe "./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "ignition-garden"
</command>
</hudson.tasks.Shell>
</builders> |
Co-authored-by: methylDragon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are good to go.
Minor comment: I see that two of the files changed are named Context question: after this is deployed, do we lose history of the buildfarm jobs with the old ignition names? @Crola1702 FYI: Waiting for this to be merged before fixing the internal buildfarm tools. |
We are not renaming files in this PR, just changing the internal variable names if I'm not wrong.
AFAIK we are not changing any job name too. If you check the work in #795, the artifacts generated are the files changed and content changed in these files. Should be completely empty now. |
Part of: #746
This PR attempts to migrate internal variables inside DSL files to whittle down the number of occurrences of ign/ignition.