Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repoman: check EXTRA_ECONF/EMAKE, bug #437348 | Zac Medico | 2012-10-08 | 1 | -1/+14 |
| | |||||
* | repoman: simplify EbuildAssignment check | Zac Medico | 2012-10-08 | 1 | -9/+1 |
| | | | | | | | The line continuation code is no longer needed since commit a1578c654f26cab07309bc9cbddd3c95c0c205b5, because wrapped lines are automatically joined before they are passed to the check. Also, inherit ignore_comment = True from LineCheck. | ||||
* | make_herd_base: encode unicode file paths safely | Zac Medico | 2012-09-11 | 1 | -1/+4 |
| | | | | | This will fix cases similar to the one fixed in commit f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789. | ||||
* | repoman: fix Unicode unequal comparison warning | Zac Medico | 2012-09-10 | 1 | -1/+1 |
| | |||||
* | repoman: fix getstatusoutput more, bug #310789 | Zac Medico | 2012-09-09 | 1 | -10/+22 |
| | |||||
* | repoman: remove IUSE.undefined check | Zac Medico | 2012-08-08 | 1 | -21/+1 |
| | | | | | | | This was suggested in the "Don't require assignment of empty variables in ebuilds?" thread on the gentoo-dev mailing list: http://thread.gmane.org/gmane.linux.gentoo.devel/78806 | ||||
* | InheritEclass: add user esethome func | Zac Medico | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | repoman: handle trailing newlines better | Mike Frysinger | 2012-06-12 | 1 | -3/+8 |
| | | | | | | | | Automatically strip trailing newlines from the ChangeLog, and be better about not adding them in the first place (still not perfect, but getting there). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | repoman: update cat/pkg info in header all the time | Mike Frysinger | 2012-06-12 | 1 | -25/+32 |
| | | | | | | | | | | | There are edge cases where repoman's changelog code is not as good as the existing echangelog. Mostly related to out of date headers. Have the code check the header in more cases not just for missing lines, but also outdated values all the time. While we're at it, write some tests! Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | InheritEclass: avoid false positive in func regex | Zac Medico | 2012-06-08 | 1 | -5/+6 |
| | |||||
* | InheritEclass: avoid false positive in func regex | Zac Medico | 2012-06-07 | 1 | -2/+5 |
| | |||||
* | Handle more import exceptions involving xml. | Zac Medico | 2012-06-04 | 1 | -1/+5 |
| | | | | See http://bugs.python.org/issue14988 | ||||
* | InheritEclass: exempt auto/libtool for multilib | Zac Medico | 2012-06-03 | 1 | -1/+1 |
| | |||||
* | InheritEclass: exempt autotools for libtool | Zac Medico | 2012-06-03 | 1 | -1/+2 |
| | |||||
* | InheritEclass: remove unused inherited_api code | Zac Medico | 2012-06-01 | 1 | -14/+0 |
| | |||||
* | InheritEclass: exempt eclasses that export src_* | Zac Medico | 2012-06-01 | 1 | -3/+35 |
| | | | | | We really need to annotate exceptions like these directly in the eclasses, but hardcode them for now. | ||||
* | InheritEclass: kde4-base exemptions | Zac Medico | 2012-06-01 | 1 | -2/+2 |
| | |||||
* | 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 | 2 | -49/+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 | ||||
* | Handle SystemError when importing xml libraries. | Zac Medico | 2012-04-13 | 1 | -2/+2 |
| | |||||
* | Replace @returns with @return. | Zac Medico | 2012-03-27 | 1 | -3/+3 |
| | |||||
* | repoman: support overlays without repo_name | Zac Medico | 2012-03-04 | 1 | -1/+32 |
| | |||||
* | 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 |
| | |||||
* | Use portage.shutil for safer unicode handling. | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | repoman: fix svn "abiguous workdir", bug #391199v2.2.0_alpha77 | Zac Medico | 2011-11-21 | 1 | -0/+4 |
| | |||||
* | UpdateChangeLog: sort files | Zac Medico | 2011-10-26 | 1 | -0/+4 |
| | |||||
* | UpdateChangeLog: tweak clold_lines logic | Zac Medico | 2011-10-21 | 1 | -14/+17 |
| | | | | There are two cases here that have to be mutually exclusive. | ||||
* | update_copyright: make pretend a keyword arg | Zac Medico | 2011-10-21 | 1 | -2/+2 |
| | |||||
* | _update_copyright_year: optimize no-match case | Zac Medico | 2011-10-21 | 1 | -1/+8 |
| | |||||
* | update_copyright: process files as raw bytes | Zac Medico | 2011-10-21 | 1 | -10/+20 |
| | | | | | This function will work correctly with files encoded in any character set, as long as the copyright statements consist of plain ASCII. | ||||
* | UpdateChangeLog: split out/test copyright regex | Zac Medico | 2011-10-20 | 1 | -12/+28 |
| | | | | | This also fixes a case where something like "Copyright 2011 " would be replaced with "Copyright 2011-2011 ". | ||||
* | UpdateChangeLog: tweak new/changed coded | Zac Medico | 2011-10-20 | 1 | -9/+8 |
| | |||||
* | UpdateChangeLog: split out get_committer_name() | Zac Medico | 2011-10-20 | 1 | -20/+24 |
| | |||||
* | UpdateChangeLog: handle edge cases | Zac Medico | 2011-10-20 | 1 | -10/+28 |
| | | | | | This should handle all kinds of variance in the input ChangeLog and skel.ChangeLog. | ||||
* | UpdateChangeLog: don't hardcode 1999 copyright | Zac Medico | 2011-10-20 | 1 | -2/+2 |
| | | | | | | We want repoman to be applicable to as many repositories as possible. If necessary, we can add another layout.conf attribute that configures the copyright start years for all files. | ||||
* | update_copyright: remove stray semicolon | Zac Medico | 2011-10-20 | 1 | -1/+1 |
| | |||||
* | update_copyright: don't hardcode 1999 start year | Zac Medico | 2011-10-20 | 1 | -4/+5 |
| | | | | | | We want repoman to be applicable to as many repositories as possible. If necessary, we can add another layout.conf attribute that configures the copyright start years for all files. |