anchore / anchore/binny

Templated URL installs

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
57
Forks
10
Avg merge
5d 9h
Merged PRs (30d)
7

Description

In the case that binaries exist but are not hosted on Github releases, such as Helm, it might require downloading an archive and extracting a binary asset from the archive. By default, if there is a single binary, Binny could detect this and extract it to a file with the given `name`. An example might look something like this:

```
- name: helm
version:
want: v3.15.3
method: archive
with:
url: "https://get.helm.sh/helm-{{.Version}}-{{.Platform}}.{{.Extension}}"
overrides:
arm64:
Platform: aarch64
win32:
Extension: zip
```

Coupled with https://github.com/anchore/binny/issues/28, this would provide a lot of flexibility to support more tools.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing Binny's existing installation methods and how platform and version values are represented. Use the issue's Helm URL template, archive method, and overrides as the target behavior; done means a configured URL can be rendered, an archive downloaded, and its single binary extracted under the requested name across the shown platform variants.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.