summaryrefslogtreecommitdiffstats
path: root/pym/repoman
Commit message (Collapse)AuthorAgeFilesLines
* make_herd_base: encode unicode file paths safelyZac Medico2012-09-111-1/+4
| | | | | This will fix cases similar to the one fixed in commit f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.
* repoman: fix Unicode unequal comparison warningZac Medico2012-09-101-1/+1
|
* repoman: fix getstatusoutput more, bug #310789Zac Medico2012-09-091-10/+22
|
* repoman: remove IUSE.undefined checkZac Medico2012-08-081-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 funcZac Medico2012-06-201-1/+1
|
* repoman: handle trailing newlines betterMike Frysinger2012-06-121-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 timeMike Frysinger2012-06-121-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 regexZac Medico2012-06-081-5/+6
|
* InheritEclass: avoid false positive in func regexZac Medico2012-06-071-2/+5
|
* Handle more import exceptions involving xml.Zac Medico2012-06-041-1/+5
| | | | See http://bugs.python.org/issue14988
* InheritEclass: exempt auto/libtool for multilibZac Medico2012-06-031-1/+1
|
* InheritEclass: exempt autotools for libtoolZac Medico2012-06-031-1/+2
|
* InheritEclass: remove unused inherited_api codeZac Medico2012-06-011-14/+0
|
* InheritEclass: exempt eclasses that export src_*Zac Medico2012-06-011-3/+35
| | | | | We really need to annotate exceptions like these directly in the eclasses, but hardcode them for now.
* InheritEclass: kde4-base exemptionsZac Medico2012-06-011-2/+2
|
* InheritEclass: add stable / conservative modeZac Medico2012-06-011-2/+28
|
* InheritEclass: base and cmake-utils exemptionsZac Medico2012-05-311-1/+5
|
* InheritEclass: support inherit after && or ||Zac Medico2012-05-311-1/+1
|
* InheritEclass: exempt vim for eutilsZac Medico2012-05-311-1/+1
|
* InheritEclass: fix autotools for polylib-9999Zac Medico2012-05-301-2/+2
|
* InheritEclass: support subclass inherited_apiZac Medico2012-05-301-5/+18
|
* InheritEclass: move eclass info to a dictZac Medico2012-05-301-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 Medico2012-05-301-1/+1
|
* repoman: add a mini framework for checking eclasses, and fill it outMike Frysinger2012-05-252-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 itMike Frysinger2012-05-251-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 Medico2012-05-091-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 positivesZac Medico2012-04-231-2/+6
|
* EapiDefinition: handle impossible "%d" % Nonev2.2.0_alpha101Zac Medico2012-04-221-3/+3
|
* repoman: update EAPI.definition check for PMSZac Medico2012-04-151-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 Medico2012-04-131-2/+2
|
* Replace @returns with @return.Zac Medico2012-03-271-3/+3
|
* repoman: support overlays without repo_nameZac Medico2012-03-041-1/+32
|
* repoman: fix ebuild.badheader for bug #403705Zac Medico2012-02-141-0/+1
|
* repoman: check for env-update, bug #402339Zac Medico2012-02-121-1/+1
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-101-1/+1
|
* repoman: fix svn "abiguous workdir", bug #391199v2.2.0_alpha77Zac Medico2011-11-211-0/+4
|
* UpdateChangeLog: sort filesZac Medico2011-10-261-0/+4
|
* UpdateChangeLog: tweak clold_lines logicZac Medico2011-10-211-14/+17
| | | | There are two cases here that have to be mutually exclusive.
* update_copyright: make pretend a keyword argZac Medico2011-10-211-2/+2
|
* _update_copyright_year: optimize no-match caseZac Medico2011-10-211-1/+8
|
* update_copyright: process files as raw bytesZac Medico2011-10-211-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 regexZac Medico2011-10-201-12/+28
| | | | | This also fixes a case where something like "Copyright 2011 " would be replaced with "Copyright 2011-2011 ".
* UpdateChangeLog: tweak new/changed codedZac Medico2011-10-201-9/+8
|
* UpdateChangeLog: split out get_committer_name()Zac Medico2011-10-201-20/+24
|
* UpdateChangeLog: handle edge casesZac Medico2011-10-201-10/+28
| | | | | This should handle all kinds of variance in the input ChangeLog and skel.ChangeLog.
* UpdateChangeLog: don't hardcode 1999 copyrightZac Medico2011-10-201-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 semicolonZac Medico2011-10-201-1/+1
|
* update_copyright: don't hardcode 1999 start yearZac Medico2011-10-201-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.
* UpdateChangeLog: fix whitespaceFabian Groffen2011-10-201-2/+2
|
* repoman: update copyright on modified filesFabian Groffen2011-10-201-6/+85
| | | | | | To retain the behaviour of echangelog, update the copyrights on modified files (mostly ebuilds) when necessary. Also update the ChangeLog's copyright.