Open secustor opened 8 months ago
Did you read our documentation on adding a package manager?
I'm not sure I understand this question. Devbox is built in Go but it also utilizes nix
ecosystem.
nix
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.
Unlike container based developer environments, the usage of nix
allows seamless integration with directly inside the developers' shell. Developers get to keep all their tools and workflows with Devbox environment sitting on top, instead of a new, more isolated environment container based solutions offer. This makes developing much more enjoyable and easier.
devbox.json
--> main configuration filedevbox.lock.json
--> lockfilefileMatch
pattern(s) should Renovate use?See above
fileMatch
pattern for custom file names?--config
flag.fileMatch
pattern going to get many "false hits" for files that have nothing to do with package management?That's very unlikely.
No.
Currently there's no way to combine many devbox files. So this shouldn't be an issue.
Not sure If I understand what "off the shelf" means, but if it refers to JS builtin supported encodings, then yes (JSON module).
<PKG_NAME>@<VERSION>
Version will be semver with either MAJOR, MINOR or PATCH precision and a special case latest
keyword.
If the current Go version is 1.22.2, the following versions will likely resolve to it:
go@latest
go@1.22.2
go@1.22
go@1
The exact version is defined and updated inside the lockfile.
^1.0.0
or 1.x
?^1.0.0
or 1.x
), provide details.v3.x
), provide details.devbox update
Purely for updates, I don' think we need to use cache at all.
Renovate can perform "lock file maintenance" by getting the package manager to generate a lockfile from scratch. Can the package manager generate a lockfile from scratch?
devbox update
and that's itJust a heads up, devbox is not using vanilla json
but rather hujson
.
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 https://github.com/renovatebot/renovate/discussions/27316