I was using my own script to update and build certain libraries I was using but I’ve decided it’s probably easier to use the AUR PKBUILD. This PKGBUILD has a few other AUR PKGBUILD dependencies which are -git builds. From my understanding these builds pull in the latest commit and builds that, the PKGBUILDS of these don’t change very often.
So my question is what’s the best way to deal with these -git PKGBUILDS when it comes to updating? Is it best to just rebuild them every now and then with paru --rebuild library-git or is there a better way of handling updates for these PKGBUILDS?
–devel
During sysupgrade also check AUR development packages for updates. Currently only Git packages are supported.
Does this mean if it finds the branch was updated it will pull in new updates and rebuild the -git PKGBUILDS, because when I run paru -Syu --devel now it say it has nothing to do?
–devel
During sysupgrade also check AUR development packages for updates. Currently only Git packages are supported.
Devel checking is done using git ls-remote. The newest commit hash is compared against the hash at install time. This allows devel updates to be checked almost instantly and not require the original PKGBUILD to be downloaded.
I used the cachyos-repo.sh script to setup the CachyOS repos and it added the the v4 repos automatically for me. Quite odd that the v3 and v4 repos don’t seem to contain the same packages, you would think they would contain the same packages with just different cpu optimzations.
This looked handy @xircon, because I too use a number of -git packages and have to date manually updated them with something like:
yay -Q | grep git
yay -Syu somepackage-git somepackage-git somepackage-git
I ran the command you’d shared, anticipating a number of packages would need updating, but it returned:
there is nothing to do
Thinking that odd, I manually updated rawtherapee-git and sure enough, there were more recent commits to build against:
Package (1) Old Version New Version Net Change
rawtherapee-git 1:5.12.r1.g6e2a2091d-1 1:5.12.r8.g9f9b6ede8-1 0.00 MiB
Total Installed Size: 122.00 MiB
Net Upgrade Size: 0.00 MiB
Perhaps I’ve misunderstood what --devel references?
I take this to mean that the git format is the only thing supported in checking for upgrades/diffs (that is something hosted at gitlab, github, etc) .. the suffixes denotes package suffixes that may or may not align solely with -git.
While this would technically go against AUR packaging guidelines, an example may be something like -devel suffix for a package that is indeed a ‘git’ package.