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

create-track command #1901

Closed
lengau opened this issue Sep 13, 2024 · 4 comments · Fixed by #2024
Closed

create-track command #1901

lengau opened this issue Sep 13, 2024 · 4 comments · Fixed by #2024
Assignees
Labels
Enhancement New feature or request triaged

Comments

@lengau
Copy link
Collaborator

lengau commented Sep 13, 2024

What needs to get done

Allow the user to create a track on Charmhub that meets the guardrails using this endpoint:

https://api.staging.charmhub.io/docs/default.html#create_tracks

Why it needs to get done

User request: https://matrix.to/#/!GGqzbFAUQprdPgYYCM:ubuntu.com/$2rTS5bUb88C6KMC7npj-IOsifspe-scjNhCJKuYfKnA

@lengau lengau added Enhancement New feature or request triaged labels Sep 13, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3387.

This message was autogenerated

@addyess
Copy link
Contributor

addyess commented Sep 13, 2024

Thanks @lengau, some other details here.

It would be super nice if this could work in snapcraft too.

And even MORE exciting would be if i could use create tracks on a WHOLE BLOCK of things at once:

snapcraft create-track snap-a,snap-b,snap-c, ...snap-z --track 2.0
charmcraft create-track charm-a,charm-b,charm-c, ...charm-z --track 2.0

the current process is defined here
https://discourse.charmhub.io/t/how-to-create-a-track-for-your-charm/11102

I'll say the holy grail for this issue would be for the tools to just CREATE ON RELEASE if the track doesn't exist

snapcraft release my-snap 123 2.0/beta,latest/beta
charmcraft release my-charm --revision=123 --channel 2.0/beta --channel latest/beta

@addyess
Copy link
Contributor

addyess commented Dec 10, 2024

Hi, I'm still wishing this was a thing. Maybe 2025? Maybe a 2024 Christmas present?

@lengau
Copy link
Collaborator Author

lengau commented Dec 10, 2024

@addyess it's a Christmas miracle! This is on my pulse for this pulse and I'm actively working on it right now!

image

@lengau lengau self-assigned this Dec 11, 2024
@lengau lengau linked a pull request Dec 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants