juhp / koji-tool

Koji buildsystem CLI tool to query tasks, install build rpms, and check buildlog sizes
https://hackage.haskell.org/package/koji-tool
Other
11 stars 0 forks source link

Add --yes option #2

Closed an-dr-eas-k closed 2 years ago

an-dr-eas-k commented 2 years ago

I'd like to suggest a -y argument to the install command that answers all questions with y to automate the process.

At the moment I install packages one by one with

echo "y" | koji-tool install buildah 
echo "y" | koji-tool install podman 
juhp commented 2 years ago

Thanks Andreas, for the suggestion

Have you tried the --all option? How does it behave for this?

an-dr-eas-k commented 2 years ago

Thanks for answering. Just tried. It does ask to install.

First,

I'd see the solution in forwarding the -y to dnf.

Regards!

juhp commented 2 years ago

Ah I see thanks - you don't even want to say yes to dnf, right got it.

I just pushed an implementation, if you want to try it first. Otherwise I will go ahead with releasing 0.8.1 soon.

juhp commented 2 years ago

I went ahead and released this as part of 0.8.1, but do let me know if it works okay for you.

an-dr-eas-k commented 2 years ago

Thank you very much. I just changed my build and it is working great! For me, the handling now is much more convenient.

juhp commented 2 years ago

Great to hear, thanks for the suggestion and for testing. If you notice any more things, let me know