Closed sarg3nt closed 1 year ago
Your process is correct. The cause of the empty output of the search command is the incompatible serde-yaml version which was incorrectly updated by the dependency bot.
The issue has been fixed in this commit, https://github.com/innobead/huber/commit/10fa35d29fcb17471c81d6619de05a142b31ad11. You can try it later. It should work.
BTW, I also update the K9s incorrect path as you mentioned, and also added ./hack/run-make-by-docker.sh
, so you don't need to have rust env but still be able to add/update packages.
@sarg3nt Thanks for your contribution :+1:
Hello, I'm trying to help contribute by fixing a couple broken packages and adding a couple others I find useful but am having issues getting
build generate
to succeed. First let me say that I'm not a rust developer, I'm a DevOps engineer that is finding huber very useful so I wanted to help support the project where I can. Since I don't have a rust development environment set up, I started by adding a VS Code Dev Container that I based on your Dockerfile.build.Note: Github does nto
As you can see from the above I set the following environment vars
and I have confirmed that
GITHUB_TOKEN
is populated with a general read only github token that is mapped inside of the dev container.I modified the
/crates/generator/src/pkg/k9s.rs
as there were two lines inartifact_templates
, the old URL format and the new one and I'm guessing that is making huber not install the bin file. Note: This may be a bug in Huber, that is an array so I'm guessing that the intent was to have two different URLs for transitions? In any case, it's not working and I thought the easiest way to fix it would be to get rid of the old invalid URL.I then ran
make generate
from inside of the dev container.Everything seems to build correctly but I get an error at the end and the
generated/packages/k9s.yaml
file is not modified. Here's the last few lines of output.Looks to me like the
generate-packages.md.sh
script is not getting anything passed to it.I ran
huber search
after settingMANAGED_PKG_ROOT_DIR
to what I think is the correct directory but the command gives no output:Both resulted in no output.
Questions:
make generate
is failing?