-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare for submission to AUR #73
Comments
Way too many people asked me to put this on AUR so I will look into it soon. |
any progress on this? |
It seems that the current installation consists on installing resh and its configuration files to the home directory of the current user, and it also needs to modify zshrc. This is not what a package should do, so it's not an easy task. I would say that it is not worth the hassle since you can easily install resh with just a command in any distro, anyway. |
You can give the user a notice to run a script, that will modify zshrc, after installation. |
Or you can just add |
No, it's not easier. Updating packages by adding commands to zshrc is an ugly hack. It slows down shell startup and needlessly hammers servers. There's a reason people developed package managers. |
Yes it is. It's not efficient, but easy =/= efficient.
You just discovered how self-updated applications and update software centres work.
And that reason is not to ask the user to run a install script. If you only concern is to update along the rest of the system, just run |
You need to modify zshrc to use any zsh plugin, even from the repos or AUR. So it's not an "install script". |
Sorry about the long silence, I was busy graduating during the past few months. I do think that the current way to update is fairly convenient but it is definitely not ideal. Installation using a package manager is superior (mainly because of the ability to conveniently update all software at the same time). Because of that, I want to support it eventually. That said it's not very easy to package RESH because of the necessary integration with user's shell. This is why I haven't gotten around to publish RESH to AUR yet. There are multiple connected issues that make a lot of sense to solve before (or at the same time as) packaging. Specifically, I would like to move the RESH installation outside of the user's HOME. (This is important because system package manager shouldn't install things into user's HOME) And before doing that, I need to create some automatised tests to make sure that I'm not breaking things as I make changes to the RESH install process. I know this is probably not what you wanted to hear. I hope you understand that I don't want to hack together a submission to AUR that will randomly fail in the future. I wish I could give you a more specific timeframe. I haven't forgotten about AUR and I haven't changed my mind. For the past few months I have been working on the core functionality of RESH. Now I want to make it more stable and publishing RESH to AUR is a part of that. Thank you for your patience. TL;DR Publishing to AUR is still on my radar but it makes more sense to do it a bit later as a part of other changes |
Small update to this issue. No promises but in upcoming release (#184) Resh files got more organised so it should be easier to release it to AUR, Homebrew, etc. I just want things to be well thought out so that supporting different installation ways doesn't come with a lot of bugs and too much maintainance effort. |
https://wiki.archlinux.org/index.php/AUR_submission_guidelines
The text was updated successfully, but these errors were encountered: