summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* locks.py: fix _close_fds docstringv2.2.0_alpha96Zac Medico2012-03-271-1/+0
|
* LockNonblockTestCase: close_fds tweakZac Medico2012-03-271-1/+4
| | | | Make consistent with commit 144c23efbb4e9565debad03c13c5bcab833a8336.
* emerge: suggest dispatch-conf for bug #398843Zac Medico2012-03-271-3/+3
|
* Close fewer file descriptors for fork / no exec.Zac Medico2012-03-274-22/+42
| | | | This will fix bug #374335.
* movefile: use writemsg for unicode safetyZac Medico2012-03-271-12/+13
|
* Replace @returns with @return.Zac Medico2012-03-2731-57/+57
|
* grabdict: remove incorrect docstring, bug #409839Greg Turner2012-03-271-1/+0
|
* 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
|
* movefile: import print_functionZac Medico2012-03-231-0/+2
| | | | | This fixes printing of tuples under python-2.x, as shown in bug #402323.
* movefile: clarify message for xattr copy errorv2.2.0_alpha95Zac Medico2012-03-231-1/+13
| | | | This will fix bug #402323.
* movefile: refactor selinux conditional codeZac Medico2012-03-231-15/+13
|
* Clarify symlink/dir collision for bug #409359.Zac Medico2012-03-231-7/+24
|
* mtimedb: fix hexversion for python issue 5729Zac Medico2012-03-222-2/+2
|
* mtimedb: enable JSON write supportv2.2.0_alpha94Zac Medico2012-03-221-11/+11
| | | | JSON read support has been available since portage-2.1.10.49.
* 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.
* PreservedLibsRegistry: try to parse as JSON firstZac Medico2012-03-221-3/+3
|
* PreservedLibsRegistry: enable JSON write supportZac Medico2012-03-211-2/+2
| | | | JSON read support has been available since portage-2.2.0_alpha89.
* getmaskingreason: use remember_source_fileZac Medico2012-03-211-1/+7
| | | | This will fix bug #409179.
* Map emerge --buildpkg=n to FEATURES=-buildpkg.Zac Medico2012-03-214-6/+8
| | | | This will fix bug #409085.
* doebuild_environment: comment on bug #408817v2.2.0_alpha93Zac Medico2012-03-191-0/+8
|
* spawn_nofetch: clone locked config, bug #408817Zac Medico2012-03-193-5/+7
| | | | | | 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.
* doebuild_environment: sanity check for bug 408817Zac Medico2012-03-191-8/+12
| | | | | Ensure that CATEGORY is determined correctly, and raise AssertionError if it can't be determined.
* 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.
* unmerge: remove unused preserve-libsZac Medico2012-03-181-0/+9
| | | | | | This fixes a case were one or more packages are unmerged without being replaced, and some preserved libraries need to be removed because they all consumers have just been unmerged.
* dispatch_conf: fix broken diffstatusoutput_lenv2.2.0_alpha92Zac Medico2012-03-181-1/+1
|
* Omit EPREFIX from paths in unicode QA Notice.Zac Medico2012-03-172-5/+7
|
* Use eqawarn for install of non UTF-8 file names.Zac Medico2012-03-172-16/+5
| | | | This will fix bug #406749.
* Manifest: filter file names with repoman's regexZac Medico2012-03-171-1/+9
| | | | | | This makes Manifest generation consistent with repoman, which is necessary if repoman is going to ignore irrelevant files as requested in bug #406877.
* Display: spawn pkg_nofetch when appropriateMartin von Gagern2012-03-131-1/+12
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* portageq: add "colormap" helperMike Frysinger2012-03-112-6/+8
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* dispatch-conf: do regex matching ourselvesMike Frysinger2012-03-101-4/+4
| | | | | | | This avoids having to pipe through multiple greps, as well as running diff multiple times on the same set of files. Signed-off-by: Mike Frysinger <vapier@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
|
* whirlpool.py: fix WhirlpoolAdd for bug #406407Zac Medico2012-03-051-1/+1
| | | | | | | | | This file is a python port of Whirlpool.c the reference implementation: http://www.larc.usp.br/~pbarreto/whirlpool.zip Comparison of both implementations reveals a difference in loop logic at the very beginning of the WhirlpoolAdd function, which is fixed now.
* pruneNonExisting: handle eselect-opengl symlinksv2.2.0_alpha90Zac Medico2012-03-041-3/+33
| | | | | | | | | | | Only count symlinks as preserved if they still point to a hardink in the same directory, in order to handle cases where a tool such as eselect-opengl has updated the symlink to point to a hardlink in a different directory (see bug #406837). The unused hardlink is automatically found by _find_unused_preserved_libs, since the soname symlink no longer points to it. After the hardlink is removed by _remove_preserved_libs, it calls pruneNonExisting which eliminates the irrelevant symlink from the registry here.
* repoman: support overlays without repo_nameZac Medico2012-03-041-1/+32
|
* action_build: return 1 for "no" --ask answerZac Medico2012-02-291-1/+1
|
* cvstree.getentries: handle "ignored" files in cvsZac Medico2012-02-271-2/+8
| | | | | | | | | It's possible for files to be under version control even though they match our ignore filter, so don't ignore them if they are listed in the "Entries" file. Thanks to Mike Gilbert <floppym@gentoo.org> for reporting in this blog post: http://floppym.blogspot.com/2012/02/cvs-status-display-cvs-checkout-in-svn.html
* autounmask: Avoid unmasking live versions if possibleSebastian Luther2012-02-262-9/+71
| | | | | | | | | | | | | | | | | | | | 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.
* Unmerge orphan directory symlinks for bug 384397.v2.2.0_alpha89Zac Medico2012-02-221-3/+85
|
* dblink: split out _unmerge_dirs methodZac Medico2012-02-221-88/+106
| | | | | This code will need to be called twice when safely unmerging symlinks to directories (bug #384397).
* 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.