Re: Repository of repositories without submodules?
From: Manuel Reimer <hidden>
Date: 2021-01-16 17:13:52
On 16.01.21 11:39, Chuck Ricketts wrote:
I am cross-compiling many Arch packages with small changes made locally in order to better suit a cross-compiling environment. That being said, I've got a directory of single-directory git repos that I would like to publish my changes to.
Seems like the common "several directory GIT" case caused by the fact that AUR organizes all PKGBUILDs in separate repos. For me "git subtree" works great for this case: https://github.com/M-Reimer/PKGBUILDs or https://github.com/M-Reimer/wine-lol See the "pkg.sh" file which, to be honest, isn't even from me. I just adapted it slightly to my use case. Original came from here: https://github.com/yuvadm/archlinux-packages/blob/master/pkg.sh Every single PKGBUILD is its own "subtree" which can be pushed separately to AUR if I want to. Pushing this subtree makes GIT somehow "automagically" figure out a proper commit history for this subdirectory and push this to the external repo. Manuel