-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add git version resolver for local go-install modules (#4)
* add git resolver + early fixes Signed-off-by: Alex Goodman <[email protected]> * use git version resolver for go-install local modules Signed-off-by: Alex Goodman <[email protected]> * improve the bootstrapping experience a bit Signed-off-by: Alex Goodman <[email protected]> * add a little more verbosity for ci bootstrapping Signed-off-by: Alex Goodman <[email protected]> --------- Signed-off-by: Alex Goodman <[email protected]>
- Loading branch information
Showing
16 changed files
with
377 additions
and
31 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 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 |
---|---|---|
@@ -1,2 +1,48 @@ | ||
# binny | ||
manage a directory of binaries without a package manager | ||
|
||
Manage a directory of binaries without a package manager. | ||
|
||
## Installation | ||
|
||
```bash | ||
curl -sSfL https://raw.githubusercontent.com/anchore/binny/main/install.sh | sh -s -- -b /usr/local/bin | ||
``` | ||
|
||
... or, you can specify a release version and destination directory for the installation: | ||
|
||
```bash | ||
curl -sSfL https://raw.githubusercontent.com/anchore/binny/main/install.sh | sh -s -- -b <DESTINATION_DIR> <RELEASE_VERSION> | ||
``` | ||
|
||
## Usage | ||
|
||
Keep a configuration in your repo with the binaries you want to manage. For example: | ||
```yaml | ||
# .binny.yaml | ||
- name: gh | ||
version: | ||
want: v2.33.0 | ||
method: github-release | ||
with: | ||
repo: cli/cli | ||
|
||
- name: quill | ||
version: | ||
want: v0.4.1 | ||
method: github-release | ||
with: | ||
repo: anchore/quill | ||
|
||
- name: chronicle | ||
version: | ||
want: v0.7.0 | ||
method: github-release | ||
with: | ||
repo: anchore/chronicle | ||
``` | ||
Then you can run: | ||
- `benny install` to install all binaries in the configuration | ||
- `benny install <name>` to install a specific binary | ||
- `benny check` to verify all configured binaries are installed | ||
- `benny update-lock` to update any pinned versions in the configuration with the latest available versions |
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 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
Oops, something went wrong.