Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | InheritEclass: add stable / conservative mode | Zac Medico | 2012-06-01 | 1 | -2/+28 |
| | |||||
* | InheritEclass: base and cmake-utils exemptions | Zac Medico | 2012-05-31 | 1 | -1/+5 |
| | |||||
* | InheritEclass: support inherit after && or || | Zac Medico | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | InheritEclass: exempt vim for eutils | Zac Medico | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | InheritEclass: fix autotools for polylib-9999 | Zac Medico | 2012-05-30 | 1 | -2/+2 |
| | |||||
* | InheritEclass: support subclass inherited_api | Zac Medico | 2012-05-30 | 1 | -5/+18 |
| | |||||
* | InheritEclass: move eclass info to a dict | Zac Medico | 2012-05-30 | 1 | -84/+91 |
| | | | | | This handles the info more like it will be handled when we parse it directly from eclasses. | ||||
* | Use any() to optimize intersection operations. | Zac Medico | 2012-05-30 | 1 | -1/+1 |
| | |||||
* | repoman: add a mini framework for checking eclasses, and fill it out | Mike Frysinger | 2012-05-25 | 1 | -48/+113 |
| | | | | | | | | | | | | | 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: unroll escaped lines so we can check the entirety of it | Mike Frysinger | 2012-05-25 | 1 | -12/+53 |
| | | | | | | | | | Sometimes people wrap long lines in their ebuilds to make it easier to read, but this causes us issues when doing line-by-line checking. So automatically unroll those lines before passing the full content down to our checkers. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | Parse EAPI with pattern from PMS section 7.3.1. | Zac Medico | 2012-05-09 | 1 | -4/+3 |
| | | | | | | | | This implements the specification that was approved in Gentoo's council meeting on May 8, 2012 (see bug #402167). The parse-eapi-ebuild-head FEATURES setting is now enabled by default, and causes non-conformant ebuilds to be treated as invalid. This behavior will soon become enabled unconditionally. | ||||
* | repoman: fix portage.internal false positives | Zac Medico | 2012-04-23 | 1 | -2/+6 |
| | |||||
* | EapiDefinition: handle impossible "%d" % Nonev2.2.0_alpha101 | Zac Medico | 2012-04-22 | 1 | -3/+3 |
| | |||||
* | repoman: update EAPI.definition check for PMS | Zac Medico | 2012-04-15 | 1 | -9/+25 |
| | | | | | | The plan is to update PMS section 8.3.1 as discussed here: http://archives.gentoo.org/gentoo-pms/msg_ef7635aa655913f2386e64e385f5a6ae.xml | ||||
* | repoman: fix ebuild.badheader for bug #403705 | Zac Medico | 2012-02-14 | 1 | -0/+1 |
| | |||||
* | repoman: check for env-update, bug #402339 | Zac Medico | 2012-02-12 | 1 | -1/+1 |
| | |||||
* | Add repoman warning about bash-completion deprecation. | Michał Górny | 2011-09-10 | 1 | -0/+1 |
| | |||||
* | repoman: check more helper calls for $D, $ED... | Zac Medico | 2011-08-08 | 1 | -1/+1 |
| | | | | | | This adds docinto, docompress, fowners and fperms to the variable.usedwithhelpers check. Notably absent is dosed since that supports mixed input. This will fix bug #377303. | ||||
* | repoman: tighten regex for useq and hasq | Zac Medico | 2011-07-08 | 1 | -3/+3 |
| | |||||
* | repoman: centralize code for ignoring comments | Zac Medico | 2011-07-08 | 1 | -6/+11 |
| | |||||
* | repoman: check for deprecated useq and hasq calls | Dane Smith | 2011-07-08 | 1 | -1/+14 |
| | |||||
* | repoman: disallow EMERGE_FROM in EAPI 4 | Zac Medico | 2011-05-31 | 1 | -2/+3 |
| | | | | | | We already have the Eapi4GoneVars check for AA and KV which were removed in EAPI 4, so we can re-use it to disallow EMERGE_FROM. This will fix bug #368865. | ||||
* | repoman: deprecate more eclasses | Tomas Chvatal | 2011-04-20 | 1 | -0/+5 |
| | |||||
* | repoman: variable.usedwithhelpers ignore quoted | Zac Medico | 2011-02-28 | 1 | -1/+3 |
| | |||||
* | repoman: warn about calls to prepall and preplib | Zac Medico | 2011-02-27 | 1 | -1/+1 |
| | |||||
* | repoman: add back portage.internal check | Zac Medico | 2011-02-25 | 1 | -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 regex | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | | | | This will fix bug #355621. | ||||
* | repoman: variable.usedwithhelpers ignore comments | Zac Medico | 2011-02-12 | 1 | -1/+1 |
| | | | | This will fix bug #354685. | ||||
* | 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 | 1 | -2/+11 |
| | | | | | | | 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). | ||||
* | 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 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 | 1 | -1/+7 |
| | | | | 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 | 1 | -1/+19 |
| | | | | Thanks to Jeremy Olexa (darkside) for the initial patch. | ||||
* | 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 |
| | |||||
* | Bug #326553 - check for preserve_old_lib | Samuli Suominen | 2010-07-08 | 1 | -1/+8 |
| | |||||
* | 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. | ||||
* | also check quoting on the Prefix variables added in EAPI=3, thanks jlec for ↵ | Fabian Groffen | 2010-04-05 | 1 | -0/+3 |
| | | | | the suggestion | ||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| |