summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add public news functions for bug #388233.Zac Medico2011-10-262-68/+82
| | | | | count_unread_news(portdb, vardb, repos=None, update=True) display_news_notifications(news_counts)
* Bug #388615 - optimize FEATURES=prelink-checksumsMartin von Gagern2011-10-261-14/+27
| | | | Only spawn prelink if the file has an ELF header.
* UpdateChangeLog: sort filesZac Medico2011-10-261-0/+4
|
* layout.conf: rename cache_format to cache_formatsZac Medico2011-10-251-16/+28
| | | | | | 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.
* add profile-formats portage-1 awareness and enforcementBrian Harring2011-10-255-54/+78
| | | | | | | | Currently it just spits warnings for implicit portage-1 format usage; down the line, this will be converted into an explicit error. For repo's that configure themselves as portage-1 or pms explicitly, enforce it.
* layout.conf: add profile-format awarenessBrian Harring2011-10-251-1/+22
| | | | | | | | Note the portage-1-compat mode; this isn't settable externally, is purely an internal mode for tracking if a repository is in portage-1 compat mode, rather than explicit portage-1 mode. This compat mode will be removed once portage becomes strict.
* Track profile format, and if compatibility mode is in use.Brian Harring2011-10-252-11/+57
| | | | Warn if the profile is using portage-1 format, but isn't marked as such.