summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
...
* Sort scanlist and ebuildlist to ensure that repoman alwaysZac Medico2007-11-021-0/+2
| | | | | | processes packages in a predictable order. svn path=/main/trunk/; revision=8383
* Add a check for redundant cd "${S}" statements on the firstZac Medico2007-11-011-3/+3
| | | | | | | line of src_(compile|install|test) ebuild methods. Thanks to Petteri Räty <betelgeuse@gentoo.org> for this patch. svn path=/main/trunk/; revision=8351
* Optimize repoman to share portdbapi.cp_list() resultsZac Medico2007-10-261-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). svn path=/main/trunk/; revision=8313
* Optimize repoman visibility checks to access as littleZac Medico2007-10-261-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. svn path=/main/trunk/; revision=8309
* FIX: indentation problem, also end the Portage identificationZac Medico2007-10-251-1/+1
| | | | | | | line with a ) if repoman wasn't forced to do its job. (branches/prefix r8281) svn path=/main/trunk/; revision=8296
* Fix: Make repoman actually USE -m commit message again (and -MZac Medico2007-10-251-4/+4
| | | | | | commit message file). (branches/prefix r8280) svn path=/main/trunk/; revision=8295
* Begin to use python logging framework. Remove if quiet < bla logic and ↵Alec Warner2007-10-231-58/+41
| | | | | | instead use loglevels (critical, error, warn, info, debug). Default to WARN for repoman, which will print CRITICAL, ERROR, and WARN messages. one -v will print INFO messages and two -v's will print DEBUG messages, each -q will reduce the loglevel by one. -q and -v can be given in any order. svn path=/main/trunk/; revision=8250
* aha, i knew that diff was screwy, the mail to portage-commits and grep made ↵Alec Warner2007-10-231-71/+0
| | | | | | it obvious as to why; lets try removing those dupe checks. svn path=/main/trunk/; revision=8247
* fix tabbingAlec Warner2007-10-231-1/+1
| | | | svn path=/main/trunk/; revision=8246
* Sigh, this integration did not go well, please check the diff (it seemed to ↵Alec Warner2007-10-231-216/+283
| | | | | | add some weird ass code, but it looked fine on sources.gentoo.org). Next time I'll try and either work in a branch or commit faster ;) svn path=/main/trunk/; revision=8245
* Bug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSEZac Medico2007-10-231-3/+4
| | | | | | files in dodoc arguments. svn path=/main/trunk/; revision=8236
* Fix broken imports.Zac Medico2007-10-221-2/+2
| | | | svn path=/main/trunk/; revision=8235
* Fix --help summary so that "commit" mode shows.Zac Medico2007-10-151-1/+1
| | | | svn path=/main/trunk/; revision=8140
* Sort the modes in the repoman --help output.Zac Medico2007-10-151-0/+3
| | | | svn path=/main/trunk/; revision=8125
* Remove duplicate call to digestgen().Zac Medico2007-10-071-7/+0
| | | | svn path=/main/trunk/; revision=7996
* Move the "commit" mode manifest generation earlier in orderZac Medico2007-10-071-9/+13
| | | | | | | to avoid digest verification issues when FEATURES="strict" is enabled. svn path=/main/trunk/; revision=7995
* Fix logic for the message that's show whenZac Medico2007-10-041-1/+1
| | | | | | --force is disabled. svn path=/main/trunk/; revision=7915
* Make repoman bail out if it is unable to properlyZac Medico2007-10-041-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. svn path=/main/trunk/; revision=7914
* Eliminate confusing false positive error messagesZac Medico2007-10-031-8/+23
| | | | | | | | | | | | | | 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". Also, update the docs for the "ebuild.syntax" error to indicate that a digest verification failure can trigger it. svn path=/main/trunk/; revision=7905
* Apply new checks, minor cleanupAlec Warner2007-10-011-8/+11
| | | | svn path=/main/trunk/; revision=7899
* Delete some extra leaky vars, also after some testing I discovered read() is ↵Alec Warner2007-10-011-4/+2
| | | | | | much faster than readlines(), see http://dev.gentoo.org/~antarus/projects/portage/stats/StringIOVsFiles.txt svn path=/main/trunk/; revision=7897
* Add Donnie's quote check, refactor other ebuild-content checks into classes ↵Alec Warner2007-10-011-65/+34
| | | | | | and get them out of repoman in an attempt to start moving other checks out as well. Again wonder at the price of StringIO and N passes, is the readability worth it? svn path=/main/trunk/; revision=7895
* Move some of the less expensive QA checks before dep_check() so that they're ↵Zac Medico2007-08-281-106/+106
| | | | | | still done even in --force mode. svn path=/main/trunk/; revision=7718
* Convert myoptions from a list to a dict.Zac Medico2007-08-281-6/+5
| | | | svn path=/main/trunk/; revision=7714
* Skip the most expensive QA tests when --force in enabled since there's no ↵Zac Medico2007-08-281-0/+6
| | | | | | point in wasting time on them when the user is intent on forcing the commit anyway. svn path=/main/trunk/; revision=7713
* Make the commit message indicate when the --force option is used.Zac Medico2007-08-281-6/+9
| | | | svn path=/main/trunk/; revision=7712
* Fix RepoMan's grammar.Zac Medico2007-08-271-1/+1
| | | | svn path=/main/trunk/; revision=7711
* Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added ↵Zac Medico2007-08-271-0/+28
| | | | | | directly with stable KEYWORDS. svn path=/main/trunk/; revision=7710
* Add a --force option that forces commit to proceed. This is useful for cases ↵Zac Medico2007-08-271-1/+6
| | | | | | like bug #110443 where the commit normally isn't allowed but there are exceptional circumstances where it may be acceptable. svn path=/main/trunk/; revision=7709
* Bug #190406 - Filter the myheaders list so that it doesn't include binary ↵Zac Medico2007-08-271-1/+6
| | | | | | blobs added to cvs with the -kb option. svn path=/main/trunk/; revision=7705
* 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. svn path=/main/trunk/; revision=7580
* For bug #169500, detect when the cvs server puts /Attic/ inside the $Header ↵Zac Medico2007-07-211-0/+17
| | | | | | path and automatically correct it. svn path=/main/trunk/; revision=7340
* For bug #185153, in commit mode do the "Fetching trivial updates" routine ↵Zac Medico2007-07-211-38/+44
| | | | | | before the qa scan. svn path=/main/trunk/; revision=7338
* Flatten restrict for the RESTRICT.invalid check.Zac Medico2007-07-021-6/+16
| | | | svn path=/main/trunk/; revision=7120
* Add a QA warning for invalid values of RESTRICT. Thanks to peper for the patch.Zac Medico2007-06-301-0/+12
| | | | svn path=/main/trunk/; revision=7102
* Remove lots of unnecessary list generation via dict.keys().Zac Medico2007-06-211-3/+3
| | | | svn path=/main/trunk/; revision=6911
* Make repoman exit with nonzero status whenever there are qa issues (already ↵Zac Medico2007-06-151-0/+4
| | | | | | does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. svn path=/main/trunk/; revision=6856
* For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an ↵Zac Medico2007-06-111-0/+4
| | | | | | InvalidDependString exception, and make sure that all callers handle the exception properly. svn path=/main/trunk/; revision=6796
* Make repoman work with both + and - flags in IUSE.Zac Medico2007-06-101-6/+5
| | | | svn path=/main/trunk/; revision=6788
* Fix it so repoman still does QA when $FILESDIR doesn't exist.Zac Medico2007-06-011-5/+8
| | | | svn path=/main/trunk/; revision=6716
* Don't complain when $FILESDIR is missing unless manifest1 compatibility is ↵Zac Medico2007-06-011-9/+4
| | | | | | enabled. svn path=/main/trunk/; revision=6711
* xmlint can produce garbage output even on success, so only dump the ouput ↵Zac Medico2007-05-261-3/+8
| | | | | | when it fails. See bug #179008. svn path=/main/trunk/; revision=6631
* Skip fetching of metadata.dtd when mymode == "manifest".Zac Medico2007-05-251-2/+4
| | | | svn path=/main/trunk/; revision=6618
* For bug #179008, just use metadata.dtd directly from $DISTDIR.Zac Medico2007-05-201-14/+13
| | | | svn path=/main/trunk/; revision=6562
* Use device number and i-node number (like os.path.samefile does) to check if ↵Zac Medico2007-05-191-1/+18
| | | | | | the current directory is inside a given overlay. This solves issues with path comparison and symlinks. svn path=/main/trunk/; revision=6559
* For bug #176539, add a "manifest" target to repoman so that there's a simple ↵Zac Medico2007-05-191-2/+16
| | | | | | way to just generate a Manifest. svn path=/main/trunk/; revision=6554
* fix typoAlec Warner2007-04-241-1/+1
| | | | svn path=/main/trunk/; revision=6435
* Pretty up the repoman imports, use cPickle over pickle for performanceAlec Warner2007-04-241-3/+14
| | | | svn path=/main/trunk/; revision=6431
* For bug #175344, handle a potential InvalidDependString exception when ↵Zac Medico2007-04-201-2/+8
| | | | | | parsing PROVIDE. svn path=/main/trunk/; revision=6421
* Fix cvstree import to avoid deprecation warning.Zac Medico2007-03-201-1/+1
| | | | svn path=/main/trunk/; revision=6256