summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Enable colors during the depend phase.Zac Medico2011-11-051-14/+13
|
* phase-helpers.sh: fix best/has_version for prefixZac Medico2011-11-011-4/+8
|
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-0130-189/+284
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* Merge install_qa_check_prefix from prefix branch.Zac Medico2011-11-011-0/+124
|
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2011-10-301-3/+3
|
* egencache: tweak redundant write check conditionZac Medico2011-10-291-17/+16
| | | | | We can use the raise_stat_collision attribute to determine when it is necessary to check for redundant writes.
* Use dbapi._known_keys more.Zac Medico2011-10-291-1/+1
|
* egencache: avoid redundant md5-dict writesZac Medico2011-10-291-13/+45
| | | | | The pms cache already does this automatically, since __setitem__ calls are used to detect stat collisions in order to solve bug #139134.
* egencache: ensure correct porttreesZac Medico2011-10-291-0/+2
| | | | | | | The GenCache class assumes that portdb.porttrees[0] is the desired tree, so assert that it is true. The behavior should have already been correct, since PORTDIR_OVERLAY was already set to an empty string when necessary.
* egencache: fix StatCollision handling breakageZac Medico2011-10-291-3/+3
| | | | | This has been broken since the _eclasses_ structure changed in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* egencache: update ebuild_hash.mtime after utimeZac Medico2011-10-291-0/+1
|
* egencache: multiple cache-formats supportZac Medico2011-10-291-14/+26
| | | | | If layout.conf contains "cache-formats = md5-dict pms", egencache will now write both formats.
* portageq: refer to <eroot> instead of <root>Zac Medico2011-10-281-25/+25
| | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, portageq takes EROOT as the first argument of commands that require a root argument. So, update the docs to refer to <eroot> instead of <root>.
* Use EROOT to validate path arguments.Zac Medico2011-10-281-1/+1
|
* Use bytes instead of unicode with isinstance.Zac Medico2011-10-282-3/+3
| | | | | This is preferred since the bytes type is available in all supported python versions, while the unicode type is only available in python2.
* Check for bytes instead of unicode in args.Zac Medico2011-10-282-3/+3
| | | | | | This simplifies the checks 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-272-4/+4
| | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a.
* repoman: add opts and repo config debug outputZac Medico2011-10-261-0/+3
|
* layout.conf: rename cache_format to cache_formatsZac Medico2011-10-251-1/+2
| | | | | | We read layout.conf cache-formats from left to right and use the first supported type that's found. This will allow support for multiple formats in parallel, providing for smooth transitions between formats.
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-256-41/+44
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
* UpdateChangeLog: split out get_committer_name()Zac Medico2011-10-201-4/+7
|
* misc-functions.sh: condense world-writable outputZac Medico2011-10-201-7/+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
* misc-functions.sh: move sleep out of loopZac Medico2011-10-201-2/+2
| | | | | | Having sleep in the world-writable loop causes riduculous delays for prefix users with exotic filesystem constraints (like a FAT filesystem mounted with umask=000).
* 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.
* egencache: remove unused importZac Medico2011-10-151-1/+0
|
* egencache: add _mtime_ to metadataZac Medico2011-10-151-2/+1
| | | | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support for egencache since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. If the metadata does not contain _mtime_ here, then _setitem from cache.metadata.database will raise KeyError.
* repoman: remove unused importsZac Medico2011-10-151-3/+1
|
* bin/ebuild: don't set PORTAGE_CALLERZac Medico2011-10-151-1/+0
| | | | This removes the last reference to PORTAGE_CALLER.
* fixpackages: don't use PORTAGE_CALLERZac Medico2011-10-151-4/+5
|
* 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
|
* cache: rewrite to support arbitrary validation methodBrian Harring2011-10-142-8/+12
| | | | | | | | | | Specifically, the cache can use any portage supported checksum method, or use the standard mtime approach. In addition, support controlling whether or not paths are stored, and generally try to restore some of the centralization/encapsulation that was in place originally. (cherry picked from commit bc1aed614fb588f0ade5bcb5d1265a8db0f8d247) Change-Id: Ic38057e7dbb15063c64a93c99e66e113a7d4c70e
* 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
|
* Add QA_SONAME_NO_SYMLINK for bug #387053.Zac Medico2011-10-131-0/+4
|
* quickpkg: optimize */* matchesZac Medico2011-10-131-0/+5
|
* portageq match: wildcard supportZac Medico2011-10-131-8/+35
|
* layout.conf: make the pregenerated cache format controllableBrian Harring2011-10-131-2/+2
| | | | | | | | | | | Controllable via 'cache-format', currently it supports only one cache; 'pms', and defaults to it. If an unsupported cache-format is specified, the cache is disabled. If pms is specified and metadata/cache directory doesn't exist, the cache is disabled. Finally, this rips out the best module support for locally overriding the cache format used for pregenerated caches; this functionality made zero sense (upstream determines the format, we use what is available).