summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* simplify Display.convert_myoldbest().Zac Medico2012-10-131-2/+2
|
* Simplify Display.get_ver_str().Zac Medico2012-10-131-6/+4
|
* Bug #434970: Disable some warnings during `emerge --sync`.Arfrever Frehtes Taifersar Arahesis2012-10-142-0/+3
|
* EAPI="5-progress": Add master_repositories(), repository_path(),Arfrever Frehtes Taifersar Arahesis2012-10-141-4/+9
| | | | available_eclasses(), eclass_path() and license_path() functions.
* MergeListItem: color binary display, bug #438254Zac Medico2012-10-132-5/+10
|
* PollScheduler: fix _schedule() to return Truev2.2.0_alpha137Zac Medico2012-10-101-2/+4
| | | | | | This fixes a regression like bug #403895, introduced in commit b696337bf20fdc539ce7721df7a4b42b35999705, since functions have to return True in order to be continuously scheduled.
* PollScheduler: disable default _loadavg_latencyZac Medico2012-10-082-2/+7
| | | | | | Move the 30 second default to the Scheduler class, since that's the only place that it's currently needed (all other schedulers have relatively short-running jobs).
* emerge: handle --load-average with no argZac Medico2012-10-081-0/+14
| | | | | With no argument, removes a previous load limit (same behavior as make).
* PollScheduler: rename sched_iface to _sched_ifaceZac Medico2012-10-072-9/+9
| | | | | | It isn't used externally anymore, since SchedulerInterface is used directly in those places now. Many of the self.sched_iface references updated here, it's more appropriate to use self._event_loop.
* Substitute SchedulerInterface for PollScheduler.Zac Medico2012-10-071-6/+8
| | | | | | SchedulerInterface suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads.
* PollScheduler: split out SchedulerInterfaceZac Medico2012-10-072-78/+14
|
* action_uninstall: use PollScheduler not SchedulerZac Medico2012-10-072-19/+16
| | | | | The PollScheduler class suffices here, if we just add a small amount of logic to calculate the _background attribute from the emerge opts.
* PollScheduler: move _main_loop to SchedulerZac Medico2012-10-062-30/+30
|
* MetadataRegen: inherit AsyncSchedulerZac Medico2012-10-062-51/+20
|
* PollScheduler: remove register/unregister methodsZac Medico2012-10-058-19/+17
| | | | | | | These methods were aliases for the EventLoop io_add_watch and source_remove methods. Migrating to the EventLoop method names allows an EventLoop instance to substitute for a PollScheduler inside subclasses of AbstractPollTask.
* PollScheduler: remove self._jobsZac Medico2012-10-053-4/+8
| | | | This is variable is only needed by the Scheduler class.
* TaskScheduler: inherit AsyncSchedulerZac Medico2012-10-053-131/+2
| | | | This allows the QueueScheduler class to be eliminated.
* EbuildFetcher/MergeProcess: inherit ForkProcessZac Medico2012-10-031-42/+11
| | | | | Also add missing __slots__ to ForkProcess. TODO: Share code between ForkProcess and MergeProcess.
* egencache: add --update-manifests, bug #436918Zac Medico2012-10-031-2/+4
| | | | | | | | | | Update manifest files, and sign them if signing is enabled. This supports parallelization if enabled via the --jobs option. The --thin-manifests and --sign-manifests options may be used to manually override layout.conf settings. There's also a new --strict-manifests option that may be used to manually override the "strict" FEATURES setting, a --gpg-key option to override PORTAGE_GPG_KEY, and a --gpg-dir option to override PORTAGE_GPG_DIR.
* Fix emerge <tbz2> for python3.Zac Medico2012-10-021-2/+12
|
* Handle KeyError when loading pickles.Zac Medico2012-09-281-1/+3
| | | | See http://forums.gentoo.org/viewtopic-t-938022.html for example.
* Use constants for more hardcoded *DEPEND lists.v2.2.0_alpha133Zac Medico2012-09-252-8/+7
|
* Use constants for more hardcoded *DEPEND lists.Zac Medico2012-09-252-5/+6
|
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-254-12/+8
|
* _add_pkg_deps: use _get_eapi_attrsZac Medico2012-09-251-2/+3
|
* repoman: rename most *DEPEND.* to dependency.*Zac Medico2012-09-251-2/+7
| | | | This makes it easier to add new types, like HDEPEND.
* circular_dependency: handle HDEPENDZac Medico2012-09-241-1/+2
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-245-28/+41
|
* _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.
* Add _get_feature_flags(eapi_attrs) function.Zac Medico2012-09-233-8/+13
| | | | | | 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.
* Use re.UNICODE for category/package name regexes.Zac Medico2012-09-221-2/+2
| | | | | | | | 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.
* Add preserve-libs for stable branch (not default)Zac Medico2012-09-212-16/+12
| | | | | | | | | 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.
* Add _DEPCLEAN_LIB_CHECK_DEFAULT constant.Zac Medico2012-09-211-2/+2
| | | | | This will allow for the option to be available in the stable branch without changing the default --depclean behavior.
* repoman: reject "built" slot-operator atomsZac Medico2012-09-161-2/+15
|
* egencache: skip auxdb write if not metadata-transZac Medico2012-09-152-5/+10
|
* Display: simplify _blockersZac Medico2012-09-131-13/+6
| | | | | The fetch_symbol variable was always just a space, and no return value was really needed.
* merge list: distinguish reinstall with red "r"Zac Medico2012-09-132-2/+13
| | | | | This is for reinstall due to slot or sub-slot change of a dependency when the := slot operator is used.
* Refactor merge list attribute display.Zac Medico2012-09-132-84/+106
| | | | | This should not change the behavior at all, but it makes the display much easier to modify or extend.
* Bind FEATURES=-test to USE=-test for bug #373209.Zac Medico2012-09-132-5/+10
| | | | | | Also, make options like emerge --newuse ignore the state of USE=test, since users typically don't want to trigger a bunch of rebuilds when they enable or disable FEATURES=test.
* Prefer /etc/portage/make.profile.v2.2.0_alpha126Zac Medico2012-09-121-2/+3
| | | | | | | | | This is the default location used by current versions of eselect profile, and will soon be the default location in stages. Since eselect profile generates a warning if both /etc/make.profile and /etc/portage/make.profile exist, the new default should be fairly safe (although eselect profile currently prefers /etc/make.profile when both exist).
* EbuildPhase: fix WORKDIR owner after unpackZac Medico2012-09-111-1/+4
| | | | See bug #332217, comment #24.
* Improve ignored binpkg display for bug #434540.Zac Medico2012-09-101-4/+10
|
* EbuildPhase: simplify utime argsZac Medico2012-09-081-3/+1
|
* EbuildPhase: bump WORKDIR timestamp after unpackZac Medico2012-09-081-2/+9
| | | | This will fix bug #332217.
* Deprecate @installed for bug #387059.Zac Medico2012-09-031-0/+6
|
* EbuildBuildDir: ignore rmdir failure, bug #400641Zac Medico2012-09-031-5/+2
|
* Rename _slot_abi.py to _slot_operator.py.Zac Medico2012-09-022-2/+2
|
* _prepare_self_update: ignore installed versionZac Medico2012-09-011-9/+4
| | | | | | | | Now portage will unconditionally make a temporary copy of itself during updates. This is safer, since it provides maximum protection against any possible incompatibilities. For example, suppose that the ebuild has been updated to change the location of installed files (such as libdir change) without a revision bump.
* Remove FEATURES=parse-eapi-ebuild-headZac Medico2012-08-291-4/+2
| | | | | | | | It's already been enabled by default in stable portage for awhile now, so it should be safe to enable it unconditionally. The PMS eapi-5 branch also says that it's mandatory to parse the EAPI: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=91d1e1e39b034bde7e5b981a5616a127135f37fa
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-298-94/+94
| | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47