Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261445 - app-portage/repoman: static code fixing
Summary: app-portage/repoman: static code fixing
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 12:48 UTC by Justin Lecher (RETIRED)
Modified: 2022-07-12 03:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2009-03-06 12:48:35 UTC
I would like to have some basic static code fixing features for repoman:

1. correct date in header like echangelog does it in ChangeLog
2. sort USE flag alphabetically
(3. sort DEPs might not be wanted)
4. fixing leading an trailing whitespaces


Those came into my mind quickly and I think they could be implemented easily. I would do testing if some does write the code.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-03-06 12:51:45 UTC
5. usedeps
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-06 13:01:53 UTC
Let's see what dev-portage team thinks about this.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-03-06 13:16:57 UTC
5. usedeps
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2017-03-16 01:39:54 UTC
Current repoman releases do:

1) fix the copyright date header


It loads the use flags into a python variable, so could perform a sort and save

But I'm not as sure about the whitespace, not from detecting/fixing it, but more from the possibility of messing with other intended whitespace and/or specific formatting in other variables.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:23 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.