Closed alsuren closed 3 years ago
Thanks for this. I was just waiting for octocrab to release https://github.com/XAMPPRocky/octocrab/pull/63 so that I could do apply this change to ubi.
I think this tool is a really good idea. I was a bit surprised at the default value for --in (maybe this could be configurable?), and the error messages when I'm missing --tag and --exe could be more helpful (maybe print some possible values?).
Please file an issue for the --in
bit (needs discussion) and a PR for the error messages.
I ended up making a very slightly different change based on some work I had already done locally. Thanks again for this. I wonder if there's a way to watch crates.io for releases so I could have watched for a new octocrab.
There's a 0.0.3 built with the updated deps.
Some of your dependencies are using tokio 0.2 and some are using 1.0. The things that are using 1.0 are panicking because they don't recognise the 0.2 runtime as a valid runtime. This is a royal pain, and hopefully it will go away once everyone is on 1.0 (though I wish tokio would just spawn a reactor on-demand like async-std does in this situation.
Errors look like this:
after this patch, I was able to do:
I think this tool is a really good idea. I was a bit surprised at the default value for
--in
(maybe this could be configurable?), and the error messages when I'm missing --tag and --exe could be more helpful (maybe print some possible values?). Otherwise, 10/10. Would install again 😀 .