summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove redundant eprefix in config constructors.Zac Medico2011-12-101-5/+4
| | | | | Since commit 11a7448f1d5a0bfb38f8de9d66a8fa8d7118c877, the config constructor uses portage.const.EPREFIX by default.
* config: make eprefix constructor parameter publicZac Medico2011-12-091-4/+4
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-091-1/+1
|
* Delete portage.dbapi.porttree._repo_info class and _repo_info attribute ofArfrever Frehtes Taifersar Arahesis2011-12-091-3/+3
| | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects.
* repoman: fix svn "abiguous workdir", bug #391199v2.2.0_alpha77Zac Medico2011-11-211-0/+1
|
* Use bytes instead of unicode with isinstance.Zac Medico2011-10-281-1/+1
| | | | | This is preferred since the bytes type is available in all supported python versions, while the unicode type is only available in python2.
* Fix missed ROOT -> EROOT changes.Zac Medico2011-10-271-3/+3
| | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a.
* repoman: add opts and repo config debug outputZac Medico2011-10-261-0/+3
|
* UpdateChangeLog: split out get_committer_name()Zac Medico2011-10-201-4/+7
|
* repoman: get ChangeLog header from skel.ChangeLogFabian Groffen2011-10-201-1/+1
| | | | | | | Use skel.ChangeLog from the repo to create the header of a new ChangeLog file. Else, we just retain the original header of the ChangeLog. When no skel.ChangeLog file exists, and this is a new ChangeLog, no header is used.
* repoman: get default to update changelog from layout.confFabian Groffen2011-10-201-4/+1
| | | | | | | | | | | | | Updating the ChangeLog file may be desirable in more repos than just the one named 'gentoo', like e.g. the Prefix one. Hence, make this default configurable though metadata/layout.conf. This commit must go accompanied by a commit to gentoo-x86/metadata/layout.conf that adds the following bit: # Bug #337853 - gentoo's council says to enable # --echangelog by default for the "gentoo" repo update-changelog = true
* python3.2 fixes: "ResourceWarning: unclosed file"Zac Medico2011-10-171-20/+48
|
* repoman: support --echangelog=forceZac Medico2011-10-161-5/+6
| | | | | Allows forced ChangeLog generation even when the vcs has detected that the ChangeLog has already been modified.
* repoman: handle subprocess bug with Python 3.1Zac Medico2011-10-161-1/+9
|
* repoman: simplify autoadd codeZac Medico2011-10-161-25/+11
|
* repoman: implemented echangelog functionalityFabian Groffen2011-10-161-58/+59
| | | | | | | | | | Instead of calling echangelog, which on its turn has to query the VCS again, use the existing information on changes made to the current directory, and update the ChangeLog from Python itself. This avoids a call to echangelog, and avoids again retrieving the same VCS information as repoman already did. It makes repoman independent from external tools it didn't install itself, and should be faster in general.
* repoman: remove unused importsZac Medico2011-10-151-3/+1
|
* repoman: handle categories for multiple mastersZac Medico2011-10-151-1/+2
| | | | | | Also, copy repoman_settings.categories to each individual profile's dep_settings.categories attribute, in order to ensure that portdbapi.cp_list() uses the correct category set.