summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove extended package set configuration docs.v2.1.10.28Zac Medico2011-10-164-25/+9
| | | | Extended package sets configuration is disabled in the stable branch.
* Remove FEATURES=preserve-libs config/docs.Zac Medico2011-10-163-20/+6
| | | | Support for FEATURES=preserve-libs is disabled in the stable branch.
* portage.const: toggle constants for stable branchZac Medico2011-10-161-5/+5
| | | | | | | | _ENABLE_DYN_LINK_MAP = False _ENABLE_PRESERVE_LIBS = False _ENABLE_REPO_NAME_WARN = False _ENABLE_SET_CONFIG = False _SANDBOX_COMPAT_LEVEL = "16"
* tests/repoman: fix manifests before adding to gitv2.2.0_alpha68Zac Medico2011-10-161-0/+1
|
* portdbapi.aux_get: remove redunant EAPI codeZac Medico2011-10-161-11/+8
| | | | This code only needs to exist in _metadata_callback.
* repoman: support --echangelog=forceZac Medico2011-10-162-7/+9
| | | | | Allows forced ChangeLog generation even when the vcs has detected that the ChangeLog has already been modified.
* UpdateChangeLog: show trivial if nothing elseZac Medico2011-10-161-5/+20
| | | | | Like echangelog does, show ChangeLog or Manifest if there are no other changes to display.
* perform_checksum: OSerror to PermissionDeniedZac Medico2011-10-161-1/+3
|
* hashed_path: convert OSError to PermissionDeniedZac Medico2011-10-161-0/+2
|
* man/repoman.1: update date in headerZac Medico2011-10-161-1/+1
|
* repoman: handle subprocess bug with Python 3.1Zac Medico2011-10-161-1/+9
|
* tests/repoman: test commit with gitZac Medico2011-10-161-11/+84
| | | | | These tests only run if the git binary is found. They include testing of new --echangelog=y option.
* tests/emerge: test --regen and --metadataZac Medico2011-10-161-5/+37
|
* UpdateChangeLog: update copyright year in headerZac Medico2011-10-161-2/+10
| | | | | This feature got dropped on commit b655137b7b5f87c11a7e742b7ef0e028a1139677.
* repoman: simplify autoadd codeZac Medico2011-10-161-25/+11
|
* UpdateChangeLog: optimize and add unicode supportZac Medico2011-10-161-32/+70
| | | | | | | | Also: * copy the old header from the old ChangeLog if it exists, in case it contains a non-gentoo header * don't add a header if the old ChangeLog exists and doesn't contain a header
* repoman: implemented echangelog functionalityFabian Groffen2011-10-162-60/+179
| | | | | | | | | | 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.
* hashed_path: convert stat OSError to FileNotFoundZac Medico2011-10-162-4/+9
| | | | | This makes it consistent with perform_checksum call which also raises FileNotFound instead of OSError.
* EbuildMetadataPhase: avoid redundant EAPI parsingZac Medico2011-10-162-3/+5
|
* man/emerge.1: update date in headerZac Medico2011-10-161-1/+1
|
* Add --binpkg-exclude optionSebastian Luther2011-10-164-6/+37
| | | | | This options disables creation of binary packages, no matter what enabled it in the first place. See bug 386903.
* Fix a typo in a comment.Arfrever Frehtes Taifersar Arahesis2011-10-161-1/+1
|
* RepoConfig: sort __slots__Zac Medico2011-10-151-2/+2
|
* _pull_valid_cache: pass unicode to hashed_pathZac Medico2011-10-151-4/+1
| | | | | | | | | This removes a conversion to bytes that should have been removed in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. The hashed_path location attribute should always be unicode, for consistency will path handling throughout portage. The hashed_path class internally uses the portage portage.os wrapper to ensure that paths are encoded as utf_8 bytes when they are passed to the real os module for stat calls.
* MetadataRegen: remove unused importZac Medico2011-10-151-1/+0
|
* egencache: remove unused importZac Medico2011-10-151-1/+0
|
* EbuildMetadataPhase: tweak metadata_callback usageZac Medico2011-10-151-3/+2
| | | | | For parse-eapi-ebuild-head, we want to assign self.metadata from the return value, for conformity with usage elsewhere.
* 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.
* EbuildMetadataPhase: fix parse-eapi-ebuild-headZac Medico2011-10-151-2/+7
| | | | | This fixes bugs that can only be triggered by egencache since other callers handle parse-eapi-ebuild-head earlier.
* EbuildMetadataPhase: fix broken _metadata_callbackZac Medico2011-10-151-2/+2
| | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support for egencache since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* repoman: remove unused importsZac Medico2011-10-151-3/+1
|
* bin/ebuild: don't set PORTAGE_CALLERZac Medico2011-10-152-2/+1
| | | | This removes the last reference to PORTAGE_CALLER.
* fixpackages: don't use PORTAGE_CALLERZac Medico2011-10-153-9/+16
|
* portdbapi.aux_get: fix broken _metadata_callbackZac Medico2011-10-151-1/+1
| | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* EbuildMetadataPhase: use b''.join() for bytesZac Medico2011-10-151-3/+3
|
* 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-152-5/+7
|
* repoman: validate categories for vcs filesZac Medico2011-10-151-11/+13
|
* FindVCS: support Subversion 1.7Fabian Groffen2011-10-151-2/+4
| | | | | Since subversion 1.7, only a top-level .svn dir is used. Make FindVCS also deal with that. (Tested with repoman on Prefix SVN-based tree.)
* emerge --metadata: fix empty INHERITED handlingZac Medico2011-10-142-3/+8
| | | | | | | | Since changes to eclass validation code in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212, validation of cache for packages with empty INHERITED metadata has been broken due to failure to distinguish between None and empty dict return values from eclass.cache.validate_and_rewrite_cache().
* emerge --metadata: fix breakageZac Medico2011-10-142-6/+18
| | | | | | The hunk that got removed from action_metadata in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6 is actually needed when FEATURES=metadata-transfer is enabled.
* 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
|
* eclass_cache: fix cache_getter typoZac Medico2011-10-141-1/+1
| | | | | | This triggered a regression since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212 that caused cache entries containing eclass paths to appear invalid.
* layout.conf: add git friendly pregenerated cache formatBrian Harring2011-10-142-3/+12
| | | | | | | | | | | | | | | | | Enabled via cache-format = md5-dict This format is essentially just flat_hash, using md5 rather than mtime, and dropping the path component from _eclasses_ entries. From a speed standpoint, the md5 overhead is ~16% in comparison to mtime, timed on a modern sandybridge; specifically, validating 29k nodes takes ~8.8s for flat_md5, while the pms norm is ~7.7s. That said, the cache is /usable/ in places PMS is not; in those cases, it can definitely be a win since even if the cache is partially old, it's better than regenerating everything from scratch. (cherry picked from commit 95ddf97e2f7e7d3f6a072604b2df5f77e9298558) Change-Id: Ic3561369b7a8be7f86480f339ab1686fddea6dff
* cache: rewrite to support arbitrary validation methodBrian Harring2011-10-1410-105/+192
| | | | | | | | | | 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
* cache.util: drop completely dead module/codeBrian Harring2011-10-142-191/+5
| | | | | | | Looks of it, this code was copied/mangled into action_metadata; the noise/callbacks in use don't do anything, so drop them, the dead code, and clean up the exception handling to reflect the new reality (cherry picked from commit 320890fadbedf678119ac06d458ed6086075431e)
* repoman: handle unicode in echangelog argsZac Medico2011-10-141-3/+7
|