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

Flask extension. Allow charm-libs to be extended by the user #1718

Merged

Conversation

javierdelapuente
Copy link
Contributor

@javierdelapuente javierdelapuente commented Jul 4, 2024

As pointed by @mr-cal in #1691 (review), the Flask extension fails when a charm-libs is already defined in a charmcraft.yaml, with a not very clear message because of an AttributeError exception.

This PR allows having a charm-libs in the original charmcraft.yaml, and will combine both charm-libs lists (if there are duplicated elements they will be only downloaded once).

@javierdelapuente javierdelapuente marked this pull request as draft July 4, 2024 07:37
@javierdelapuente javierdelapuente force-pushed the fix-charm-libs-merging-extension branch from 07d3500 to 05f51ea Compare July 4, 2024 07:38
@javierdelapuente javierdelapuente marked this pull request as ready for review July 4, 2024 08:57
@javierdelapuente
Copy link
Contributor Author

javierdelapuente commented Jul 12, 2024

Hi @lengau can you have a look at this PR. It addresses the issue pointed in #1691 (review). Thank you!

@lengau lengau requested a review from a team July 16, 2024 19:45
@lengau
Copy link
Collaborator

lengau commented Jul 16, 2024

Looks good to me, thanks!

@lengau lengau enabled auto-merge July 16, 2024 20:27
@lengau lengau added this pull request to the merge queue Jul 16, 2024
Merged via the queue into canonical:main with commit 4ff7cee Jul 16, 2024
17 checks passed
@javierdelapuente javierdelapuente deleted the fix-charm-libs-merging-extension branch August 7, 2024 15:35
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