summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* OrderedDict: fix setitem bug #436974Zac Medico2012-10-021-3/+3
| | | | | | This fixes some strange behavior triggered during fetch, which is only observable with Python 2.6 since it doesn't have collections.OrderedDict.
* Add chown and chgrp wrappers for prefix.Zac Medico2012-09-301-0/+4
| | | | | | | For prefix, there is typically only a single unprivileged user who owns everthing that is built and installed, and in this case it's desirable to ignore chown and chrgrp failures. So, move the logic from fowners into chown and chgrp wrappers, as discussed in bug #433453.
* Handle KeyError when loading pickles.Zac Medico2012-09-283-3/+9
| | | | See http://forums.gentoo.org/viewtopic-t-938022.html for example.
* _slot_operator: EAPI 5-hdepend DEPEND target onlyZac Medico2012-09-271-5/+9
|
* UseManager: /etc/portage/profile extended syntaxZac Medico2012-09-263-13/+30
| | | | | If /etc/portage/profile/eapi does not exist, then support extended atom syntax. This will fix bug #436330.
* test_ipc_daemon: increase sleep for bug #436334Zac Medico2012-09-261-1/+3
|
* Use constants for more hardcoded *DEPEND lists.v2.2.0_alpha133Zac Medico2012-09-252-8/+7
|
* update_ents: use Package._dep_keysZac Medico2012-09-251-2/+2
|
* evaluate_slot_operator_equal_deps: do HDEPENDZac Medico2012-09-251-0/+1
|
* Use constants for more hardcoded *DEPEND lists.Zac Medico2012-09-252-5/+6
|
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-257-23/+17
|
* Test emerge --root-deps more.Zac Medico2012-09-251-0/+5
|
* Test emerge --root-deps.Zac Medico2012-09-251-1/+31
|
* EventLoop: fix busy loop waiting for child pidZac Medico2012-09-252-14/+18
| | | | | | This fixes a case where EventLoop could consume 100% CPU while waiting for a child process. It also fixes timeout calculations in python 2.x, where it was using integer division instead of float.
* _add_pkg_deps: use _get_eapi_attrsZac Medico2012-09-252-4/+7
|
* ResolverPlayground: check targetroot in mergelistZac Medico2012-09-252-1/+4
|
* ResolverPlayground: support targetrootZac Medico2012-09-255-105/+112
| | | | | | | In order to support targetroot, ResolverPlayground always writes make.conf, since create_trees does not propagate all of the necessary settings via the env parameter (because the env settings often need to be isolated from eachother, especially for cross-compilation).
* repoman: rename most *DEPEND.* to dependency.*Zac Medico2012-09-251-2/+7
| | | | This makes it easier to add new types, like HDEPEND.
* Remove obsolete cache/flat_list.pyZac Medico2012-09-241-135/+0
| | | | | | This module has been obsolete and useless for many years, which is especially obvious since it was missing INHERITED from its auxdbkey_order and it did not write any eclass metadata.
* ResolverPlayground: simplify vdb/portdb creationZac Medico2012-09-241-80/+32
| | | | This enables automatic handling of HDEPEND.
* circular_dependency: handle HDEPENDZac Medico2012-09-241-1/+2
|
* cache/sqlite.py: translate None to empty stringZac Medico2012-09-241-2/+7
|
* cache/metadata.py: add HDEPENDZac Medico2012-09-242-2/+4
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-2416-45/+79
|
* _global_updates: scan binarytree only if neededZac Medico2012-09-241-6/+8
| | | | This will fix bug #436084.
* _create_use_string: pass in feature_flags argv2.2.0_alpha132Zac Medico2012-09-232-7/+8
| | | | This allows them to be looked up outside of the USE_EXPAND loop.
* env_update: use eroot variable moreZac Medico2012-09-231-10/+7
|
* env_update: scan all dirs starting with "lib"Zac Medico2012-09-231-4/+19
| | | | | Also see bug #435834 and commit 7fb9758506341ffc05585fbd18f2be58ef0e16c2.
* Add _get_feature_flags(eapi_attrs) function.Zac Medico2012-09-235-10/+30
| | | | | | This will be useful for adding flags that behave specially in experimental EAPIs, such as the targetroot/sysroot flag which is planned for EAPI 5-hdepend.
* RepoConfig: add find_invalid_path_char methodZac Medico2012-09-232-13/+33
| | | | | | This binds filename validation to the RepoConfig, so that eventually we'll be able to control it via a layout.conf setting as discussed in bug #435934.
* Use re.UNICODE for category/package name regexes.Zac Medico2012-09-225-11/+25
| | | | | | | | This only affects r'\w' with Python 2.x, since Python 3 already defaults to re.UNICODE behavior when compiling unicode str objects (unless re.ASCII is specified). If a repository wants to ban unicode categore/package names then we can add a layout.conf setting for that, as discussed in bug #435934.
* doebuild.py: remove unused f = NoneZac Medico2012-09-211-1/+0
|
* Deprecate EAPI 5_pre2.Zac Medico2012-09-211-2/+2
|
* Add preserve-libs for stable branch (not default)Zac Medico2012-09-215-38/+20
| | | | | | | | | EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots, which makes preserve-libs much more user-friendly, since it makes @preserved-rebuild unnecessary (also see bug #364425 for explanation of @preserved-rebuild shortcomings). Therefore, enable preserve-libs for the stable branch, but not by default. After EAPI 5 is widely adopted, we can consider enabling preserve-libs by default.
* Support EAPI="5-progress".Arfrever Frehtes Taifersar Arahesis2012-09-213-7/+7
|
* Add _DEPCLEAN_LIB_CHECK_DEFAULT constant.Zac Medico2012-09-212-2/+3
| | | | | This will allow for the option to be available in the stable branch without changing the default --depclean behavior.
* primaryuri: prefer thirdpartymirrors in SRC_URIZac Medico2012-09-211-11/+10
| | | | This will fix bug #435720.
* Improve allowing of directories on profile level and repository level in ↵Arfrever Frehtes Taifersar Arahesis2012-09-213-8/+16
| | | | EAPI="4-python".
* Read profile EAPI earlier.Arfrever Frehtes Taifersar Arahesis2012-09-211-18/+20
|
* Move EAPI check for stable USE forcing and masking to portage.eapi module.Arfrever Frehtes Taifersar Arahesis2012-09-212-15/+12
|
* Enable official EAPI 5 support.v2.2.0_alpha130Zac Medico2012-09-203-11/+11
| | | | | | The council has officialy approved EAPI 5 in PMS: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=99c78a51ff4c9737cdd399620072abdc14f8df11
* Add QA_DESKTOP_FILE variable.Zac Medico2012-09-201-1/+26
|
* update.py: cleanup importsZac Medico2012-09-191-5/+2
|
* update_dbentry: fix "move" to translate atom[use]Zac Medico2012-09-192-12/+22
|
* test_update_dbentry: test "move" command moreZac Medico2012-09-191-0/+19
|
* deprecated_profile_check: search more locationsZac Medico2012-09-191-4/+17
| | | | | | This fixes it to search both /etc/make.profile and /etc/portage/make.profile, and also makes it traverse parent profiles when the settings parameter is passed in.
* config: source make.conf only once if samefileZac Medico2012-09-191-16/+18
| | | | | | Since migration from /etc/make.conf to /etc/portage/make.conf, people frequently ask if hardlinking or symlinking them is allowed. So, detect this case and avoid redundant sourcing when appropriate.
* MAKE_CONF_FILE: refer to /etc/portage/make.confZac Medico2012-09-192-5/+5
| | | | | | | | | | This is, or will soon soon be the default location of make.conf in stages: http://sources.gentoo.org/gitweb/?p=proj/gentoo-news.git;a=blob_plain;f=2012/2012-09-09-make.conf-and-make.profile-move/2012-09-09-make.conf-and-make.profile-move.en.txt This update is consistent with the PROFILE_PATH update in commit 96b053ac52fa37fdd61cbb76cb44dfb90fb49f86.
* config: _eapi_cache.clear() beginning constructorZac Medico2012-09-191-0/+3
| | | | This is important when config is reloaded after emerge --sync.
* update_dbentry: improve slotmove supportZac Medico2012-09-192-7/+65
| | | | | This could be especially useful for "built" slot operator deps, in order to avoid having a slotmove trigger unnecessary rebuilds.