devops-works/binenv

custom distribution.yaml file to be included locally

xinity opened this issue ยท 4 comments

hey there,

it's an awesome project i've discovered here, hoping it will leave for a long time onward :)

i've been wondering if there is a possibility to create our own distribution.yaml file and have it "included" in the default one ?

something like:

if custom-distribution.yaml exist
then
include custom-distribution.yaml 

that would be so freaking cool :)

keep up the awesome work anyway !

@xinity this is now on the develop branch if you want to try it out ;)

You can add a .yaml file in ~/.config/binenv with your custom sources. Note that files are evaluated in lexicographical order, so if a key if defined in aaa.yaml and then in distributions.yml, the value defined in aaa.yaml will be overriden by the one in distribution.yaml.

Will merge and release soon.

Sorry for the wait.

Kowabonga!!!!!

released in v0.20.0 ๐ŸŽ‰
(also included: implementation for binenv local ...)

FTR latest binenv release lets you use a token to fetch releases from private repos (GitHub only for now)

See https://github.com/devops-works/binenv?tab=readme-ov-file#using-custom-distributions-file-and-private-gitlab-repos for more info.