eli-schwartz / aurpublish

PKGBUILD management framework for the Arch User Repository
GNU General Public License v2.0
246 stars 18 forks source link

[Question] Can this support PKGBUILDs from Arch packages? #32

Open rieje opened 1 month ago

rieje commented 1 month ago

I stumbled across this tool from this thread as I was looking for a way to manage PKGBUILDs. I was wondering if there's anything AUR-specific to this tool such that it can't be used for PKGBUILDs used to build Arch packages from the official repositories. Besides PKGBUILDs from the AUR, I have also modified PKGBUILDs that were used to build Arch packages and I would like to manage those as well.

I suppose these modified PKGBUILDs are no different than those hosted in the AUR, although I don't intend to host them on the AUR because they are too personalized.

If not, what do you suggest?

Thanks!

alerque commented 1 month ago

It can but why would you? The tooling in devtools, aka pkgctl is much more robust. The only thing pkgctl doesn't handle is the subtree management and pushing to split repos.. If you don't need that for the AUR then there isn't a lot of point to aurpublish.

rieje commented 1 month ago

Subtree management is why I'm interested in aurpublish. The --url option lets one push to a private server but the -p option looks like it only supports the AUR as the source to pull from. Would an option to support a different source like retrieving PKGBUILDs used to build official Arch packages like https://gitlab.archlinux.org/archlinux/packaging/packages/pkgname.git be appropriate?

I'm not sure I need any features from pktctl with this tool. To me it seems like aurpublish can be more like a pkgbuildpublish and support e.g.https://gitlab.archlinux.org/archlinux/packaging/packages/pkgname.git (official PKGBUILD for pkgname from the official Arch repo. Correct me if I'm wrong but it looks like I need to treat this PKGBUILD manually, i.e. git clone https://gitlab.archlinux.org/archlinux/packaging/packages/pkgname.git and then manually add it to the subtree, unless aurpublish supports this.


EDIT: I'm now using myrepos to manage multiple repositories and it's been great.