summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* depgraph: fix for EAPI 5 sub-slot in SLOTZac Medico2012-10-171-16/+12
|
* actions.py: use _pkg_str for EAPI 5 sub-slotZac Medico2012-10-171-12/+4
|
* create_world_atom: account for EAPI 5 sub-slotZac Medico2012-10-171-7/+5
|
* Scheduler: tweak job_delay calc for bug #438650v2.2.0_alpha140Zac Medico2012-10-161-5/+16
| | | | | | | | * Max delay is reduced to 5 seconds (was 10). * Calculated delay is now proportional to current/desired load ratio. * When a delay is triggered, an event loop timeout is used to ensure that scheduling occurs as soon as the delay expires (rather than waiting for the _loadavg_latency timeout to expire).
* Move portage.dep._internal_warnings to portage.v2.2.0_alpha139Zac Medico2012-10-161-2/+2
|
* emerge: optimize --moo, remove deprecated mooZac Medico2012-10-162-26/+21
| | | | | The --moo action is fast like --help now. The "moo" argument has been deprecated since bug #389609, and is now removed.
* emerge_main: use parse_opts for --helpZac Medico2012-10-161-6/+5
|
* CompositeTask._start_task: propagate schedulerZac Medico2012-10-161-0/+4
|
* run_action: gc locals of calling funcZac Medico2012-10-162-2/+10
|
* emerge_main: split out run_actionZac Medico2012-10-164-916/+949
| | | | Also move post_emerge and chk_updated_cfg_files to separate files.
* Add Display._append_repository() to avoid duplication of some code.Arfrever Frehtes Taifersar Arahesis2012-10-151-13/+18
|
* emerge_main: move imports to topZac Medico2012-10-151-5/+4
|
* emerge_main: disable color earlierZac Medico2012-10-151-3/+5
| | | | | | | | Since commit 2ca487f929962154488999a125a7387eeb44be88, --help has not respected --color=n and related options, since it's been optimized to bypass options and config parsing. Now it's fixed to show without colors in this optimized case (help with colors may be shown in some other cases, like when emerge is called with zero arguments).
* Display slots and subslots in output of `emerge -pv ${package}`.Arfrever Frehtes Taifersar Arahesis2012-10-152-22/+65
|
* MergeListItem: don't color "binary"Zac Medico2012-10-141-1/+1
|
* emerge: lazy imports, optimize --helpZac Medico2012-10-141-34/+30
|
* chk_updated_info_files: move to separate fileZac Medico2012-10-141-132/+5
|
* display_preserved_libs: move to separate fileZac Medico2012-10-141-89/+16
|
* emerge: handle KeyboardInterrupt, not SIGINTZac Medico2012-10-141-2/+1
| | | | | | | | We handle KeyboardInterrupt instead of installing a SIGINT handler, since exiting from signal handlers intermittently causes python to ignore the SystemExit exception with a message like this: Exception SystemExit: 130 in <function remove at 0x7fd2146c1320> ignored
* Invert order of arguments in Display._set_non_root_columns() andArfrever Frehtes Taifersar Arahesis2012-10-141-6/+6
| | | | Display._set_root_columns() for consistency with Display._set_no_columns().
* Display.set_pkg_info(): Set cp and ver attributes.Arfrever Frehtes Taifersar Arahesis2012-10-141-3/+2
|
* 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.