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
User template repositories? #39900
Comments
Nothing changed from 2 years ago. |
I don't know if #19830 should count as a discussion, considering the author was speaking through a translator and was clearly upset by some brush with the Void Linux community...
Sure, but it's still useful to have some semblance of user repositories, especially when you think of all the juicy new contributors that could come from these user repositories. I thought we might discuss some hacks for user repositories, even if they aren't "officially" supported. For instance, after much contemplation, I came up with this, which (ab)uses
It was mentioned in the other issue that supporting multiple Unless I am convinced otherwise or have grossly underestimated how hard it would be to implement, I can maybe have a draft version of |
The supported way of having 3rd party packages is a branch with your changes on your fork, what are you trying to solve? |
Or you can use proper ways of installing software that's not supported on your distribution like docker or flatpak. |
I still feel like I was being misunderstood here, but however my suggestion was assimilated definitely sounds like a terrible idea. In any case, I've made xbps-src-framework which could help with bulk building custom packages from a variety of sources. There is a list of sources for custom packages in the README there as well. Thank you for your time! |
Something similar has been discussed before in #19830, but I thought I would bring it up again since it's been 2 years and I think it could be nice to have something like Gentoo's overlays or Arch's AUR (a central repository that is more "liberal" in what is accepted) or something for packages that cannot be accepted to the main repositories, such as
Right now, the ad-hoc way of building packages distributed outside of
void-packages
is to copy the templates into thesrcpkgs/
directory and building withxbps-src
from there. This is fine for managing a couple of externally distributed packages, but can quickly become a hassle. One could maybe write a script to help manage packages like this, but this is very error-prone.xbps-src
expects all symlinks in thesrcpkgs/
directory to be subpackages, so we can't just symlink packages intosrcpkgs/
or use a symlink farm manager like GNU Stow, which might otherwise be a slightly better ad-hoc solution.I also randomly tried to symlink to
xbps-src
and its dependencies from an external template repository, and it seems that it won't work without some patching. Copyingxbps-src
and its dependencies also doesn't seem to work without also copying a couple of packages fromvoid-packages/srcpkgs/
, such asxbps-triggers
andbase-files
, which isn't ideal.With all that said, I think it would be good to have a Void-endorsed way to create user template repositories/packages documented somewhere. It almost goes without saying that there are inherent security risks with using these user template repositories, and that should of course be documented as well. So, does there currently exist better way to create user repositories/packages, or must
xbps-src
be updated to support this?The text was updated successfully, but these errors were encountered: