Skip to content
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

Add script to rename packages from ignition to gazebo #726

Merged
merged 9 commits into from
Sep 9, 2022

Conversation

j-rivero
Copy link
Contributor

Still a work in progress. First run on gz-cmake3 gazebo-release/gz-cmake3-release#1

@j-rivero j-rivero force-pushed the rename_ign_to_gz branch from 646da9b to 6c6ef57 Compare May 16, 2022 16:49
@j-rivero j-rivero force-pushed the rename_ign_to_gz branch from 1b4cf75 to b1754cc Compare May 19, 2022 17:06
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tried installing CMake3 and it looks like it did the right thing pulling the gz package!

$ sudo apt install libignition-cmake3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libgz-cmake3-dev
The following NEW packages will be installed:
  libgz-cmake3-dev libignition-cmake3-dev
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 187 kB of archives.
After this operation, 1,895 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://packages.osrfoundation.org/gazebo/ubuntu-nightly focal/main amd64 libgz-cmake3-dev amd64 2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal [185 kB]
Get:2 http://packages.osrfoundation.org/gazebo/ubuntu-nightly focal/main amd64 libignition-cmake3-dev all 2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal [1,676 B]
Fetched 187 kB in 0s (439 kB/s)                    
Selecting previously unselected package libgz-cmake3-dev:amd64.
(Reading database ... 474750 files and directories currently installed.)
Preparing to unpack .../libgz-cmake3-dev_2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal_amd64.deb ...
Unpacking libgz-cmake3-dev:amd64 (2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal) ...
Selecting previously unselected package libignition-cmake3-dev.
Preparing to unpack .../libignition-cmake3-dev_2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal_all.deb ...
Unpacking libignition-cmake3-dev (2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal) ...
Setting up libgz-cmake3-dev:amd64 (2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal) ...
Setting up libignition-cmake3-dev (2.999.999+nightly+git20220524+1r946a27aec230d12f234406bb69177c34b0af510e-1~focal) ...

echo "Changeing watch file ${f}"
sed -i -e 's:/osrf/:/ignitionrobotics/:g' "${f}"
sed -i -e 's:ignitionrobotics:gazebosim:g' "${f}"
sed -i -e 's:ignition:gz:g' "${f}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -101,11 +101,6 @@ if [ -z ${ENABLE_REAPER} ]; then
ENABLE_REAPER=true
fi

# We use ignitionsrobotics or osrf. osrf by default
if [ -z ${GITHUB_ORG} ]; then
GITHUB_ORG="osrf"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need osrf for Gazebo classic?

@@ -48,7 +48,7 @@ if ${NIGHTLY_MODE}; then
if ${USE_REPO_DIRECTORY_FOR_NIGHTLY}; then
mv ${WORKSPACE}/repo \$REAL_PACKAGE_NAME
else
git clone https://github.com/${GITHUB_ORG}/\$REAL_PACKAGE_NAME -b ${NIGHTLY_SRC_BRANCH}
git clone https://github.com/gazebosim/\$REAL_PACKAGE_NAME -b ${NIGHTLY_SRC_BRANCH}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need osrf for Gazebo classic

@chapulina
Copy link
Contributor

@chapulina chapulina mentioned this pull request May 24, 2022
17 tasks
Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina
Copy link
Contributor

This script is very handy! A lot has changed in the release repos since this PR was opened. So I've been using a modified version of it to open various PRs.

@chapulina chapulina added the ign to gz Renaming Ignition to Gazebo. label Jun 30, 2022
@j-rivero
Copy link
Contributor Author

j-rivero commented Sep 7, 2022

This script is very handy! A lot has changed in the release repos since this PR was opened. So I've been using a modified version of it to open various PRs.

Imported changes in a32c867

@j-rivero j-rivero marked this pull request as ready for review September 7, 2022 22:31
@j-rivero
Copy link
Contributor Author

j-rivero commented Sep 9, 2022

Merging to archive the work done. The script probably will need some tweaks if used in the future but I think it is a good resource to have in this repo.

@j-rivero j-rivero merged commit 227a51b into master Sep 9, 2022
@j-rivero j-rivero deleted the rename_ign_to_gz branch September 9, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ign to gz Renaming Ignition to Gazebo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants