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(expand-extensions): use the Application's project #5106

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lengau
Copy link
Contributor

@lengau lengau commented Oct 9, 2024

Fixes LP bug https://bugs.launchpad.net/snapcraft/+bug/2083964

Instead of parsing the project again itself, expand-extensions now uses the project provided by the application. The output is changed slightly, but I believe it reflects a more accurate expansion.

  • 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)

@lengau lengau requested a review from mr-cal October 9, 2024 23:31
Fixes LP bug https://bugs.launchpad.net/snapcraft/+bug/2083964

Instead of parsing the project again itself, expand-extensions now uses
the project provided by the application. The output is changed slightly,
but I believe it reflects a more accurate expansion.
Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

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

I had been putting off this review because it was in draft, but this is the correct fix and looks ready-to-rock.

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.

2 participants