Re: A tool to list package deps sorted by buildtime?

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

 



On Wed, 2011-01-26 at 08:52 -0500, seth vidal wrote:
> On Wed, 2011-01-26 at 08:36 -0500, seth vidal wrote:
> > On Wed, 2011-01-26 at 12:52 +0100, Michael Schwendt wrote:
> > > Scenario:
> > > 
> > > Assume I have package "foo". It's installed already, and the local RPM
> > > database covers it and all its dependencies.
> > > 
> > > App "foo" used to run fine a month ago, but a rebuild no longer does.
> > > Dependencies have been updated. Too many for "rpm -qa --last|less" or
> > > yum's log to be helpful.
> > > 
> > > I'd like to run an RPM query on "foo" that displays the %{buildtime}
> > > for all of foo's Requires, sorted by buildtime.
> > > 
> > > Does anyone know of an existing tool that can do exactly this already?
> > > Or a script that achieves the same on top of an ordinary rpm --qf ... query?
> > 
> > 
> > I just want to make sure I have this:
> > 
> > 1. rpm -qR foo
> > 
> > 2. take each of those resolve it out to what provides them
> > 3. return the buildtime + pkg name of each of those, sorted by buildtime
> > 
> > correct?
> 
> If this is what you want then try:
> 
> http://skvidal.fedorapeople.org/misc/sort-req-by-buildtime.py
> 
> it'll be pretty simple to modify.

oh and  
 |sort -k2 


to sort by buildtime

-sv


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[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