summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Only validate .desktop files that are installed into XDG-compliant locations.Michael Palimaka2012-09-111-24/+0
| | | | This replaces the existing error blacklist, and therefore removes the repoman check.
* repoman: fix os.system() unicode, bug #310789Zac Medico2012-09-101-1/+7
|
* repoman: ElementTree.parse: encode unicode pathZac Medico2012-09-101-1/+2
| | | | This fixes another issue like bug #310789.
* repoman: fix getstatusoutput unicode, bug #310789Zac Medico2012-09-091-6/+27
|
* repoman: fix popen unicode handling, bug #310789Zac Medico2012-09-091-27/+61
|
* Unconditionally insert our pym dir in sys.path.Zac Medico2012-09-021-6/+4
| | | | | This is especially necessary when running in prefix mode, since sys.path may contain the path for a different version of portage.
* EAPI 5: REQUIRED_USE at-most-one-of ?? operatorZac Medico2012-08-271-1/+1
| | | | | See bug #354219 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=1c2dff2df2305aff88a734e3a2716de1bb69f3b6
* repoman: remove IUSE.undefined checkZac Medico2012-08-081-2/+0
| | | | | | | 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
* repoman: libusb virtual.suspect, bug #417123Samuli Suominen2012-08-051-0/+3
|
* repoman: add 'VIRTUAL.suspect' class of warningsSergei Trofimovich2012-06-171-0/+18
| | | | | | | | | | | | | Searches all the *DEPENDS against static map of: { 'package' : 'virtual' } Example output: > VIRTUAL.suspect 1 > dev-haskell/cabal/cabal-1.15.0_pre20120608.ebuild: consider using 'virtual/pkgconfig' insted of 'dev-util/pkgconf' Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* repoman: warn about every 'pkgconfig' implementation in RDEPENDsSergei Trofimovich2012-06-151-0/+4
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* repoman: tweak code for bug #420735Zac Medico2012-06-111-1/+1
|
* repoman: Manifest after ChangeLog, bug #420735Zac Medico2012-06-111-0/+5
|
* repoman: try to sign Manifest only if it existsZac Medico2012-06-051-1/+4
| | | | | | This case occurs with "thin-manifests = true" in metadata/layout.conf when there are no distfiles (like for live ebuilds), as reported in bug #419717.
* Handle more import exceptions involving xml.Zac Medico2012-06-041-1/+5
| | | | See http://bugs.python.org/issue14988
* repoman: fix _mask_manager assignmentZac Medico2012-06-041-1/+1
| | | | This broke in commit 09980f19e584b644b9e2cf4d5e1e0369b6062ca1.
* repoman: inherit.missing non-fatal (experimental)Zac Medico2012-06-011-0/+4
|
* repoman: add a mini framework for checking eclasses, and fill it outMike Frysinger2012-05-251-3/+3
| | | | | | | | | | | | | 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: tweak elif vcs check style to be consistentMike Frysinger2012-05-241-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "Bug #413983: Add portage.util.urlopen(), which transparently handles ↵Zac Medico2012-05-131-2/+7
| | | | | | | authentication in the way compatible with Python 3." This reverts commit 0a9cc38a66ded0cf0e5b534cb24b970fc9c21920. As reported in bug #415579, that commit broke FTP authentication.
* repoman: simplify ebuild sort codeZac Medico2012-05-131-11/+4
|
* Parse EAPI with pattern from PMS section 7.3.1.Zac Medico2012-05-091-1/+1
| | | | | | | | 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.
* Bug #413983: Add portage.util.urlopen(), which transparentlyArfrever Frehtes Taifersar Arahesis2012-05-011-7/+2
| | | | handles authentication in the way compatible with Python 3.
* repoman: ignore false Service desktop entry errorZac Medico2012-04-301-4/+4
| | | | This will fix bug #414125.
* repoman: check LIVEVCS.stable for gentoo onlyZac Medico2012-04-301-1/+1
| | | | This will fix bug #414123.
* repoman: cleanup code for KEYWORDS.invalidZac Medico2012-04-221-5/+5
|
* portdbapi: update comment about repoman cachesZac Medico2012-04-221-0/+3
|
* repoman: support * and ~* keywordsZac Medico2012-04-221-1/+1
| | | | | These special keywords are used by Funtoo, and have been supported in KeywordsManager since commit 9144faeb653b9f1dbe74c69f85cd48f26761aa2f.
* repoman: update EAPI.definition check for PMSZac Medico2012-04-151-1/+1
| | | | | | 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-1/+1
|
* repoman: only assume cvs preserves mtimesZac Medico2012-04-011-1/+1
|
* repoman: disable header/timestamp check for svnv2.2.0_alpha98Zac Medico2012-04-011-1/+1
|
* Replace @returns with @return.Zac Medico2012-03-271-1/+1
|
* Exit status 128 + SIGINT for --ask 'no' answer.Zac Medico2012-03-251-1/+1
| | | | This will fix bug #409647.
* repoman: disable dependency.unknown for blockersZac Medico2012-03-221-1/+5
| | | | This will fix bug #382407.
* repoman: add --digest=<y|n> option, bug #406875Zac Medico2012-03-171-2/+8
|
* repoman: ignore temp files, bug #406877Zac Medico2012-03-171-0/+22
| | | | | | | | If the file isn't in the VCS new or changed set, then assume that it's an irrelevant temporary file. This relies on commit 2dac56fa282645031eb29860abc403e983a04b2d to guarantee that Manifest entries are not generated for file names containing prohibited characters.
* Manifest: filter file names with repoman's regexZac Medico2012-03-171-1/+2
| | | | | | This makes Manifest generation consistent with repoman, which is necessary if repoman is going to ignore irrelevant files as requested in bug #406877.
* repoman: say Git >=1.7.9 needed for signed commitZac Medico2012-03-041-1/+22
|
* repoman: make virtual.oldstyle an errorZac Medico2012-02-171-1/+3
| | | | | Also, add "allow-provide-virtuals = true" setting for metadata/layout.conf which reduces it to a warning.
* repoman: no ChangeLog for Manifest-only commitZac Medico2012-02-101-0/+9
| | | | | Use --echangelog=force to force ChangeLog generation in this case. See bug #398009.
* repoman: support PORTAGE_CONFIGROOT, bug 402577Zac Medico2012-02-101-2/+4
|
* repoman: remove redundant config constructorZac Medico2012-02-101-2/+0
|
* repoman: make SRC_URI.mirror fatalZac Medico2012-02-081-1/+0
| | | | Thanks to Christian Ruppert <idl0r@gentoo.org> for the suggestion.
* repoman: normalize thirdpartymirrors trailing /Zac Medico2012-02-081-1/+4
|
* repoman: support git commit --gpg-signZac Medico2012-02-041-0/+7
| | | | | | | In order to sign commits with git, you will need Git >=1.7.9 and your key will have to be configured by `git config user.signingkey key_id`. Also, the repository will need to have "sign-commits = true" in metadata/layout.conf. This will fix bug #333687.
* repoman: remove ebuild.allmasked checkZac Medico2012-01-011-15/+0
| | | | | | | This check it pretty useless, since there packages don't necessarily need to have any stable keywords, and nobody relies on this check to decide when to keyword something. Also, remove references to the ebuild.nostable which doesn't seem to exist anymore.
* repoman: discard xmatch caches from previous pkgsZac Medico2012-01-011-0/+2
| | | | | This should help prevent repoman from consuming too much memory when checking multiple packages or the whole tree.
* repoman: later --ask prompt for bug #395995Zac Medico2011-12-251-4/+4
|
* repoman: eliminate eclass_db variableZac Medico2011-12-101-3/+2
|