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

extensions: plugin aware part_snippet values #4271

Merged
merged 1 commit into from Jul 12, 2023

Conversation

sergiusens
Copy link
Collaborator

Extend the API to take a plugin_name, for legacy do the same, but as an optional method in the base class.

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

@sergiusens sergiusens force-pushed the work/CRAFT-1863-part-pluing-aware-extensions branch from 25fb027 to 08ec500 Compare July 12, 2023 01:31
@mr-cal
Copy link
Collaborator

mr-cal commented Jul 12, 2023

LGTM. Looks like some of the unit tests need to be updated too.

Extend the API to take a plugin_name, for legacy do the same, but as
an optional method in the base class.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
@sergiusens sergiusens force-pushed the work/CRAFT-1863-part-pluing-aware-extensions branch from 08ec500 to 2a58620 Compare July 12, 2023 18:31
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2023

Codecov Report

Merging #4271 (2a58620) into main (7c80a05) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #4271      +/-   ##
==========================================
- Coverage   88.98%   88.96%   -0.02%     
==========================================
  Files         296      295       -1     
  Lines       20192    20153      -39     
==========================================
- Hits        17967    17930      -37     
+ Misses       2225     2223       -2     
Impacted Files Coverage Δ
snapcraft/extensions/_utils.py 98.33% <100.00%> (ø)
snapcraft/extensions/extension.py 100.00% <100.00%> (ø)
snapcraft/extensions/gnome.py 100.00% <100.00%> (ø)
snapcraft/extensions/kde_neon.py 100.00% <100.00%> (ø)
snapcraft/extensions/ros2_humble.py 96.96% <100.00%> (ø)
.../internal/project_loader/_extensions/_extension.py 100.00% <100.00%> (ø)
...gacy/internal/project_loader/_extensions/_utils.py 95.91% <100.00%> (ø)

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sergiusens sergiusens merged commit 4c6b1fd into main Jul 12, 2023
13 checks passed
@sergiusens
Copy link
Collaborator Author

Fixed #4255

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.

None yet

3 participants