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: configure icon for snaps without apps #4950

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

mr-cal
Copy link
Collaborator

@mr-cal mr-cal commented Aug 1, 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)

Always configure and install icons for snaps even if they do not have any apps defined in their snapcraft.yaml file.

This looks like a regression introduced in core22 here based on this legacy code.

Fixes #4936
(CRAFT-3189)

@mr-cal mr-cal requested a review from cmatsuoka August 1, 2024 20:04
@mr-cal
Copy link
Collaborator Author

mr-cal commented Aug 5, 2024

This needs to be retargeted onto hotfix/7, which requires some maintenance: #4954

Copy link
Contributor

@cmatsuoka cmatsuoka left a comment

Choose a reason for hiding this comment

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

Implementation looks good, assuming that the path changes reflect the correct final location for the icon assets.

tests/unit/parts/test_setup_assets.py Show resolved Hide resolved
@mr-cal mr-cal changed the base branch from hotfix/8.3 to hotfix/7.5 August 14, 2024 20:48
@mr-cal mr-cal closed this Aug 14, 2024
@mr-cal mr-cal reopened this Aug 14, 2024
Always configure and install icons for snaps even if they do not have
any `apps` defined in their `snapcraft.yaml` file.

Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@mr-cal mr-cal merged commit c9d9cc2 into hotfix/7.5 Aug 15, 2024
12 of 13 checks passed
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.

3 participants