summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add bindbapi.getfetchsizes() like pordbapi has.Zac Medico2011-10-191-0/+28
|
* /etc/portage/modules: warn about metadata_overlayv2.2.0_alpha69Zac Medico2011-10-181-2/+9
| | | | | | This module is an alias for flat_hash now, and hasn't been useful since FEATURES=metadata-transfer was disabled by default in commit 81db3e467cd7f8bb94fcdf96d5fb4acf27bf382b.
* load_best_module: tweak metadata_overlay fallbackZac Medico2011-10-171-6/+9
|
* python3.2 fixes: "ResourceWarning: unclosed file"Zac Medico2011-10-171-20/+48
|
* python3.2 fixes: "ResourceWarning: unclosed file"Zac Medico2011-10-173-9/+10
|
* tests/repoman: fix 'unknown revision' git msgsZac Medico2011-10-171-1/+1
|
* Fix serialize_eclasses = False in cache template.Zac Medico2011-10-172-7/+29
| | | | | | | This fixes volatile cache validation that did not get fixed in commit a63c163a50bf8a4e5ca8673cd8bebae29c36643a. Now all volatile cache problems that have been introduced since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212 should be fixed.
* portdbapi: fix volatile cache handlingZac Medico2011-10-174-120/+20
| | | | | | | | | The metadata_overlay usage, that was triggered automatically for users without depcachedir write access, has been broken since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. The metadata_overlay class is not compatible with the new validation code, so remove it. If users have metadata_overlay configured as their cache module, fall back to flat_hash.
* eclass_cache: fix volatile cache DigestExceptionZac Medico2011-10-171-3/+3
| | | | | The deepcopy in catch/volatile.py misbehaved when it tried to copy attributes like __DEEPCOPY__ that didn't correspond to known functions.
* UpdateChangeLog: use struct_passwd attributesZac Medico2011-10-171-3/+3
|
* 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.