summaryrefslogtreecommitdiffstats
path: root/pym/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Use bytes literals.Arfrever Frehtes Taifersar Arahesis2010-12-071-4/+4
|
* Allow repoman to commit files, which have changes only in SVN properties.Arfrever Frehtes Taifersar Arahesis2010-10-271-2/+2
|
* Recognize += in RDEPEND.implicit check.Zac Medico2010-10-111-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
|
* 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