summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* frozenset categories optimize pordbapi.cp_list()Zac Medico2011-10-151-3/+3
|
* repoman: validate categories for vcs filesZac Medico2011-10-151-11/+13
|
* repoman: simplify digestgen and gpgsign loopsZac Medico2011-10-141-73/+11
| | | | | We can re-use the vcs_files_to_cps() function from commit 9c9145a9e3c2d8d1bcebf791ce2188add656fee2.
* repoman: optimize --if-modified and --echangelogZac Medico2011-10-141-25/+39
| | | | Avoid unnecessary nested loops.
* repoman --echangelog: fix manifest-only commmitsZac Medico2011-10-141-2/+4
|
* repoman --if-modified: handle removed filesZac Medico2011-10-141-4/+22
|
* repoman: handle unicode in echangelog argsZac Medico2011-10-141-3/+7
|
* repoman: add --echangelog=<y|n> for bug #337853Zac Medico2011-10-141-56/+118
| | | | | | | | This option will call echangelog for each package that has modified files and does not have a modified ChangeLog. Gentoo's council has decided that this option will be enabled by default for the "gentoo" repository. If desired, we can add a metadata/layout.conf setting so that other repositories can control the default behavior.
* repoman: support REPOMAN_DEFAULT_OPTS variableZac Medico2011-10-141-0/+9
|
* repoman: add 'repository' to portdbapi cacheZac Medico2011-10-071-1/+1
| | | | | | | This fixes _getMaskAtom to work correctly with the repo atoms that are generated by MaskManager, solving the issue reported here: https://github.com/cschwan/sage-on-gentoo/issues/90#issuecomment-2324953
* repoman: tweak myupdates/myheaders commit logicv2.2.0_alpha63Zac Medico2011-10-071-2/+1
| | | | | | | | If we unconditionally exclude myremoved from myupdates, then removed files will also be excluded from myheaders. This allows us to avoid unnecessary separate manifest commits in cases when "myheaders" only contained files that were being removed. Since our code always uses myupdates + myremoved, this change in logic doesn't break anything.
* repoman: tweak commit logic wrt thin-manifestZac Medico2011-10-071-1/+1
| | | | | Don't populate the "myheaders" variable when we have thin-manifests that contain only DIST entries.
* Don't do a split signed Manifest commit when no headers will change. Fixes ↵Nathan Phillip Brink2011-10-071-6/+9
| | | | bug #340475.
* repoman: bail out if unsupported manifest-hashesZac Medico2011-10-031-0/+25
|
* repoman: account for GLEP 59 in RMD160 checkZac Medico2011-10-031-20/+20
|
* repoman: never force unsigned manifest commitv2.2.0_alpha60Zac Medico2011-09-291-33/+0
| | | | | | | | This removes a special case where manifests would first be commited without signatures for category-level or greater commits. This case behavior wasn't very useful anyway, and would be a problem if the unsigned manifests got rejected by a commit hook (as may happen in the near future).
* portdbapi.xmatch: optimize minimum-visibleZac Medico2011-09-241-1/+1
| | | | | | Also, make repoman cache IUSE, since that's required for _match_use to work effciently. This will eliminate lots of redundant aux_get calls for repoman, triggered by USE deps.
* portdbapi.xmatch: deprecate list-visibleZac Medico2011-09-221-1/+1
|
* repoman: quote paths in PORTDIR_OVERLAYZac Medico2011-09-161-1/+2
| | | | This will fix bug #383269.
* Remove unused Manifest imports.v2.2.0_alpha58Zac Medico2011-09-141-1/+0
|
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2011-09-141-2/+2
|