Re: Shortcut for grabbing latest version of every package from a directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux