summaryrefslogtreecommitdiffstats
path: root/pym/repoman/errors.py
Commit message (Collapse)AuthorAgeFilesLines
* repoman: add a mini framework for checking eclasses, and fill it outMike Frysinger2012-05-251-1/+0
| | | | | | | | | | | | | Rather than copying & pasting the same behavior for the different eclass checks, add a common class for them to extend. This makes adding more eclass checks trivial, and keeps down bitrot. This does abuse the checking interface slightly -- the eclass will change its category between unused and missing based on the checks. URL: https://bugs.gentoo.org/417159 URL: https://bugs.gentoo.org/417231 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* repoman: check for deprecated useq and hasq callsDane Smith2011-07-081-0/+2
|
* repoman: add check for using offset vars with helpersFabian Groffen2011-01-301-1/+2
| | | | | | | New check: NoOffsetWithHelpers. Checks whether helper functions, such as dodir and insinto, are used with offset variables either referring to the installation image (D, ED), the alternate root location (ROOT, EROOT), or the offset prefix (EPREFIX).
* Add upstream.workaround warning for addpredict calls. Thanks toZac Medico2010-08-211-1/+2
| | | | Diego Pettenò <flameeyes@g.o> for the suggestion.
* repoman: Check if the prefix.eclass is inherited if eprefixify is used. ↵Sebastian Luther2010-08-041-0/+1
| | | | Thanks to Jeremy Olexa (darkside) for the initial patch.
* Bug #326553 - check for preserve_old_libSamuli Suominen2010-07-081-0/+1
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> forZac Medico2010-01-241-0/+1
| | | | | | this patch. svn path=/main/trunk/; revision=15209
* Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. ThanksZac Medico2009-12-211-0/+1
| | | | | | to Samuli Suominen <ssuominen@g.o> for this patch. svn path=/main/trunk/; revision=15128
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-261-0/+1
| | | | | | 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-171-1/+0
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Add a new upstream.workaround check for hardcoded MAKEOPTS=-j1 (previouslyZac Medico2009-02-271-0/+1
| | | | | | | 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-121-0/+1
| | | | | | | 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
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-081-1/+1
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179
* Check for calls to the deprecated bindnow-flags function. Thanks to DiegoZac Medico2008-08-311-0/+1
| | | | | | "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11481
* Add a warning for emake -j1 calls which disable parallelization. Thanks toZac Medico2008-08-311-0/+1
| | | | | | Diego "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11480
* Add a new "ebuild.patches" check for the PATCHES variable that's used byZac Medico2008-03-291-0/+1
| | | | | | | | base_src_unpack() from base.eclass. This generates a warning if the variable is not defined as an array, since this is required for white space safety. Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9587
* Fix 'TypeError: not all arguments converted during string formatting'Zac Medico2007-11-051-1/+1
| | | | | | issues with the EbuildNestedDie check. svn path=/main/trunk/; revision=8429
* Add a check for redundant cd "${S}" statements on the firstZac Medico2007-11-011-0/+1
| | | | | | | 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
* Rename checks as the naming was overkill (they are all obviously checks ↵Alec Warner2007-10-011-1/+2
| | | | | | being in the check module), add nesteddie check svn path=/main/trunk/; revision=7898
* Add new repoman check classes using StringIO; possibly need some testing, ↵Alec Warner2007-10-011-0/+12
obviously the old code was faster (1 iteration over the file), here we do one iteration per check, StringIO was to try and negate this by doing the checks in memory...how much of a price do we pay here? svn path=/main/trunk/; revision=7894