innobead / huber

Huber 📦, Package Install Manager for GitHub repos
Apache License 2.0
188 stars 15 forks source link

lsd not installing #127

Closed sarg3nt closed 10 months ago

sarg3nt commented 1 year ago

Describe the bug

The package lsd is not installing. I've checked the generated yaml file and it looks fine. I've even tried using my own huber.yml file which we use for some other apps and adding it there but still does not install.

NOTE: When an app fails to install, i.e. there are no binaries extracted and installed, huber acts as if it is installed. It should check that something got installed and if not return a non 0 exit code so automation scripts can fail as they should.

To Reproduce

huber install lsd Notice nothing is installed.

Expected behavior

lsd should be installed.

Environment

JuanmaDevG commented 10 months ago

Whenever I try to add arepository like this:

huber repo add neovim --url https://github.com/neovim/neovim

huber install neovim

I get the following error:

error: reqwest::Error { kind: Status(404), url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("raw.githubusercontent.com")), port: None, path: "/neovim/neovim/master/huber.yaml", query: None, fragment: None } }

Do I need to create a huber.yaml file that locates the release dependencies?

innobead commented 10 months ago

This has been resolved in https://github.com/innobead/huber/pull/130

innobead commented 10 months ago
error: reqwest::Error { kind: Status(404), url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("raw.githubusercontent.com")), port: None, path: "/neovim/neovim/master/huber.yaml", query: None, fragment: None } }

Do I need to create a huber.yaml file that locates the release dependencies?

Exactly, this is the way for remote repo support in Huber.