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(models/project): make no parts error explicit #2073

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Conversation

lengau
Copy link
Collaborator

@lengau lengau commented Jan 13, 2025

There were previously edge cases where a platform charm could be declared but the lack of a parts key wouldn't be caught. This now enforces at least one part.

Fixes #2055
CRAFT-3851

@lengau lengau force-pushed the work/2055/CRAFT-3851 branch 3 times, most recently from 67faf7d to b222b6f Compare January 13, 2025 19:54
There were previously edge cases where a platform charm could be
declared but the lack of a `parts` key wouldn't be caught. This now
enforces at least one part.
@lengau lengau force-pushed the work/2055/CRAFT-3851 branch from b222b6f to f47eb10 Compare January 13, 2025 19:56
@lengau lengau requested review from mr-cal and bepri January 13, 2025 19:56
@lengau lengau marked this pull request as ready for review January 13, 2025 19:57
@lengau
Copy link
Collaborator Author

lengau commented Jan 13, 2025

macos failure is: actions/runner-images#11370

I'll re-run those tests when I can.

@lengau lengau merged commit a93a2d9 into main Jan 14, 2025
19 of 20 checks passed
@lengau lengau deleted the work/2055/CRAFT-3851 branch January 14, 2025 18:03
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.

no hooks nor dispatch file after packing
3 participants