summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* _pkg_str: validate repo (move code from Package)Zac Medico2012-05-131-10/+7
|
* unmerge: use cpv_sort_key instead of pkgcmpZac Medico2012-05-131-10/+12
|
* _pkg_str: add version attribute for comparisonsZac Medico2012-05-131-7/+7
| | | | | This attribute can be passed directly into vercmp, avoiding the need to generate this string many times.
* depgraph: minimize match_from_list operationsZac Medico2012-05-131-58/+64
| | | | | | In _iter_match_pkgs, call match_from_list on one cpv at a time, in order to avoid unnecessary match_from_list comparisons on versions that are never yielded from this method.
* _pkg_str: add slot and repo attributesZac Medico2012-05-121-5/+7
|
* match_from_list: handle Package.UNKNOWN_REPOZac Medico2012-05-121-3/+4
|
* Add a _pkg_str class to cache catpkgsplit resultsZac Medico2012-05-121-2/+5
| | | | | This will compensate for the removal of the catpkgsplit cache in commit 68888b0450b1967cb70673a5f06b04c167ef879c.
* PollScheduler: use local EventLoop (thread safe)Zac Medico2012-05-105-9/+19
| | | | | | | For API consumers, this makes the doebuild() function compatible with threads, avoiding a ValueError raised by the signal module, as reported at http://bugs.sabayon.org/show_bug.cgi?id=3305. Classes derived from PollScheduler still use the signal module when possible.
* Don't write or trust cache for unsupported EAPIs.Zac Medico2012-05-104-27/+35
| | | | | | Since we're supposed to be able to efficiently obtain the EAPI from _parse_eapi_ebuild_head, we don't need to write or trust cache entries for unsupported EAPIs.
* EbuildMetadataPhase: handle empty EAPI from bashZac Medico2012-05-091-1/+2
|
* Split out eapi_invalid function.Zac Medico2012-05-091-39/+9
|
* Show unsatisfied REQUIRED_USE for bug #415125.Zac Medico2012-05-091-4/+9
|
* Parse EAPI with pattern from PMS section 7.3.1.Zac Medico2012-05-092-32/+88
| | | | | | | | This implements the specification that was approved in Gentoo's council meeting on May 8, 2012 (see bug #402167). The parse-eapi-ebuild-head FEATURES setting is now enabled by default, and causes non-conformant ebuilds to be treated as invalid. This behavior will soon become enabled unconditionally.
* composite_db._visible: fix AttributeErrorZac Medico2012-05-021-1/+1
|
* dbapi.cp_list: remove special case for virtualsZac Medico2012-04-221-4/+4
| | | | | | | Since commit d603f1440c814377fbc1965729fd9b6b008cf76d, the match caches use the result from dep_expand for the cache_key, so the caches are free of old-style virtual mappings. This allows the match caches to be safely shared with cp_list.
* dbapi: account for unevaluated_atom in cachesZac Medico2012-04-202-8/+13
| | | | | This will fix bug 412391. This is analogous to the bug fixed in commit 5438bb29c996d777b6343515995176912a7c137f.
* Show config updates later for bug #412845.Zac Medico2012-04-201-2/+1
|
* Avoid redundant news display for bug #412161.Zac Medico2012-04-161-1/+4
|
* EbuildBinpkg: remove temp file on failureZac Medico2012-04-131-1/+5
|
* depgraph._complete_graph: fix for --root-depsv2.2.0_alpha100Zac Medico2012-04-051-1/+2
|
* Limit long slot conflict loop for bug #410801.Zac Medico2012-04-051-3/+15
|
* Scheduler: optimize action_uninstallZac Medico2012-04-052-2/+6
|
* depgraph._validate_blockers: optimize --root-depsZac Medico2012-04-051-0/+5
|
* depgraph._load_vdb: optimize --root-depsZac Medico2012-04-051-0/+4
|
* unmerge: display progress counter, bug #386901Boris Minev2012-04-031-1/+14
|
* emerge: suggest dispatch-conf for bug #398843Zac Medico2012-03-271-3/+3
|
* Close fewer file descriptors for fork / no exec.Zac Medico2012-03-271-10/+4
| | | | This will fix bug #374335.
* Replace @returns with @return.Zac Medico2012-03-2710-20/+20
|
* Localize config update messages, bug #409835.Greg Turner2012-03-271-7/+9
|
* unmerge: fix return code for bug #409647Zac Medico2012-03-252-13/+11
|
* Exit status 128 + SIGINT for --ask 'no' answer.Zac Medico2012-03-253-9/+9
| | | | This will fix bug #409647.
* emerge --sync: use yellow for portage update msgZac Medico2012-03-251-4/+5
|
* emerge --changelog: show some log entries aboveZac Medico2012-03-221-3/+18
| | | | This will fix bug #373009.
* emerge --changelog: fix split ChangeLog bugsZac Medico2012-03-222-19/+46
| | | | | This should fix possible missing content when displaying split ChangeLogs (bug #389611), and also normalizes blank lines.
* Map emerge --buildpkg=n to FEATURES=-buildpkg.Zac Medico2012-03-214-6/+8
| | | | This will fix bug #409085.
* spawn_nofetch: clone locked config, bug #408817Zac Medico2012-03-191-2/+1
| | | | | | It's unsafe to pass in an unlocked config instance, since that can trigger issues like bug #408817 due to fragile assumptions involving the config state inside doebuild_environment().
* Revert "depgraph: reset pkgsettings after setcpv"Zac Medico2012-03-191-1/+0
| | | | | | This reverts commit 884993c7f4b9e7e9ede690f5fab81742915fc942. Calling reset is expensive and is not really needed since commit 3ca5f0cc08d233a3e229e78b573c7aab7d46cb9c.
* depgraph: reset pkgsettings after setcpvZac Medico2012-03-191-0/+1
| | | | | This should prevent doebuild_environment from incorrectly using the CATEGORY from the previous setcpv call, as reported in bug #408817.
* Display: spawn pkg_nofetch when appropriateMartin von Gagern2012-03-131-1/+12
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* install-info: avoid unnecessary shellZac Medico2012-03-081-5/+16
|
* Exit after killed while waiting on prefetch.Zac Medico2012-03-083-2/+25
|
* Use Popen to avoid unnecessary shell.Zac Medico2012-03-081-8/+45
|
* action_build: return 1 for "no" --ask answerZac Medico2012-02-291-1/+1
|
* autounmask: Avoid unmasking live versions if possibleSebastian Luther2012-02-261-8/+25
| | | | | | | | | | | | | | | | | | | | Before this patch the allowed changes were: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords + masks With this patch: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords 4. USE + ~arch + license + masks 5. USE + ~arch + license + missing keywords + masks This avoids unmasking live versions, which are typically masked and have missing keywords to be avoided if there is a regular masked version available.
* Reorganize how autounmask allows changes to be madeSebastian Luther2012-02-261-52/+57
| | | | This patch does not change emerge's behaviour.
* autounmask: Fix USE change messages to display the correct parentSebastian Luther2012-02-241-0/+4
| | | | Fixes bug 399863.
* Scheduler: hang in _schedule_tasks, bug 404995v2.2.0_alpha88Zac Medico2012-02-201-1/+2
| | | | | This is triggered whenever emerge bails out while parallel-fetch is running in the background.
* Move Poll{Constants,SelectAdapter} to _eventloop.Zac Medico2012-02-172-91/+0
|
* Move _emerge.SlotObject to portage.util.Zac Medico2012-02-1710-67/+22
|
* SlotObject: validate __slots__ and keyword argsZac Medico2012-02-171-2/+11
|