On Sat, 2003-06-14 at 13:57, Rafael Cordones Marcos wrote: > Hi, > > I want to improve the current script that generates the Portage Watch section > in GWN. The two problems I am focusing right now are: > > 1.- Listing the USE variables that were added or removed since a given date. > > I have been looking around Portage but I cannot find any ChangeLog where I can > get this info. A /usr/portage/profiles/use.desc ChangeLog would be perfect! > 2.- Differentiating between updated packages and new packages > > For this I think I can manage by looking at the last entry of the ChangeLog > file and extracting the date from it. Example: > /usr/portage/app-cdr/k3b/ChangeLog > > > [...] > *k3b-0.5.1 (1 Feb 2002) > > 1 Feb 2002; G.Bevin ChangeLog : > > [...] > > > One more thing, are ChangeLog files in packages automagically generated from > CVS or are they hand-edited by developers? If they are hand edited then I am > going to find errors in the format. I mean that humans commit errors and, for > instance, some dev can forget to write the "*" at the begining of a ChangeLog > entry! The Changelogs are created by a small script called echangelog, so its pretty easy to handle :) --Todd