Use git ls-remote to speed-up "-Syu --devel"
pikaur -Vq
Pikaur v1.6.17
Pacman v5.2.2 - libalpm v12.0.2 - pyalpm v0.9.2
Description:
Currently, pikaur -Syu --devel reinstalls all "-git" packages. Could you improve the option --devel so that the git packages are only updated if the remote repository gets a new commit? Take a look at this excerpt of paru's man page. yay and paru already have it.
--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.
The slower pacaur-like devel checks can be implemented manually by piping a list of packages into paru (see examples).
I would really appreciate this update as this is the last minor issue that holds me back from switching completely to pikaur. I like this project more and as it is one of the few AUR helpers that do testing. yay and paru literally have no testing at all.
Hey now. Yay has tests and the components that make up paru have tests :p
I did not expect that you are everywhere.😁 The issue I opened today on your project was fixed quite fast. I just installed "paru-git" and tested it out.
i guess you're looking for this one? https://github.com/actionless/pikaur#how-to-upgrade-all-the-dev--git-packages-at-once
@Morganamilo this flag combination also covered in units
@actionless I just tested your proposal and it works. Nevertheless, this method still downloads the source code and compares the just downloaded repo with the local installation which takes some time depending on the bandwidth and amount of packages.
yay and paru do it much faster with git ls-remote. It would be great if pikaur could do it too.
PRs are welcome, although i would re-label it as an performance improvement, not a feature request
however, if you gonna implement that one, please keep in mind what not all the --devel packages supported by pikaur are only -git