-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rewrite the micromamba Feature #3
Conversation
In preparation for offering wget as an alternative
@eitsupi, what do you think of the changes I'm proposing here? Do they conform with the standard? Are they a good idea? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, looks awesome!
There are some comments.
And, could you increment the version number to 0.1.0
?
https://github.com/eitsupi/mamba-devcontainer-features/blob/12349ea7a31cba62e9a7b28392e51a0b4acc688d/src/micromamba/devcontainer-feature.json#L4
Also, could you do package installs using micromamba in the tests?
I added tests for the Regarding the soft version matching, I opened mamba-org/mamba#2164. I think it would be easy to implement it there, if they make it open. |
Good point. Unfortunately, at the moment there is no way to do it! As far as I know, there are currently no Features that be managed releases by tags, and once devcontainers/action#112 is merged and GitHub Actions does this, management by tags will become commonplace....... If this is wanted now, the maintainer can manually push the tags after the release, since the release workflow is executed manually. |
Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com>
That looks great! Can we anticipate the format of the tags? From this line const tag = `${type}_${id}_v${version}`; it's not clear to me what are |
Based on the following line, it would be something like However, this is not finalized, so it is better to use this for now and push the tag again with the new format if the format changes. |
For testing purposes, I made a release in my fork: "features": {
"ghcr.io/maresb/mamba-devcontainer-features/micromamba:latest": {
"channels": "conda-forge,defaults"
}
} When you're satisfied with all the changes, could we merge this PR and then do the release in a separate commit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your excellent insight and lots of work made this Feature great!
I would like to make one minor update and merge it.
Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com>
Yes, thank you so much for your patience and for teaching me so many things! I have learned a lot from you in this PR. |
Thanks for the PR this has been really great, so let me know if you want to transfer to this repo to mamba-org. |
I think this is a good idea, so I will propose this on Gitter in mamba-org. But in order that people can evaluate it, could you make a package under this repo? |
Of course. |
Got it! Shall I merge and release right now? |
Yes, please try it! |
I have proposed this in Gitter: https://gitter.im/mamba-org/Lobby?at=6399afca8bdea01368b61508 |
Hi @eitsupi, I'm really sorry it took me so long to review this.
Could you please take a look at my comments when you get the chance? (I made them inline in the script.)
Thanks so much for your patience.