I've been running a 'testing' repo for the next release of my custom spin (OLPC XS). It's accumulated a number of interim 'testing' packages, which I rather not publish in the 'stable' repo. I just want to migrate the latest of each package tothe stable repo.
I am about to script it, but if there's any existing utility that is friendly to bash scripting... would be nice to know.
(related - what's the canonical way to compare NVR in bash?)
cheers,
m
On Tue, 2009-01-20 at 12:07 -0500, Martin Langhoff wrote:
I've been running a 'testing' repo for the next release of my custom spin (OLPC XS). It's accumulated a number of interim 'testing' packages, which I rather not publish in the 'stable' repo. I just want to migrate the latest of each package tothe stable repo.
I am about to script it, but if there's any existing utility that is friendly to bash scripting... would be nice to know.
(related - what's the canonical way to compare NVR in bash?)
you want to get all the latest versions of all pkgs from a dir listed? run repomanage
repomanage -n -k 1 /path
and evr comparisons can be done via rpmdev-vercmp
-sv