-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from helsing-ai/mara/nix
Nix Integration
- Loading branch information
Showing
44 changed files
with
738 additions
and
536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## buffrs lock print-files | ||
|
||
Prints the locked files as JSON to stdout. | ||
|
||
### Synopsis | ||
|
||
`buffrs lock print-files` | ||
|
||
### Description | ||
|
||
> Note: This command is designed for consumption through other scripts and | ||
> programs. | ||
Using this command you can retrieve a list of files that buffrs downloads | ||
according to the lockfile. For correct behavior please make sure your | ||
`Proto.lock` is up to date when using this command! | ||
|
||
### Example | ||
|
||
Given a project that depends on a `physics` package at version `1.0.0` and a | ||
populated `Proto.lock`: | ||
|
||
``` | ||
``` | ||
|
||
Running `buffrs lock print-files` will print the following output derived from | ||
the lockfile: | ||
|
||
``` | ||
[ | ||
{ | ||
"url": "https://your.internal.registry/artifactory/your-repository/physics/physics-1.0.0.tgz", | ||
"digest": "sha256:61ecdcd949c7b234160dc5aacb4546a21512de4ff8ea85f2fdd7d5fff2bf92b5" | ||
} | ||
] | ||
``` | ||
|
||
This way you can programmatically consume this (e.g. in nix, bash, etc) and | ||
download the files if your project while maintaining integrity. |
Oops, something went wrong.