-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Package Bash-it with a package manager #1819
Comments
My main platform at the moment is Ubuntu LTS. It's always waaaay behind official releases, so I would have to continue using a git version to stay current. But it might make sense for other distributions/package managers? |
You are considered in my opinion a power user, and power users should probably keep using our git, but regular users probably would prefer standard releases, and easier installations, using package managers |
It is indeed an interesting idea. I have never made a public package for any distro before and have no idea of what requirements the different package managers have. should be a fun project. 😄 |
I see the value and I've packaged a lot of stuff over the years. I can take a look at this some time, but I don't think I'll have free time until the summer. There will likely be a need for small changes, but this seems doable. |
Nice idea. I use archlinux and debian for work. I can make a release package that follow https://github.com/Bash-it/bash-it/releases. There is no package available for debian, it can be interesting to build it for sid. |
I don't know if this belongs here or a new issue. |
@buhl Not a bad suggestion, but I think we would use
Of course, this would need changes to However, for a system package, I'd go for somewhere like If you are talking about placing just the config into |
Wow @BarbUk, thats pretty cool!
I dont want the package creation to be a strain on you/me/anyone here, so I want to make the process as automated as possible, so we could easily distribute the package to our users 😄 Let me know what you think @BarbUk 😃 |
@NoahGorny I'd like to push that we use as agnostic a system as possible. I've used many build systems and abstractions over the years. I think for our use case, we're best off using I wish I had more time right now, but this is a low priority for me. |
First thing I want tested and answered: I think the way bash-it loads files will be a problem. In a lot of places we use relative loads, but this will require absolute, and the place activated components are loaded from will differ from Presumably, each user will want their own configuration, so maybe we'll need an install command that each user can use to setup their environment, or at the very least print documentation on how to do it themselves. I'm sure there are more questions I'm not thinking of, but the way I would go about discovering them is placing the code in |
Yes, that's true:
Any Bash-it code that works on the In my Bash-it fork, the https://github.com/nwinkler/bash-it/blob/8cc7f6c388260f3b178acf2baf58cb8eb1edd416/bash_it.sh#L14 I use this location for storing some config values related to the |
I feel like this issue is a major thing we should focus on, as this will have great value to our users and community. This is however quite complicated:
I tried to take a look at that, but got quite confused. I do not want to do more harm than good, so I am marking this as |
Some brainstorming from a comment I just left in #1865:
If we like the Of course, this would mean that profiles aren't so much imported as just parsed by |
Hi, It's been a while since I have been here. I have been a little unfaithful and have been flirting with nixos and home-manager which atm doesn't have a package for bash-it. |
Hi @buhl, glad to have you back 😄 |
hello guys! |
Bashit v3.0.3 is now available for Arch Linux users from AUR. https://aur.archlinux.org/packages/bash-it |
We should mention this on the |
I thought about it, and maybe we should start packaging Bash-it in various package managers.
Seems like something that can ease users the need to clone every time and so on.
I am unsure how much work it is, but seems to me like it is something that can be automated with github actions without too much effort.
Notable mention- we currently have a pretty weird way to update- we assume we cloned the project, and we run
git fetch
and things like that. If we use package managers, we should change ourupdate
function to check whether we have cloned the repo or not, and in case we did not, abort and notify the user they should updateBash-it
from their package manager.We also fixed the licensing problem, so with this out of the way, there really is no reason for us not to package Bash-it.
Lemme know what you guys think 😄 @cornfeedhobo @nwinkler @tbhaxor @davidpfarrell @revans @buhl @BarbUk
The text was updated successfully, but these errors were encountered: