You are not logged in.

#1 2017-04-11 19:26:34

silverhammermba
Wiki Maintainer
Registered: 2011-04-14
Posts: 156

[SOLVED] Programmatic way to detect that a VCS package can be updated?

Question is basically in the title. If I have the latest PKGBUILD for a VCS package installed on my system, what is a reliable way to figure out if an upstream update is available?

The only way I know to do it currently is to actually build the package, then pacman will warn if the package is up to date, but that is obviously very wasteful if no update is actually needed.

Ideally it would be nice if there were some makepkg options that just fetch the latest sources and run pkgver, but I can't find such a thing.

Last edited by silverhammermba (2017-04-11 19:35:12)

Offline

#2 2017-04-11 19:30:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Programmatic way to detect that a VCS package can be updated?

makepkg -o


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-04-11 19:35:00

silverhammermba
Wiki Maintainer
Registered: 2011-04-14
Posts: 156

Re: [SOLVED] Programmatic way to detect that a VCS package can be updated?

Wellll duh. Solved.

Offline

Board footer

Powered by FluxBB