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

feat(charmcraft): get cos-tool directly #266

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lengau
Copy link

@lengau lengau commented Mar 5, 2025

Issue

The charmcraft.yaml file unnecessarily installs and uses curl rather than using the dump plugin directly

Solution

This grabs the cos-tool release directly into the dump plugin rather than installing curl and using that. The net effect should be the same.

Context

I guess my specialised knowledge is the details about how parts work.

Testing Instructions

Ensure that cos-tool-* in the charm still has the same permissions (looks like it to me):
image

Upgrade Notes

n/a

This grabs the `cos-tool` release directly into the dump plugin
rather than installing curl and using that. The net effect should
be the same.
@lengau lengau requested a review from a team as a code owner March 5, 2025 01:13
@@ -29,7 +29,7 @@ parts:
# Install PyYAML from binary and avoid building it from sources. This way, we can use PyYAML with C-optimized lib.
# With the C-optimized lib, serialization in ops is 20x faster.
- PyYAML
- cryptography
- cryptography==44.0.1
Copy link
Author

Choose a reason for hiding this comment

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

This is a workaround to make the build work without re-syncing uv. It is obviated by #265 or can be separately fixed.

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.

1 participant