aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* repoman: deprecate more eclassesTomas Chvatal2011-04-201-0/+5
|
* repoman: variable.usedwithhelpers ignore quotedZac Medico2011-02-281-1/+3
|
* repoman: warn about calls to prepall and preplibZac Medico2011-02-271-1/+1
|
* repoman: add back portage.internal checkZac Medico2011-02-251-1/+11
| | | | | | This check got removed for bug #262365, but now that EAPI 4 is released we can add it back. Now it checks for ecompress/ecompressdir too (for bug #218347).
* repoman: variable.usedwithhelpers tighten regexZac Medico2011-02-191-1/+1
| | | | This will fix bug #355621.
* repoman: variable.usedwithhelpers ignore commentsZac Medico2011-02-121-1/+1
| | | | This will fix bug #354685.
* repoman.herdbase: tolerate expat ImportErrorZac Medico2011-02-081-2/+9
| | | | | | We tolerate global scope import failures for optional modules, so that ImportModulesTestCase can succeed (or possibly alert us about unexpected import failures).
* Revert "parse_metadata_use(): omit empty text tokens."Zac Medico2011-02-041-2/+1
| | | | | | This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa. Since split() never return empty tokens, this patch does nothing.
* parse_metadata_use(): omit empty text tokens.Michał Górny2011-02-031-1/+2
|
* NoOffsetWithHelpers: fix invalid errors nameFabian Groffen2011-01-301-1/+1
|
* repoman: add check for using offset vars with helpersFabian Groffen2011-01-302-3/+13
| | | | | | | 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).
* Use bytes literals.Arfrever Frehtes Taifersar Arahesis2010-12-061-4/+4
|
* Allow repoman to commit files, which have changes only in SVN properties.Arfrever Frehtes Taifersar Arahesis2010-10-231-2/+2
|
* Recognize += in RDEPEND.implicit check.Zac Medico2010-10-101-1/+1
| | | | Thanks to Tomas Chvatal <scarabeus@g.o> for reporting.
* repoman: Add "x-modular": "xorg-2" to InheritDeprecated check as requested ↵Sebastian Luther2010-09-091-1/+2
| | | | by scarabeus (bug 326747, comment 6)
* Fix parse_metadata_use() to allow use elements containing no flagZac Medico2010-09-061-1/+2
| | | | | elements since the DTD allows it. Thanks to Mark Loeser <Halcy0n@g.o> for reporting.
* Bug #335670 - Make copyright header in herdbase.py refer to "GPL 2 or later"Zac Medico2010-09-021-1/+1
| | | | instead of just GPL-2.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-1/+0
|
* Support returning multiple flag descriptions when restrict is used.Michał Górny2010-08-271-8/+6
| | | | | | | Return a dict of dicts in parse_metadata_use(), with second-level keys being the restrict strings (or None when no restrict). When generating use.local.desc, use the description from the possibly-highest-matching atom.
* Various parse_metadata_use() fixes:Zac Medico2010-08-261-25/+35
| | | | | | | * Allow empty descriptions (backward compatibility). * Support multiple 'use' elements. * If multiple 'flag' elements have the same name attribute, use the first occurance.
* Make parse_metadata_use() tolerate empty flag descriptions.Zac Medico2010-08-261-8/+1
|
* Make parse_metadata_use() emulate the Element.itertext() method fromZac Medico2010-08-261-3/+19
| | | | | python-2.7, so egencache --update-use-local-desc gets all of the inner text.
* Fix up error handling for egencache --update-use-local-desc.Zac Medico2010-08-261-2/+6
|
* Parse flag descriptions in repoman.utilities.parse_metadata_use().Michał Górny2010-08-261-5/+12
| | | | | | Grab the USE descriptions from metadata.xml within parse_metadata_use(). Instead of a plain flag list, return a dict containing both the flag names and their descriptions.
* Bug #334265 - Fix AttributeError triggered by empty herd element inZac Medico2010-08-241-1/+1
| | | | check_metadata_herds().
* Fix broken logic in InheritDeprecated.Zac Medico2010-08-221-6/+6
|
* Make InheritDeprecated detect indirect inherits of deprecated eclasses,Zac Medico2010-08-221-5/+20
| | | | and indicate the indirect nature in the error message.
* Make InheritDeprecated check for direct inherits, and give line numbersZac Medico2010-08-221-11/+31
| | | | in error messages.
* repoman: check for deprecated eclasseswired2010-08-221-1/+30
| | | | | | compare the inherited eclasses to a list of deprecated eclasses. print QA warnings for each deprecated eclass found and suggest an alternative for those that have one.
* Add upstream.workaround warning for addpredict calls. Thanks toZac Medico2010-08-212-2/+9
| | | | Diego Pettenò <flameeyes@g.o> for the suggestion.
* Use explicit imports, to make pyflakes happy.Zac Medico2010-08-111-1/+3
|
* Introduce portage.eapi. Use it everywhere.Sebastian Luther2010-08-111-7/+8
|
* Bug #285191 - Add back the RDEPEND.implicit warning to detect the casesZac Medico2010-08-041-1/+34
| | | | | | where DEPEND is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4) and is forbidden by the QA team.
* repoman: Check if the prefix.eclass is inherited if eprefixify is used. ↵Sebastian Luther2010-08-042-1/+20
| | | | Thanks to Jeremy Olexa (darkside) for the initial patch.
* Add FindVCS() to __all__.Michał Górny2010-07-141-0/+1
|
* Drop deprecated self.eapi saving.Michał Górny2010-07-141-19/+3
|
* Retab.Michał Górny2010-07-141-4/+4
|
* Support BrE spelling 'licence' in UselessDodoc check.Michał Górny2010-07-141-1/+1
|
* Add EAPI 3-defined variables to the readonly check.Michał Górny2010-07-141-1/+8
|
* Make copyright/CVS header checks more strict.Michał Górny2010-07-141-3/+3
|
* repoman: don't complain about stray Manifests.Michał Górny2010-07-121-0/+3
| | | | | As repoman regenerates and readds Manifests anyway, there's no reason to complain when one hasn't been added yet.
* Rewrite VCS detection code in repoman.Michał Górny2010-07-111-0/+44
| | | | | | Move the real code into repoman.utilities. Support any repository depth for distributed SCMs -- i.e. Sunrise through git-svn. Bail out if more than one control version directory is found at the same depth.
* Bug #326553 - check for preserve_old_libSamuli Suominen2010-07-082-1/+9
|
* Bug #324075 - Avoid erroneous 'Invalid Gentoo Copyright' warnings whenZac Medico2010-06-151-2/+5
| | | | | the vcs (git) does not support mtime preservation. Also, fix the same check to work for ebuilds wiht copyrigh beginning in 2011 and later.
* 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
|