summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* per bug 204468, remove old check from repoman (all ebuilds inZac Medico2008-01-111-26/+0
| | | | | | gentoo-x86 are migrated). (trunk r9144) svn path=/main/branches/2.1.2/; revision=9168
* Bug #204651 - Make repoman respect NOCOLOR=true. (trunk r9151)Zac Medico2008-01-061-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=9152
* Minor code readablity enhancements:Zac Medico2007-12-281-6/+8
| | | | | | | | | | * Use relative_path and full_path variables for files being checked instead of spreading code like x+"/files/"+y all over the place. * Use stat.S_IMODE with octal 0111 instead of hex 0x0248 in the file.executable checks. (trunk r9060) svn path=/main/branches/2.1.2/; revision=9074
* Bug #201498 - Use desktop-file-validate to validate *.desktopZac Medico2007-12-281-1/+27
| | | | | | | | files inside ${FILESDIR} and generate a "desktop.invalid" qa warning if an error is detected. Thanks to Betelgeuse for the initial patch. (trunk r9059) svn path=/main/branches/2.1.2/; revision=9073
* Fix broken handling of the tuple that's returned fromZac Medico2007-12-281-1/+1
| | | | | | verify_all(). Thanks to Betelgeuse. (trunk r9056) svn path=/main/branches/2.1.2/; revision=9072
* Eliminate redundant "notadded" error filtering. (trunk r9023)Zac Medico2007-12-211-7/+1
| | | | svn path=/main/branches/2.1.2/; revision=9024
* Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables forZac Medico2007-12-191-1/+2
| | | | | | new-style virtual packages. (trunk r8965) svn path=/main/branches/2.1.2/; revision=8966
* Split out a format_qa_output() function to eliminate duplicate code.Zac Medico2007-12-151-59/+57
| | | | | | (trunk r8927 and r8930) svn path=/main/branches/2.1.2/; revision=8931
* Instead of all modes, only in commit mode save an extra copy of QAZac Medico2007-12-151-1/+3
| | | | | | output for display in $EDITOR. (trunk r8928) svn path=/main/branches/2.1.2/; revision=8929
* Save QA output so that it can be conveniently displayedZac Medico2007-12-151-13/+99
| | | | | | | | | | | | | | | | in $EDITOR while the user creates a commit message. Otherwise, the user would not be able to see this output once the editor has taken over the screen. Output is done through a formatter object where it is captured for later use. A file-like object that behaves something like the portage.output.colorize() function is used to transfor style identifiers from the formatter framework into actual console codes. (trunk r8925) svn path=/main/branches/2.1.2/; revision=8926
* Prompt the user before letting the editorZac Medico2007-12-141-0/+5
| | | | | | | | take over the screen so there is an opportunity to review any QA warnings. (trunk r8923) svn path=/main/branches/2.1.2/; revision=8924
* * Add support for multi-line commit message input by using EOFZac Medico2007-12-141-7/+84
| | | | | | | | | | | as a delimiter (Ctrl-d) instead of a new line. * Add support for getting a commit message using an editor defined by the EDITOR environment variable. (trunk r8919:8921) svn path=/main/branches/2.1.2/; revision=8922
* Fix the bug #198398 code from trunk to be compatible with the codeZac Medico2007-12-131-2/+2
| | | | | | in this branch. svn path=/main/branches/2.1.2/; revision=8919
* Use the BAD color class instead of hardcoded red. (trunk r8904)Zac Medico2007-12-131-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8905
* Bug #198398 - Make repoman bail out if support for RMD160 hashZac Medico2007-12-131-0/+18
| | | | | | creation appears to be missing. (trunk r8886:8888 and r8897) svn path=/main/branches/2.1.2/; revision=8898
* Bug #140180 - Never trigger a LICENSE.missing violation for old styleZac Medico2007-11-241-2/+4
| | | | | | virtuals since they don't directly install anything. (trunk r8645) svn path=/main/branches/2.1.2/; revision=8646
* Make 'full' the default mode, since 'scan' can be annoying when itZac Medico2007-11-201-4/+4
| | | | | | omits relevant info. (trunk r8499) svn path=/main/branches/2.1.2/; revision=8558
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-201-108/+90
| | | | | | | | | | | | | | | | | | | | | | | | | interface that takes a single line as an argument. This has at least a few of benefits: * Eliminates lots of redundant code * Error messages are ordered by line number across all checks The performance is slightly worse due to the increased number of method calls, but it's not really noticeable in comparison to the time consumed by dependency checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial patch which I only made a few minor modifications to. (trunk r8483) Make the EbuildQuote.missing_quotes regex accept single quotes where it accepts double quotes in order to eliminate some false positives. Thanks to Krzysiek Pawlik <nelchael@gentoo.org> for reporting. (trunk r8485) svn path=/main/branches/2.1.2/; revision=8552
* Remove the usage.obsolete "KEYWORDS contain -*" warning since peoplev2.1.3.19Zac Medico2007-11-061-3/+0
| | | | | | | are using -* to indicate that a package should not be tried on archs other than those for which it already has KEYWORDS. svn path=/main/branches/2.1.2/; revision=8448
* Port the EbuildNestedDie check from trunk since theZac Medico2007-11-051-4/+25
| | | | | | | python version is much faster than the old one that uses grep. svn path=/main/branches/2.1.2/; revision=8430
* Generate a usage.obsolete warning wheneverZac Medico2007-11-041-2/+5
| | | | | | -* is found in KEYWORDS. (trunk r8414) svn path=/main/branches/2.1.2/; revision=8415
* Sort scanlist and ebuildlist to ensure that repoman alwaysZac Medico2007-11-021-0/+2
| | | | | | processes packages in a predictable order. (trunk r8383) svn path=/main/branches/2.1.2/; revision=8384
* Remove an extra \$ from the EbuildQuote.var_reference regexZac Medico2007-11-021-4/+4
| | | | | | | | | | so that it will properly match things like variable references without braces, like $S. (trunk r8354) Properly escape { and } characters in regular expressions even though it seems to work either way. (trunk r8355) svn path=/main/branches/2.1.2/; revision=8377
* Add a check for redundant cd "${S}" statements on the firstZac Medico2007-11-021-1/+23
| | | | | | | | line of src_(compile|install|test) ebuild methods. Thanks to Petteri Räty <betelgeuse@gentoo.org> for this patch. (trunk r8351 and r8353) svn path=/main/branches/2.1.2/; revision=8376
* Optimize repoman visibility checks to access as littleZac Medico2007-11-021-2/+2
| | | | | | | | | | metadata as possible. (improves performance especially in cases where metadata needs to be generated). This works by starting at the lowest version since that's most likely to have keywords and it returns as soon as the first visible package is found. (trunk r8309) svn path=/main/branches/2.1.2/; revision=8369
* Optimize repoman to share portdbapi.cp_list() resultsZac Medico2007-11-021-0/+3
| | | | | | | | | | between all profiles since those results never change. The cached results also propagate to the xmatch match-all when appropriate (old-style virtuals are excluded since they are profile dependent). (trunk r8313) svn path=/main/branches/2.1.2/; revision=8368
* Bug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSEZac Medico2007-10-231-1/+20
| | | | | | files in dodoc arguments. (trunk r8236) svn path=/main/branches/2.1.2/; revision=8237
* Fix --help summary so that "commit" mode shows. (trunk r8140)Zac Medico2007-10-151-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8141
* Sort the modes in the repoman --help output. (trunk r8125)Zac Medico2007-10-151-0/+3
| | | | svn path=/main/branches/2.1.2/; revision=8132
* Move the "commit" mode manifest generation earlier in orderZac Medico2007-10-121-9/+6
| | | | | | | to avoid digest verification issues when FEATURES="strict" is enabled. (trunk r7994:7996) svn path=/main/branches/2.1.2/; revision=8065
* Make the EbuildQuote check ignore lines beginningZac Medico2007-10-051-1/+1
| | | | | | | with local or export builtins since unquoted assignments are okay there. (trunk r7942) svn path=/main/branches/2.1.2/; revision=7943
* Eliminate confusing false positive error messagesZac Medico2007-10-051-7/+22
| | | | | | | | | | | | for SRC_URI.syntax and digestentry.unused that are reported when the SRC_URI for one or more ebuilds can't be parsed for some reason. There's no point in producing a false error here since the root cause will produce a valid error elsewhere, such as "SRC_URI.syntax" or "ebuild.sytax". (trunk r7905) svn path=/main/branches/2.1.2/; revision=7941
* Fix logic for the message that's show whenZac Medico2007-10-051-1/+1
| | | | | | --force is disabled. (trunk r7915) svn path=/main/branches/2.1.2/; revision=7937
* Make repoman bail out if it is unable to properlyZac Medico2007-10-051-19/+52
| | | | | | | | | access ebuild metadata for some reason. In this case it's impossible to generate a Manifest and therefore the --force option has to be disabled. (trunk r7914) svn path=/main/branches/2.1.2/; revision=7936
* Update the docs for the "ebuild.syntax" error toZac Medico2007-10-051-1/+1
| | | | | | | indicate that a digest verification failure can trigger it. (trunk r7905) svn path=/main/branches/2.1.2/; revision=7929
* Port the EbuildQuote check from trunk. (trunk r7904)Zac Medico2007-10-051-3/+80
| | | | svn path=/main/branches/2.1.2/; revision=7928
* Convert myoptions from a list to a dict. (trunk r7714)Zac Medico2007-09-061-6/+5
| | | | svn path=/main/branches/2.1.2/; revision=7743
* Move some of the less expensive QA checks before dep_check() so that they'reZac Medico2007-09-061-106/+106
| | | | | | still done even in --force mode. (trunk r7718) svn path=/main/branches/2.1.2/; revision=7742
* Skip the most expensive QA tests when --force in enabled since there's noZac Medico2007-09-061-0/+6
| | | | | | | point in wasting time on them when the user is intent on forcing the commit anyway. (trunk r7713) svn path=/main/branches/2.1.2/; revision=7741
* Fix RepoMan's grammar. (trunk r7711)Zac Medico2007-09-061-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7740
* Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directlyZac Medico2007-09-061-0/+28
| | | | | | with stable KEYWORDS. (trunk r7710) svn path=/main/branches/2.1.2/; revision=7739
* Make the commit message indicate when the --force option is used. (trunk r7712)Zac Medico2007-09-061-6/+9
| | | | svn path=/main/branches/2.1.2/; revision=7738
* Add a --force option that forces commit to proceed. This is useful for casesZac Medico2007-09-061-1/+6
| | | | | | | like bug #110443 where the commit normally isn't allowed but there are exceptional circumstances where it may be acceptable. (trunk r7709) svn path=/main/branches/2.1.2/; revision=7737
* Bug #190406 - Filter the myheaders list so that it doesn't include binaryZac Medico2007-09-061-1/+6
| | | | | | blobs added to cvs with the -kb option. (trunk r7705) svn path=/main/branches/2.1.2/; revision=7736
* For bug #187795, remove pointless digest.disjointed and digest.notadded ↵Zac Medico2007-08-061-12/+0
| | | | | | warnings since they are always added to cvs automatically anyway. (trunk r7580) svn path=/main/branches/2.1.2/; revision=7581
* For bug #169500, detect when the cvs server puts /Attic/ inside the $Header ↵Zac Medico2007-07-211-0/+17
| | | | | | path and automatically correct it. (trunk r7340) svn path=/main/branches/2.1.2/; revision=7341
* For bug #185153, in commit mode do the "Fetching trivial updates" routine ↵Zac Medico2007-07-211-38/+44
| | | | | | before the qa scan. (trunk r7338) svn path=/main/branches/2.1.2/; revision=7339
* Flatten restrict for the RESTRICT.invalid check. (trunk r7120)Zac Medico2007-07-021-6/+16
| | | | svn path=/main/branches/2.1.2/; revision=7121
* Add a QA warning for invalid values of RESTRICT. Thanks to peper for the ↵Zac Medico2007-06-301-0/+12
| | | | | | patch. (trunk r7102) svn path=/main/branches/2.1.2/; revision=7103
* Remove lots of unnecessary list generation via dict.keys(). (trunk r6911)Zac Medico2007-06-221-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=6930