Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cache/template.__getitem__: filter INHERITED | Zac Medico | 2011-10-29 | 2 | -1/+5 |
| | | | | | | | Never return INHERITED, since portdbapi.aux_get() will generate it automatically from _eclasses_, and we want to omit it in comparisons between cache entries like those that egencache uses to avoid redundant writes (see commit 0e120da008c9d0d41c9372c81145c6e153028a6d). | ||||
* | action_metadata: clean up src entry validation | Zac Medico | 2011-10-29 | 1 | -34/+10 |
| | | | | | This eliminates a bunch of redundant eclasses code that we handle with template.validate_entry() instead. | ||||
* | EbuildMetadataPhase: use /dev/null for stdin | Zac Medico | 2011-10-29 | 2 | -7/+3 |
| | |||||
* | actions.py: remove unused variables | Zac Medico | 2011-10-29 | 1 | -9/+1 |
| | |||||
* | action_metadata: use auxdbkeys to compare entries | Zac Medico | 2011-10-29 | 1 | -7/+1 |
| | | | | | This borrows the approach that egencache uses since commit 0e120da008c9d0d41c9372c81145c6e153028a6d. | ||||
* | egencache: avoid redundant md5-dict writes | Zac Medico | 2011-10-29 | 1 | -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 porttrees | Zac Medico | 2011-10-29 | 1 | -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 breakage | Zac Medico | 2011-10-29 | 1 | -3/+3 |
| | | | | | This has been broken since the _eclasses_ structure changed in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. | ||||
* | egencache: update ebuild_hash.mtime after utime | Zac Medico | 2011-10-29 | 1 | -0/+1 |
| | |||||
* | emerge --metadata: support md5-dict | Zac Medico | 2011-10-29 | 1 | -4/+32 |
| | | | | | | This adds support to action_metadata() for use of arbitrary validation methods, which were introduced in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. | ||||
* | man/portage.5: profile-formats example | Zac Medico | 2011-10-29 | 1 | -0/+4 |
| | |||||
* | man/portage.5: cache-formats example | Zac Medico | 2011-10-29 | 1 | -0/+3 |
| | |||||
* | egencache: multiple cache-formats support | Zac Medico | 2011-10-29 | 1 | -14/+26 |
| | | | | | If layout.conf contains "cache-formats = md5-dict pms", egencache will now write both formats. | ||||
* | git_sync_timestamps: fix breakage | Zac Medico | 2011-10-28 | 1 | -9/+18 |
| | | | | | This has been broken since metadbmodule support was removed in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6. | ||||
* | RepoConfig: add iter_pregenerated_caches method | Zac Medico | 2011-10-28 | 1 | -12/+20 |
| | | | | | This will be used by egencache to generate cache for all supported formats. | ||||
* | quickpkg: fix regression in hardlink support | Zac Medico | 2011-10-28 | 1 | -2/+11 |
| | | | | | | Hardlink support has been broken since commit 4198da0184aaec30c41f2e5d2c7af71c4d35b662, which omitted the hardlink logic from TarFile.gettarinfo(). | ||||
* | Fix an issue where emerge will abort when merge starts if we have a file in ↵ | Daniel Robbins | 2011-10-28 | 1 | -1/+1 |
| | | | | our Manifest that does not exist on disk, even with thin-manifest enabled. | ||||
* | Deprecate unused 'virtual' constructor parameters | Zac Medico | 2011-10-28 | 3 | -4/+31 |
| | |||||
* | _trees_dict: define __slots__ | Zac Medico | 2011-10-28 | 1 | -0/+1 |
| | |||||
* | portageq: refer to <eroot> instead of <root> | Zac Medico | 2011-10-28 | 1 | -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 Medico | 2011-10-28 | 3 | -6/+6 |
| | |||||
* | Use any() instead of list(filter()). | Zac Medico | 2011-10-28 | 1 | -1/+1 |
| | |||||
* | Use bytes instead of unicode with isinstance. | Zac Medico | 2011-10-28 | 4 | -9/+10 |
| | | | | | This is preferred since the bytes type is available in all supported python versions, while the unicode type is only available in python2. | ||||
* | ResolverPlayground: remove unused root attribute | Zac Medico | 2011-10-28 | 2 | -5/+3 |
| | |||||
* | config: discard profiles_complex attribute | Zac Medico | 2011-10-28 | 1 | -6/+5 |
| | | | | | Like LocationsManager, it's only used in the constructor, so there's no need to hold a reference after the constructor completes. | ||||
* | Check for bytes instead of unicode in args. | Zac Medico | 2011-10-28 | 3 | -5/+4 |
| | | | | | | This simplifies the checks since the bytes type is available in all supported python versions, while the unicode type is only available in python2. | ||||
* | quickpkg: fix unicode for bug #388773 | Zac Medico | 2011-10-28 | 1 | -1/+40 |
| | |||||
* | SetConfig: use read_file/readfp for unicode | Zac Medico | 2011-10-28 | 1 | -4/+34 |
| | |||||
* | RepoConfigLoader: python3.2 readfp deprecation | Zac Medico | 2011-10-28 | 1 | -2/+9 |
| | |||||
* | RepoConfigLoader: use readfp for unicode | Zac Medico | 2011-10-27 | 1 | -4/+21 |
| | |||||
* | RepoConfigLoader: sort layout.conf attributes | Zac Medico | 2011-10-27 | 1 | -3/+3 |
| | |||||
* | RepoConfigLoader: support incremental aliases | Zac Medico | 2011-10-27 | 2 | -11/+10 |
| | | | | | This allows a user to discard unwanted aliases that are specified in a repo's layout.conf. | ||||
* | RepoConfigLoader: comment on masters override | Zac Medico | 2011-10-27 | 1 | -0/+2 |
| | |||||
* | RepoConfig.update(): getattr/setattr loop | Zac Medico | 2011-10-27 | 1 | -15/+7 |
| | |||||
* | parse_layout_conf: comment on masters fallback | Zac Medico | 2011-10-27 | 1 | -2/+5 |
| | |||||
* | Fix profile-formats spelling in messages. | Zac Medico | 2011-10-27 | 1 | -1/+1 |
| | |||||
* | MaskManager: portage-1-compat warnings.warn | Zac Medico | 2011-10-27 | 2 | -6/+6 |
| | |||||
* | stacklevel=3 for properties warnings | Zac Medico | 2011-10-27 | 4 | -5/+5 |
| | | | | There's an extra level for the @property wrapper. | ||||
* | Fix mydcfg from last commit. | Zac Medico | 2011-10-27 | 1 | -0/+1 |
| | |||||
* | config: remove cruft | Zac Medico | 2011-10-27 | 1 | -13/+16 |
| | | | | The mygcfg and packages_list attributes are both useless. | ||||
* | grab_pmask: use local repo_config reference | Zac Medico | 2011-10-27 | 1 | -1/+1 |
| | | | | | The previous code worked, but it looked wrong because it was using the 'repo' variable from the parent scope. | ||||
* | Fix missed ROOT -> EROOT changes. | Zac Medico | 2011-10-27 | 3 | -6/+10 |
| | | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a. | ||||
* | create_trees: ensure trees is _trees_dict type | Zac Medico | 2011-10-27 | 1 | -5/+10 |
| | |||||
* | LocationsManager: extensible _profile_node object | Zac Medico | 2011-10-27 | 5 | -12/+37 |
| | | | | Use immutable object attrubutes instead of tuples, for extensibility. | ||||
* | parse_layout_conf: grab repo_name for error msgs | Zac Medico | 2011-10-27 | 1 | -17/+32 |
| | | | | | | This allows us to avoid duplicate warnings for 'unspecified' repo since parse_layout_conf is initially called without specifying the repo in LocationsManager.load_profiles(). | ||||
* | Fix profile-formats spelling in messages. | Zac Medico | 2011-10-27 | 2 | -2/+2 |
| | |||||
* | LocationsManager._addProfile: realpath parents | Zac Medico | 2011-10-27 | 1 | -0/+9 |
| | | | | | If it seems that a parent may point outside of the current repo, realpath it. | ||||
* | LocationsManager.load_profiles: realpath repos | Zac Medico | 2011-10-27 | 2 | -3/+4 |
| | | | | | Since we already call realpath on make.profile, we also need to call realpath on the repo paths that we compare its nodes to. | ||||
* | LocationsManager: portage-1-compat warnings.warn | Zac Medico | 2011-10-27 | 1 | -2/+4 |
| | |||||
* | parse_layout_conf: fix profile-formats warning | Zac Medico | 2011-10-27 | 2 | -5/+8 |
| |