From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-3805-arch-gentoo-dev=gentoo.org@gentoo.org>
Received: (qmail 13443 invoked by uid 1002); 14 Jun 2003 17:57:05 -0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 6031 invoked from network); 14 Jun 2003 17:57:04 -0000
From: Rafael Cordones Marcos <rcm@sasaska.net>
To: gentoo-dev@gentoo.org
Date: Sat, 14 Jun 2003 19:57:01 +0200
User-Agent: KMail/1.5.2
Cc: Pablo Pita Leira <pablo.leira@pitagoral.com>,
	Bob Miller <kbob@jogger-egg.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200306141957.01121.rcm@sasaska.net>
Subject: [gentoo-dev] Improving Portage Watch script
X-Archives-Salt: c28999bc-224f-4546-af04-07ed1f1e2825
X-Archives-Hash: 4cf8ba0659dcc153642c73547590e7a8

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