Bug 171962 - Make repoman check ChangeLog syntax
|
Bug#:
171962
|
Product: Portage Development
|
Version: 2.2
|
Platform: All
|
|
OS/Version: Linux
|
Status: NEW
|
Severity: normal
|
Priority: P2
|
|
Resolution:
|
Assigned To: dev-portage@gentoo.org
|
Reported By: betelgeuse@gentoo.org
|
|
Component: Repoman
|
|
|
URL:
|
|
Summary: Make repoman check ChangeLog syntax
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-03-23 21:24 0000
|
Here is an example broken entry:
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXinerama/ChangeLog,v 1.27
2007/03/22 02:18:21 joshuabaergen Exp $
22 Mar 2007; Joshua Baergen <joshuabaergen@gentoo.org>
+libXinerama-1.0.2.ebuild:
Version bump. Includes new documentation and some small code tweaks.
This is missing the
*libXinerama-1.0.2 (22 Mar 2007)
line. Having this line is important because emerge -pl libXinerama does not
work without it.
Created an attachment (id=114184) [details]
check_changelog.py
Here is the logic for checking ChangeLogs. Can be run like:
find /usr/portage/ -name "ChangeLog" | xargs python changelog.py
It seems the tree is full of broken entries atm:
betelgeuse@pena ~/python $ find /usr/portage/ -name "ChangeLog" | xargs python
changelog.py | wc -l
2545
As discussed on irc, I'd like to add 2 new repoman checks for this:
1) Fail if a new ebuild has been added without an appropriate ChangeLog entry.
2) Warn if there are broken ChangeLog entries for previously existing ebuilds.
(In reply to comment #4)
> 1) Fail if a new ebuild has been added without an appropriate ChangeLog entry.
> 2) Warn if there are broken ChangeLog entries for previously existing ebuilds.
What is the status?
Do we really want to add more stuff into the current repoman incarnation? That
beast *really* needs to be rewritten.