-
Notifications
You must be signed in to change notification settings - Fork 4
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
Install colcon and vcs from packages #79
base: noble
Are you sure you want to change the base?
Conversation
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[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.
LGTM!
mkdir -p /etc/apt/keyrings/ | ||
for tool in colcon vcstool; do | ||
curl -fsSL "https://packagecloud.io/dirk-thomas/${tool}/gpgkey" | gpg --dearmor > "/etc/apt/keyrings/${tool}-archive-keyring.gpg" | ||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/${tool}-archive-keyring.gpg] https://packagecloud.io/dirk-thomas/${tool}/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/${tool}.list > /dev/null |
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 see that vcstool
is coming from a third-party repo as well. This probably what we want since the one in Ubuntu upstream is usually outdated, but the statement in the PR description mentions that we're using the one from upstream, so I was a little confused.
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.
updated the PR description
This is a sidecar of #78 . Now that the use of pip for system-wide packages is restricted and dangerous, we probably want to stop using it as a package manager for our system installations.
vcs is not that critical but for colcon the use of it from a virtualenv is affecting the platform for getting system dependencies at build time, something that is more a side effect and not desired action. See the use of of colcon with system-dependencies for gz in #78.
In this PR I'm mainly getting:
python3-vcstool from Ubuntuvcstool from its packagecloud repository