summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* 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
* For bug #167667, add support for ${PORTDIR}/manifest1_obsolete and ↵Zac Medico2007-02-221-3/+51
| | | | | | automatically remove ${FILESDIR}/digest-* from cvs when appropriate. svn path=/main/trunk/; revision=6042
* Add some sanity checks for file list handling when repolevel < 3.Zac Medico2007-02-221-0/+12
| | | | svn path=/main/trunk/; revision=6036
* Fix broken file list handling for FEATUES=sign when only the Manifest has ↵Zac Medico2007-02-221-0/+6
| | | | | | changed. svn path=/main/trunk/; revision=6035
* Fix more broken commitmessagefile handling.Zac Medico2007-02-221-2/+7
| | | | svn path=/main/trunk/; revision=6033
* Use startdir instead of mydir since mydir has a trailing slash which ↵Zac Medico2007-02-221-3/+3
| | | | | | triggers normalization issues with the dirname function. svn path=/main/trunk/; revision=6031
* Avoid a TypeError when commitmessagefile is None.Zac Medico2007-02-221-1/+1
| | | | svn path=/main/trunk/; revision=6029
* Fix stardir and repodir logic from the previous commit.Zac Medico2007-02-211-5/+3
| | | | svn path=/main/trunk/; revision=6027
* For consistency, replace multiple os.getcwd() calls with the "mydir" variable.Zac Medico2007-02-211-4/+4
| | | | svn path=/main/trunk/; revision=6024
* s/x/xs/ to fix a typo in a variable name.Zac Medico2007-02-211-1/+1
| | | | svn path=/main/trunk/; revision=6023
* Use os.path.realpath to handle symlinks properly.Zac Medico2007-02-101-1/+1
| | | | svn path=/main/trunk/; revision=5945
* Fix automatic sys.path insertions so that they're relative instead of ↵Zac Medico2007-02-101-1/+2
| | | | | | absolute hard coded. svn path=/main/trunk/; revision=5942
* Make the "lfull" output more succinct by omitting categories for which there ↵Zac Medico2007-02-081-2/+1
| | | | | | are no violations. svn path=/main/trunk/; revision=5928