summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Use dbapi._known_keys more.Zac Medico2011-10-292-14/+7
|
* cache/template.__getitem__: filter INHERITEDZac Medico2011-10-292-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 validationZac Medico2011-10-291-34/+10
| | | | | This eliminates a bunch of redundant eclasses code that we handle with template.validate_entry() instead.
* EbuildMetadataPhase: use /dev/null for stdinZac Medico2011-10-292-7/+3
|
* actions.py: remove unused variablesZac Medico2011-10-291-9/+1
|
* action_metadata: use auxdbkeys to compare entriesZac Medico2011-10-291-7/+1
| | | | | This borrows the approach that egencache uses since commit 0e120da008c9d0d41c9372c81145c6e153028a6d.
* emerge --metadata: support md5-dictZac Medico2011-10-291-4/+32
| | | | | | This adds support to action_metadata() for use of arbitrary validation methods, which were introduced in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* git_sync_timestamps: fix breakageZac Medico2011-10-281-9/+18
| | | | | This has been broken since metadbmodule support was removed in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6.
* RepoConfig: add iter_pregenerated_caches methodZac Medico2011-10-281-12/+20
| | | | | This will be used by egencache to generate cache for all supported formats.
* quickpkg: fix regression in hardlink supportZac Medico2011-10-281-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 Robbins2011-10-281-1/+1
| | | | our Manifest that does not exist on disk, even with thin-manifest enabled.
* Deprecate unused 'virtual' constructor parametersZac Medico2011-10-283-4/+31
|
* _trees_dict: define __slots__Zac Medico2011-10-281-0/+1
|
* Use EROOT to validate path arguments.Zac Medico2011-10-282-5/+5
|
* Use any() instead of list(filter()).Zac Medico2011-10-281-1/+1
|
* Use bytes instead of unicode with isinstance.Zac Medico2011-10-282-6/+7
| | | | | 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 attributeZac Medico2011-10-282-5/+3
|
* config: discard profiles_complex attributeZac Medico2011-10-281-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 Medico2011-10-281-2/+1
| | | | | | 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 #388773Zac Medico2011-10-281-1/+40
|
* SetConfig: use read_file/readfp for unicodeZac Medico2011-10-281-4/+34
|
* RepoConfigLoader: python3.2 readfp deprecationZac Medico2011-10-281-2/+9
|
* RepoConfigLoader: use readfp for unicodeZac Medico2011-10-271-4/+21
|
* RepoConfigLoader: sort layout.conf attributesZac Medico2011-10-271-3/+3
|
* RepoConfigLoader: support incremental aliasesZac Medico2011-10-271-9/+7
| | | | | This allows a user to discard unwanted aliases that are specified in a repo's layout.conf.
* RepoConfigLoader: comment on masters overrideZac Medico2011-10-271-0/+2
|
* RepoConfig.update(): getattr/setattr loopZac Medico2011-10-271-15/+7
|
* parse_layout_conf: comment on masters fallbackZac Medico2011-10-271-2/+5
|
* Fix profile-formats spelling in messages.Zac Medico2011-10-271-1/+1
|
* MaskManager: portage-1-compat warnings.warnZac Medico2011-10-272-6/+6
|
* stacklevel=3 for properties warningsZac Medico2011-10-274-5/+5
| | | | There's an extra level for the @property wrapper.
* Fix mydcfg from last commit.Zac Medico2011-10-271-0/+1
|
* config: remove cruftZac Medico2011-10-271-13/+16
| | | | The mygcfg and packages_list attributes are both useless.
* grab_pmask: use local repo_config referenceZac Medico2011-10-271-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 Medico2011-10-271-2/+6
| | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a.
* create_trees: ensure trees is _trees_dict typeZac Medico2011-10-271-5/+10
|
* LocationsManager: extensible _profile_node objectZac Medico2011-10-275-12/+37
| | | | Use immutable object attrubutes instead of tuples, for extensibility.
* parse_layout_conf: grab repo_name for error msgsZac Medico2011-10-271-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 Medico2011-10-272-2/+2
|
* LocationsManager._addProfile: realpath parentsZac Medico2011-10-271-0/+9
| | | | | If it seems that a parent may point outside of the current repo, realpath it.
* LocationsManager.load_profiles: realpath reposZac Medico2011-10-272-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.warnZac Medico2011-10-271-2/+4
|
* parse_layout_conf: fix profile-formats warningZac Medico2011-10-272-5/+8
|
* fix previous commit to call ensure_dirsZac Medico2011-10-271-1/+2
|
* Run pkg_pretend in PORTAGE_TMPDIR for bug #388593Zac Medico2011-10-272-1/+7
|
* repoman: add opts and repo config debug outputZac Medico2011-10-261-1/+1
|
* repoman: add opts and repo config debug outputZac Medico2011-10-261-0/+14
|
* parse_layout_conf: fix inverted update-changelogZac Medico2011-10-261-1/+1
| | | | | The logic got inverted when parse_layout_conf was split out in commit 0be173a54a5248cfd70a3543d7099d2dd3ee254b.
* RepoConfigLoader: redundant cache_formats settingZac Medico2011-10-261-2/+0
| | | | There's a loop that already handles this via setattr.
* Add emerge --check-news for bug #388233.Zac Medico2011-10-262-1/+16
|