summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Package._init_use: always sync _metadatav2.2.0_alpha160Zac Medico2013-01-231-2/+3
|
* Add debug output for cases like bug #453400.Zac Medico2013-01-231-0/+20
|
* Package: avoid redundant splitting of USEZac Medico2013-01-231-4/+3
|
* Package: filter built USE for bug #453400Zac Medico2013-01-231-27/+38
| | | | | The enabled flags must be consistent with implicit IUSE, in order to avoid potential inconsistencies in USE dep matching (see bug #453400).
* Fix default use match for implicit IUSE.v2.2.0_alpha159Zac Medico2013-01-211-2/+5
| | | | | | This will fix bug #453400, which was triggered by inconsistency between the enabled USE and the effective missing_disabled set used in matching logic, due to implicit IUSE.
* Add workaround for Python 2.6.4 issue 4978Zac Medico2013-01-182-4/+9
| | | | | Avoid "TypeError: keywords must be strings" issue triggered by unicode_literals: http://bugs.python.org/issue4978
* Use unicode_literals more.Zac Medico2013-01-1813-104/+123
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* emerge --info: show free ram/swap, bug #451048Zac Medico2013-01-161-0/+13
|
* emerge: add reference to the portage(5) man page when failingMike Frysinger2013-01-151-8/+9
| | | | | | | | | | | | | | | | | | | For example, the current licensing error message looks like: The following license changes (package.license) are necessary to proceed: #required by quake3-bin (argument) >=games-fps/quake3-bin-1.32c-r1 GPL-2 Q3AEULA If you don't know much about licensing issues, this error message doesn't help. Instead, give references to the man page so people can easily delve further. Now it looks like: The following license changes are necessary to proceed: (see package.license in the portage(5) man page for more details) #required by quake3-bin (argument) >=games-fps/quake3-bin-1.32c-r1 GPL-2 Q3AEULA Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* EbuildMetadataPhase: use dynamic pipe fdZac Medico2013-01-151-2/+3
| | | | Also, remove deprecated code from doebuild (with hardcoded pipe fd).
* SpawnProcess: improve dummy pipe allocation logicZac Medico2013-01-155-26/+35
| | | | | | | By using allocated file descriptors for keys in fd_pipes, we naturally avoid interference with callers such as FileDigester and MergeProcess. See the _setup_pipes docstring for more benefits of this allocation approach.
* test-fail-continue: mark complete, bug #452030Zac Medico2013-01-151-1/+8
|
* SpawnProcess: avoid fd_pipes interferenceZac Medico2013-01-151-2/+8
| | | | | This fixes a random collision that can occur with FileDigester, triggering malfunction and a KeyError.
* SpawnProcess: handle fcntl ENOTTY for FreeBSDZac Medico2013-01-101-3/+8
|
* autounmask: tweak --autounmask-write suggestionZac Medico2013-01-081-3/+4
|
* autounmask: show file names for suggested changesBen Kohler2013-01-081-5/+7
| | | | | | | Also, advise the user to examine the proposed config changes carefully. X-Gentoo-Bug: 450960 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=450960
* SpawnProcess: stdout_fd FD_CLOEXECZac Medico2013-01-071-0/+15
|
* MetadataRegen: simplify _iter_every_cpZac Medico2013-01-061-7/+3
|
* MetadataRegen: call cp_all for each categoryZac Medico2013-01-061-9/+11
| | | | | List categories individually, in order to start yielding quicker, and in order to reduce latency in case of a signal interrupt.
* _keep_scheduling: check _terminated.is_set()Zac Medico2013-01-061-2/+2
| | | | | This ensures that scheduling loops terminate as soon as possible after an interrupt is received.
* MetadataRegen: portdbapi.cp_all() already sortedZac Medico2013-01-061-1/+1
|
* MetadataRegen: fix signal interrupt handlingZac Medico2013-01-061-3/+4
| | | | | We have to force it out of the scheduling loop before _termination_check can have an effect.
* BinpkgVerifier: use async FileDigesterZac Medico2013-01-051-49/+95
|
* PipeReader: support plain fd without file objZac Medico2013-01-031-4/+8
|
* Enable FD_CLOEXEC for non-blocking pipes.Zac Medico2013-01-034-7/+60
|
* portage._internal_caller: use global_event_loopZac Medico2013-01-031-2/+4
| | | | | It's more efficient to use global_event_loop than a local EventLoop instance, so do that when we know it's safe.
* SpawnProcess: support close_fdsZac Medico2013-01-031-2/+2
|
* Add portage._internal_caller var, and use it.Zac Medico2013-01-031-3/+1
|
* emerge --depclean: show atoms in verbose outputZac Medico2013-01-021-11/+17
|
* resume_depgraph: check for alternative installedZac Medico2013-01-023-15/+33
| | | | | | | When pruning packages from the merge list, only prune them if the relevant dependency is not satisfied by an alternative package which is already installed. This should fix bug #448176, and now there's also reasons logged for why a particular package is dropped.
* depgraph: dynamic deps parallel metadata regenZac Medico2013-01-012-8/+59
|
* FakeVartree: split _apply_dynamic_deps methodZac Medico2013-01-011-26/+39
| | | | | This will eventually be used for parallelization of aux_get/regen processes.
* Revert "AsynchronousLock: override _async_wait_cb"Zac Medico2013-01-011-3/+3
| | | | | | This reverts commit 83cfc04df383b56592b89f1dc58428c0e8d09925. This override could be bad if the base class needs to call _async_wait for some reason.
* AsynchronousLock: override _async_wait_cbZac Medico2013-01-011-3/+3
|
* emerge --depclean: clarify unsatisfied atomsZac Medico2012-12-311-1/+6
| | | | | If the atom is unsatisfied due to a USE dep that's only visible in the unevaluated form, then display the unevaluated form.
* _LockThread: use thread-safe EventLoop.idle_add()Zac Medico2012-12-311-35/+8
|
* AsynchronousTask: _async_wait is thread-safeZac Medico2012-12-311-1/+1
|
* AsynchronousTask: add _async_wait methodZac Medico2012-12-3011-19/+32
| | | | | | | | For cases where _start returns synchronously, this method is a convenient way to trigger an asynchronous call to self.wait() (in order to notify exit listeners), avoiding excessive event loop recursion (or stack overflow) that synchronous calling of exit listeners can cause.
* emerge --select: add -w short optionZac Medico2012-12-292-2/+4
|
* Use run_main_scheduler where possible.Zac Medico2012-12-281-28/+4
|
* emerge -h: add @ prefix to system and world setsZac Medico2012-12-241-1/+1
|
* Support subslots in command line arguments.Arfrever Frehtes Taifersar Arahesis2012-12-232-2/+2
|
* Rename a private module in preparation for extending its functionality.Arfrever Frehtes Taifersar Arahesis2012-12-191-1/+1
|
* depclean warning: count nested sets, bug #298298Zac Medico2012-12-171-3/+11
|
* depclean summary: count nested sets, bug #298298Zac Medico2012-12-171-4/+10
|
* Handle closed sys.__stdin__, for multiprocessingZac Medico2012-12-152-2/+2
| | | | | | | Buggy code in python's multiprocessing/process.py closes sys.stdin and reassigns it to open(os.devnull), but fails to update the corresponding __stdin__ reference. So, detect that case and handle it appropriately. The buggy code is visible in http://hg.python.org/lookup/r73708.
* get_real_flag: handle implicit iusev2.2.0_alpha147Zac Medico2012-12-091-2/+5
|
* emerge --info: handle bug #446358 morev2.2.0_alpha146Zac Medico2012-12-091-6/+9
| | | | | - old-style virtuals - masked packages
* get_real_flag: handls use-dep default bug #446666Zac Medico2012-12-093-2/+11
|
* emerge --verbose: [ y | n ] for bug #446324v2.2.0_alpha145Zac Medico2012-12-081-2/+15
|