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

fix: allow parallel installations of signed snapcraft snaps #5085

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

mr-cal
Copy link
Collaborator

@mr-cal mr-cal commented Oct 2, 2024

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox run -m lint?
  • Have you successfully run tox run -e test-py310? (supported versions: py39, py310, py311, py312)

Fixes a bug where parallel installations of snapcraft would not work if the snapcraft snap was signed.

I recommend reviewing by commit as the refactor commit is noisy.

Fixes #4683
Fixes #4927
(CRAFT-3259)

@mr-cal mr-cal marked this pull request as draft October 2, 2024 21:16
@mr-cal mr-cal force-pushed the work/CRAFT-3259/snap-alias branch from 7bc6d30 to 2f5ec00 Compare October 2, 2024 23:41
@mr-cal mr-cal changed the base branch from main to hotfix/8.4 October 2, 2024 23:41
@mr-cal mr-cal changed the title [draft] build(deps): point craft-providers to work/CRAFT-3259/snap-alias [draft] build(deps): point craft-providers to 2.0.3 Oct 3, 2024
@mr-cal mr-cal changed the title [draft] build(deps): point craft-providers to 2.0.3 fix: allow parallel installations of signed snapcraft snaps Oct 3, 2024
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@mr-cal mr-cal force-pushed the work/CRAFT-3259/snap-alias branch from 2f5ec00 to f188bf5 Compare October 3, 2024 14:17
@mr-cal mr-cal added the rebase label Oct 3, 2024
@mr-cal mr-cal force-pushed the work/CRAFT-3259/snap-alias branch from f188bf5 to f86542b Compare October 3, 2024 15:05
@mr-cal mr-cal marked this pull request as ready for review October 3, 2024 15:53
@mr-cal mr-cal requested review from lengau and dariuszd21 October 3, 2024 16:51
mr-cal added 2 commits October 3, 2024 11:59
Rename legacy variables to match snapd's definition:
snap_name->snap_instance_name (possibly aliased)
snap_store_name->snap_name (unaliased)

Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@mr-cal mr-cal force-pushed the work/CRAFT-3259/snap-alias branch from f86542b to 091e9a3 Compare October 3, 2024 16:59
@mr-cal mr-cal requested review from mattculler and removed request for dariuszd21 October 3, 2024 20:30
@mr-cal
Copy link
Collaborator Author

mr-cal commented Oct 3, 2024

requesting @lengau and @mattculler as they already reviewed #5087

@mr-cal mr-cal merged commit 6c18404 into hotfix/8.4 Oct 4, 2024
9 of 10 checks passed
@mr-cal mr-cal deleted the work/CRAFT-3259/snap-alias branch October 4, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants