Skip to content

Conversation

@erinecon
Copy link
Contributor

@erinecon erinecon commented Mar 3, 2025

  • Have you signed the CLA?

Two maintenance-related changes to the tutorial setup file.

  1. Split up the reusable tutorial setup file into two based on whether the tutorial requires the latest/edge channel of Rockcraft.

  2. Fix a bug in the setup instructions pertaining to Docker. Currently, the Docker setup code block looks like this:

sudo addgroup --system docker
sudo adduser $USER docker
newgrp docker
sudo snap disable docker
sudo snap enable docker

However, the newgrp command will open a new shell session. The disable and enable commands won't run if the user copies and pastes the entire command block. The fix splits up the command block into two different blocks so copying/pasting the whole block will work.

Additional reviewers: @jdkandersson

@medubelko medubelko requested review from medubelko and tigarmo March 3, 2025 21:15
Copy link
Collaborator

@tigarmo tigarmo left a comment

Choose a reason for hiding this comment

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

thanks!

@tigarmo tigarmo merged commit be7862f into canonical:main Mar 6, 2025
18 checks passed
@erinecon erinecon deleted the tutorial-setup-maintenance branch April 25, 2025 18:27
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.

4 participants