keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

--devel doesn't appear to do anything #143

Open a-m-s opened 8 years ago

a-m-s commented 8 years ago

I tried this:

packer -Suy --auronly --devel

Which the --help documentation suggests would update all my *-git packages, but nothing happens.

The only way I can find to update VCS packages, where the maintainer has not bumped the pkgver, is to list them individually, by name.

gavinhungry commented 7 years ago

This is because packer only looks for variables being defined in the PKGBUILD properties _gitroot, _svntrunk, etc. For Git packages at least, makepkg can understand git in a source property, so _gitroot is no longer required, and packer doesn't see it as a Git package anymore.

I've fixed this in my packer fork: https://github.com/gavinhungry/packer/commit/544f16370a8ab928cc502f47cb41fbfe82b38779

In addition to checking for _gitroot, all packages with names that end in -git (a convention only, but one that is followed well and possibly even enforced) are included with --devel.