summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make metadata.xml <flag/> errors non-fatal to repoman.Michał Górny2010-04-241-4/+2
| | | | | | Previously, <flag/>-related errors in metadata.xml caused repoman to abort the checks without even reporting the full path to broken metadata.xml file. Now they are accounted as 'metadata.bad' errors.
* Pass an ElementTree instance into parse_metadata_use() andZac Medico2010-04-111-16/+2
| | | | check_metadata_herds().
* Port parse_metadata_use() code from minidom to ElementTree.Zac Medico2010-04-111-32/+17
|
* Avoid XMLParser.doctype deprecation warnings with >=python-2.7.Zac Medico2010-04-111-2/+11
|
* also check quoting on the Prefix variables added in EAPI=3, thanks jlec for ↵Fabian Groffen2010-04-051-0/+3
| | | | the suggestion
* Handle missing $PORTDIR/metadata/herds.xml. Thanks to Arfrever for reporting.Zac Medico2010-04-022-3/+12
|
* Remove all svn $Id keywords.Zac Medico2010-03-244-4/+0
|
* Add check of herds in metadata.xmlSebastian Pipping2010-03-232-1/+119
|
* Prepare further checks on metadata.xmlSebastian Pipping2010-03-231-2/+2
|
* Eliminate the PhaseCheck constructor and make PhaseCheck.phases_re a classZac Medico2010-02-261-9/+5
| | | | | | attribute. Thanks to Sebastian Pipping <sping@g.o> for the initial patch. svn path=/main/trunk/; revision=15470
* Bug #299095 - Add a deprecation warning for check_license calls with EAPI >= 3Zac Medico2010-02-221-1/+20
| | | | | | since it is superceded by LICENSE masking. svn path=/main/trunk/; revision=15418
* Move the DOM unlink call to a finally block.Zac Medico2010-01-291-18/+20
| | | | svn path=/main/trunk/; revision=15216
* Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> forZac Medico2010-01-242-2/+8
| | | | | | this patch. svn path=/main/trunk/; revision=15209
* Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. ThanksZac Medico2009-12-212-1/+8
| | | | | | to Samuli Suominen <ssuominen@g.o> for this patch. svn path=/main/trunk/; revision=15128
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled.Zac Medico2009-12-111-2/+2
| | | | svn path=/main/trunk/; revision=15035
* Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks toZac Medico2009-12-081-8/+8
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14965
* Add src_configure and pkg_config to the list of phases in ↵Arfrever Frehtes Taifersar Arahesis2009-10-041-2/+2
| | | | | | repoman.checks.PhaseCheck.__init__(). svn path=/main/trunk/; revision=14490
* Restrict upstream.workaround to src_compile and src_install as much as possible.Mounir Lamouri2009-10-041-31/+36
| | | | | | Prevent warnings when using emake -j1 in src_test which is recommanded. svn path=/main/trunk/; revision=14489
* Bug #285191 - Remove the RDEPEND.implicit check because it is invalid.Zac Medico2009-10-011-32/+1
| | | | svn path=/main/trunk/; revision=14471
* Use list comprehensions instead of filter() or map() in some places for ↵Arfrever Frehtes Taifersar Arahesis2009-09-251-2/+2
| | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+1
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Misc unicode fixes for repoman.Zac Medico2009-09-201-7/+12
| | | | svn path=/main/trunk/; revision=14302
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-3/+6
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Bug #283292 - Fix FindPortdir() to prevent OSError: [Errno 2] from stat whenZac Medico2009-08-311-1/+1
| | | | | | $PWD is unset. Thanks to Jonathan Callen <en.ABCD@gmail.com> for this patch. svn path=/main/trunk/; revision=14174
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-2/+8
| | | | svn path=/main/trunk/; revision=14097
* Remove unused os import.Zac Medico2009-08-191-1/+0
| | | | svn path=/main/trunk/; revision=14096
* Use r'' for regex.Zac Medico2009-08-121-1/+1
| | | | svn path=/main/trunk/; revision=14013
* Bug #281133 - Fix the here-document code inside run_checks() to properlyZac Medico2009-08-121-1/+1
| | | | | | detect the end of a here-document when it is indented by whitespace. svn path=/main/trunk/; revision=14012
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-061-3/+2
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Check for redundant blank lines. Thanks to Markus Meier <maekke@gentoo.org>Zac Medico2009-06-281-1/+20
| | | | | | for this patch. svn path=/main/trunk/; revision=13725
* * Add new abstract PhaseCheck class for ebuild phase-specific checks.Zac Medico2009-06-281-41/+119
| | | | | | | | * Reimplement SrcUnpackPatches using PhaseCheck. * Add new SrcCompileEconf, Eapi3IncompatibleFuncs, and Eapi3GoneVars checks. Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13717
* Bug #274742 - Exempt $dir from quoting checks since it's a likely candidateZac Medico2009-06-211-1/+1
| | | | | | for false positives. svn path=/main/trunk/; revision=13659
* Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian RuppertZac Medico2009-05-061-0/+1
| | | | | | <idl0r@g.o> for reporting. svn path=/main/trunk/; revision=13617
* Warn about sed and epatch calls which should be moved from src_unpack toZac Medico2009-04-291-1/+33
| | | | | | src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13413
* Move the here-document code from the EbuildWhitespace check to theZac Medico2009-04-291-26/+26
| | | | | | | run_checks() function, so that all checks ignore the content of here-documents. svn path=/main/trunk/; revision=13412
* Make EbuildWhitespace ignore here-documents. Thanks to Diego PettenòZac Medico2009-04-291-4/+19
| | | | | | <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=13411
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-262-1/+19
| | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13401
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-172-11/+1
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Loosen EMakeParallelDisabled.re so it can match more variations.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12719
* Add a new upstream.workaround check for hardcoded MAKEOPTS=-j1 (previouslyZac Medico2009-02-272-2/+9
| | | | | | | only emake -j1 was recognized). Thanks to Maciej Mrozowski <reavertm@poczta.fm> for this patch. svn path=/main/trunk/; revision=12718
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-122-1/+11
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12603
* Warn about WANT_AUTO(CONF|MAKE)=latest settings since they are redundant.Zac Medico2009-02-041-1/+13
| | | | | | Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12583
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDZac Medico2009-01-181-1/+28
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Adjust the EbuildNestedDie pattern so that it only matches when ( is surroundedZac Medico2008-12-201-1/+1
| | | | | | | | by whitespace. This filters out false positives triggered by sed expressions in net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego Pettenò <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=12265
* Simplify the InheritAutotools pattern by using \b to match word boundaries.Zac Medico2008-12-201-2/+2
| | | | svn path=/main/trunk/; revision=12264
* Bug #251591 - Adjust the InheritAutotools pattern to treat more things ↵Zac Medico2008-12-201-2/+2
| | | | | | | | similar to whitespace. Now it recognizes escaped newlines, || operators, and && operators. svn path=/main/trunk/; revision=12260
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-082-2/+2
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179