Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parse_metadata_use(): omit empty text tokens. | Michał Górny | 2011-02-03 | 1 | -1/+2 |
| | |||||
* | NoOffsetWithHelpers: fix invalid errors name | Fabian Groffen | 2011-01-30 | 1 | -1/+1 |
| | |||||
* | repoman: add check for using offset vars with helpers | Fabian Groffen | 2011-01-30 | 2 | -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 Arahesis | 2010-12-06 | 1 | -4/+4 |
| | |||||
* | Allow repoman to commit files, which have changes only in SVN properties. | Arfrever Frehtes Taifersar Arahesis | 2010-10-23 | 1 | -2/+2 |
| | |||||
* | Recognize += in RDEPEND.implicit check. | Zac Medico | 2010-10-10 | 1 | -1/+1 |
| | | | | Thanks to Tomas Chvatal <scarabeus@g.o> for reporting. | ||||
* | repoman: Add "x-modular": "xorg-2" to InheritDeprecated check as requested ↵ | Sebastian Luther | 2010-09-09 | 1 | -1/+2 |
| | | | | by scarabeus (bug 326747, comment 6) | ||||
* | Fix parse_metadata_use() to allow use elements containing no flag | Zac Medico | 2010-09-06 | 1 | -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 Medico | 2010-09-02 | 1 | -1/+1 |
| | | | | instead of just GPL-2. | ||||
* | Remove unused imports found by pylint. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 1 | -1/+0 |
| | |||||
* | Support returning multiple flag descriptions when restrict is used. | Michał Górny | 2010-08-27 | 1 | -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 Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -8/+1 |
| | |||||
* | Make parse_metadata_use() emulate the Element.itertext() method from | Zac Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -2/+6 |
| | |||||
* | Parse flag descriptions in repoman.utilities.parse_metadata_use(). | Michał Górny | 2010-08-26 | 1 | -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 in | Zac Medico | 2010-08-24 | 1 | -1/+1 |
| | | | | check_metadata_herds(). | ||||
* | Fix broken logic in InheritDeprecated. | Zac Medico | 2010-08-22 | 1 | -6/+6 |
| | |||||
* | Make InheritDeprecated detect indirect inherits of deprecated eclasses, | Zac Medico | 2010-08-22 | 1 | -5/+20 |
| | | | | and indicate the indirect nature in the error message. | ||||
* | Make InheritDeprecated check for direct inherits, and give line numbers | Zac Medico | 2010-08-22 | 1 | -11/+31 |
| | | | | in error messages. | ||||
* | repoman: check for deprecated eclasses | wired | 2010-08-22 | 1 | -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 to | Zac Medico | 2010-08-21 | 2 | -2/+9 |
| | | | | Diego Pettenò <flameeyes@g.o> for the suggestion. | ||||
* | Use explicit imports, to make pyflakes happy. | Zac Medico | 2010-08-11 | 1 | -1/+3 |
| | |||||
* | Introduce portage.eapi. Use it everywhere. | Sebastian Luther | 2010-08-11 | 1 | -7/+8 |
| | |||||
* | Bug #285191 - Add back the RDEPEND.implicit warning to detect the cases | Zac Medico | 2010-08-04 | 1 | -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 Luther | 2010-08-04 | 2 | -1/+20 |
| | | | | Thanks to Jeremy Olexa (darkside) for the initial patch. | ||||
* | Add FindVCS() to __all__. | Michał Górny | 2010-07-14 | 1 | -0/+1 |
| | |||||
* | Drop deprecated self.eapi saving. | Michał Górny | 2010-07-14 | 1 | -19/+3 |
| | |||||
* | Retab. | Michał Górny | 2010-07-14 | 1 | -4/+4 |
| | |||||
* | Support BrE spelling 'licence' in UselessDodoc check. | Michał Górny | 2010-07-14 | 1 | -1/+1 |
| | |||||
* | Add EAPI 3-defined variables to the readonly check. | Michał Górny | 2010-07-14 | 1 | -1/+8 |
| | |||||
* | Make copyright/CVS header checks more strict. | Michał Górny | 2010-07-14 | 1 | -3/+3 |
| | |||||
* | repoman: don't complain about stray Manifests. | Michał Górny | 2010-07-12 | 1 | -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órny | 2010-07-11 | 1 | -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_lib | Samuli Suominen | 2010-07-08 | 2 | -1/+9 |
| | |||||
* | Bug #324075 - Avoid erroneous 'Invalid Gentoo Copyright' warnings when | Zac Medico | 2010-06-15 | 1 | -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órny | 2010-04-24 | 1 | -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() and | Zac Medico | 2010-04-11 | 1 | -16/+2 |
| | | | | check_metadata_herds(). | ||||
* | Port parse_metadata_use() code from minidom to ElementTree. | Zac Medico | 2010-04-11 | 1 | -32/+17 |
| | |||||
* | Avoid XMLParser.doctype deprecation warnings with >=python-2.7. | Zac Medico | 2010-04-11 | 1 | -2/+11 |
| | |||||
* | also check quoting on the Prefix variables added in EAPI=3, thanks jlec for ↵ | Fabian Groffen | 2010-04-05 | 1 | -0/+3 |
| | | | | the suggestion | ||||
* | Handle missing $PORTDIR/metadata/herds.xml. Thanks to Arfrever for reporting. | Zac Medico | 2010-04-02 | 2 | -3/+12 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 4 | -4/+0 |
| | |||||
* | Add check of herds in metadata.xml | Sebastian Pipping | 2010-03-23 | 2 | -1/+119 |
| | |||||
* | Prepare further checks on metadata.xml | Sebastian Pipping | 2010-03-23 | 1 | -2/+2 |
| | |||||
* | Eliminate the PhaseCheck constructor and make PhaseCheck.phases_re a class | Zac Medico | 2010-02-26 | 1 | -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 >= 3 | Zac Medico | 2010-02-22 | 1 | -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 Medico | 2010-01-29 | 1 | -18/+20 |
| | | | | svn path=/main/trunk/; revision=15216 | ||||
* | Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> for | Zac Medico | 2010-01-24 | 2 | -2/+8 |
| | | | | | | this patch. svn path=/main/trunk/; revision=15209 | ||||
* | Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. Thanks | Zac Medico | 2009-12-21 | 2 | -1/+8 |
| | | | | | | to Samuli Suominen <ssuominen@g.o> for this patch. svn path=/main/trunk/; revision=15128 |