-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support devbox #27543
Comments
New package manager questionnaireDid you read our documentation on adding a package manager?
BasicsWhat's the name of the package manager?I'm not sure I understand this question. Devbox is built in Go but it also utilizes What language(s) does this package manager support?nix How popular is this package manager?Hard to judge, but with 7k stars on GitHub I think It's fairly popular and I think it will only gain popularity as it's approach is quiet unique from existing container-based solutions. Does this language have other (competing?) package managers?
What are the big selling points for this package manager?Unlike container based developer environments, the usage of Detecting package filesWhat kind of package files, and names, does this package manager use?
Which
|
Just a heads up, devbox is not using vanilla You can see this here: https://github.com/jetify-com/devbox/blob/815ff115fe43fffc6666b34347b28a996a7ffb48/internal/devconfig/configfile/ast.go#L34-L36 Link to hujson: https://github.com/tailscale/hujson |
Discussed in #27316
Originally posted by nieomylnieja February 15, 2024
Tell us more.
Devbox is a tool for creating isolated dev environments built on top of nix.
It is configured with JSON, a sample config file looks like this:
The exact version of packages is stored in devbox.lock.json file:
The packages are updated with
devbox update
command according to constraints specified indevbox.json
, for instance[email protected]
will not be updated to Go 1.23 but to the latest 1.22 minor/patch version.Latest will always update to the latest, major including.
Thre's an API we could use which queries https://www.nixhub.io/, example:
curl 'https://www.nixhub.io/search?q=go&_data=routes%2F_nixhub.search'
Although that would require writing custom logic around resolving the package version constraints, ideally we would simply call
devbox update
, but I'm not sure If that's a possibility with Renovate --> calling external programs.Ref: jetify-com/devbox#1175.
The text was updated successfully, but these errors were encountered: