public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Improving Portage Watch script
@ 2003-06-14 17:57 Rafael Cordones Marcos
  2003-06-14 18:24 ` Troy Dack
  2003-06-14 18:28 ` Todd Berman
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael Cordones Marcos @ 2003-06-14 17:57 UTC (permalink / raw
  To: gentoo-dev; +Cc: Pablo Pita Leira, Bob Miller

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

<file-contents>
[...]
*k3b-0.5.1 (1 Feb 2002)

  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :

[...]
</file-contents>

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!

Thanks for your time!

/Rafa

-- 
Rafael Cordones Marcos
rcm@sasaska.net
http://www.sasaska.net

"La diferencia entre una democracia y una dictadura
consiste en que en la democracia puedes votar antes
de obedecer las ordenes." -- Bukowski, C. 


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-14 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-14 17:57 [gentoo-dev] Improving Portage Watch script Rafael Cordones Marcos
2003-06-14 18:24 ` Troy Dack
2003-06-14 18:28 ` Todd Berman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox