Support devbox #27316
Replies: 4 comments
-
Hi there, You're asking us to support a new package manager. We need to know some basic information about this package manager first. Please copy/paste the new package manager questionnaire, and fill it out in full. Once the questionnaire is filled out we'll decide if we want to support this new manager. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @secustor! |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions