-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Missing support for various formats (with examples) #205
Comments
Hey @sandreas! I'm very happy you like I just published a new release 0.5.4 which fixes some of these problems:
Unfortunately, you will still have issues installing btop, jq and pandoc. btop & pandocIf you try the command now, it will work, but it will extract This is because Same issue for jqThis is not supported yet, need some development. Both of these issues are in my backlog, I just need some time to work on it (not sure when though). As a workaround you could do something like this: dra download -a -o btop.tbz aristocratos/btop
tar xjf btop.tbz
mv btop/bin/btop "$HOME/bin" I will keep this issue open, and update you when these issues will be fixed! |
I just realized that you can install You just need to download, make executable and move somewhere in dra download -a -o "$HOME/bin/jq" jqlang/jq
chmod +x "$HOME/bin/jq" I actually do this for various tool in my dotfiles:
This got my thinking that I should add some examples in the README.md with some of these cases |
Awesome, thank you!
Maybe it would be cool to have a flag
I'd still prefer using I also would love to have a
Maybe it would be cool to extend this to [rga]
id = "phiresky/ripgrep-all"
name = "rga"
description = "ripgrep-all, grep for PDF"
type = "binary" # script, appimage, whatever
path = "/rga" Thank you for taking the time :-) |
Yet another problem with |
No problem, I'll add I'm working on the issues regarding btop/pandoc and similar archives |
Could the following workflow would be more robust?:
Maybe a (future) enum parameter Thanks for putting work in. |
Thank you for your interest in improving I have a working version in the branch install-v2 if you want to try it (See CONTRIBUTING.md) I changed the rules on how
In case there are too many executables, you can select which one to install by passing the name to It's still very work in progress, things may change in the next days |
This won't work for |
I have an idea to fix this. I was thinking it was a tar archive compressed with bz2 but it's just a file compressed with bz2. I can treat this files differently than archives:
This needs some work, but it should be quite easy. |
Sounds reasonable... not as robust, but if it is easier to implement, go for it :-) Thanks. |
Hi @sandreas! I just pre-released 0.5.5-beta which you can download and try out. In the CHANGELOG/Release notes, you should be able to find the needed information on how to use the new features. It's a pre-release because I don't have time to finish everything, but in the meantime I can collect your feedback 😄 Let me know if it works fine or you encounter some issues! |
I will test this tomorrow. Thanks. |
So here is my report for 0.5.5-beta:
So everything worked but Thanks for fixing the most of it so quick. |
For The new option I forgot to include this part in the error message, but I will do before the release. For |
Can it handle cases like yazi, that has 2 binaries? |
You have to handle it manually. I can see there are two executables:
If you need both, you can do: dra download -a -i sxyazi/yazi
# this will install the default executable yazi
dra download -a -I ya sxyazi/yazi
# this will install executable you choose to install |
You mean I shuld do 2 commands, right? this was my question, if the -I allowed for a |
Yes two commands. I could make -I accept multiple values...I'll think about it |
Hi everyone! Quick update: in the next few days I will do a new release with all the improvements discussed in this issue. You'll also be able to install binaries like jq. I need to write documentation, but most work is already done. |
New release 0.6.0 is out! If you have any problems, don't hesitate to create a new issue 😄 |
Hey,
thanks for creating this, great tool. I use
dra
to install my monolithic tools into$HOME/bin/
. To do so, I maintain a list of tools in a txt files that are installed automatically.Reducing my installer script by using
dra
worked pretty well with the following exceptions:Maybe you could take a look? Thank you.
The text was updated successfully, but these errors were encountered: