Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | action_depclean: fix return code | Zac Medico | 2011-12-02 | 2 | -5/+10 |
| | | | | | | The fixes some cases where emerge.log would show that depclean was unsuccessful when it was really successful but there was nothing to remove. | ||||
* | Handle OSError from os.read and loop if needed. | Zac Medico | 2011-12-01 | 3 | -23/+29 |
| | | | | | | Looping fixes EbuildMetadataPhase failures for ebuilds that produce more than 4096 bytes of metadata, broken since commit b432a1b3051d91546649e8f3190675767461d8e8. | ||||
* | process._exec: tweak opt_name for PyPy | Zac Medico | 2011-12-01 | 1 | -1/+6 |
| | | | | | PyPy 1.7 will die due to "libary path not found" if argv[0] does not contain the full path of the binary. | ||||
* | PipeReader: use os.read/write | Zac Medico | 2011-12-01 | 1 | -19/+11 |
| | |||||
* | test_uniqueArray.py: fix 'is' usage PyPy incompat | Zac Medico | 2011-12-01 | 1 | -3/+3 |
| | |||||
* | AsynchronousLock: use os.read/write | Zac Medico | 2011-12-01 | 1 | -15/+28 |
| | | | | | | Similar to commit b432a1b3051d91546649e8f3190675767461d8e8, don't use unecessary file objects. It also happens that these changes fix compatibility issues with PyPy. | ||||
* | checksum.py: detect PyPy crashes in hashlib | Zac Medico | 2011-12-01 | 1 | -0/+29 |
| | | | | | | | | Use a fork to try and PyPy by digesting random data with hashlib functions. It doesn't look like a bug has been reported upstream for this yet, so it may or may not be reproducible by others. Anyway, this allows me to avoid crashing the main PyPy process until I find a real fix. | ||||
* | _emerge/EbuildMetadataPhase.py: use os.read() | Zac Medico | 2011-12-01 | 1 | -7/+13 |
| | | | | | | There's no need for a file object, and file objects introduce complexity that can lead to bugs as mentioned in bug 337465 comment 31, so use os.read() directly on the file descriptor. | ||||
* | _emerge/SubProcess.py: support int fd in _files | Zac Medico | 2011-12-01 | 1 | -1/+4 |
| | |||||
* | MergeProcess: check if _elog_reader_fd is None | Zac Medico | 2011-12-01 | 1 | -1/+1 |
| | | | | | It seems saner to check for None, given that _elog_reader_fd is an int, even though it will probably never be zero. | ||||
* | locks.py: use flock with PyPy for issue 747 | Zac Medico | 2011-12-01 | 1 | -0/+5 |
| | |||||
* | doebuild: disable noauto for binary packages | Zac Medico | 2011-11-29 | 1 | -0/+4 |
| | |||||
* | movefile: tweak unicode handling | Zac Medico | 2011-11-28 | 1 | -8/+12 |
| | |||||
* | movefile: chown/mod before rename | Zac Medico | 2011-11-28 | 1 | -15/+7 |
| | |||||
* | movefile: avoid redundant string concatenations | Zac Medico | 2011-11-28 | 1 | -6/+7 |
| | |||||
* | movefile: remove unused lchown | Zac Medico | 2011-11-28 | 1 | -4/+2 |
| | |||||
* | Preserve extended attributes on regular files when using Python >=3.3. | Arfrever Frehtes Taifersar Arahesis | 2011-11-29 | 1 | -2/+14 |
| | |||||
* | Revert "dblink.mergeme(): Merge files in alphabetic order."v2.2.0_alpha79 | Zac Medico | 2011-11-27 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 1d4ac47c28706094230cb2c4e6ee1c1c71629aa0. As discussed on the gentoo-portage-dev mailing list, if we don't have a compelling reason to sort here then it's just a waste: http://archives.gentoo.org/gentoo-portage-dev/msg_67b08fcd7a1b832b347caf1b19362cbb.xml | ||||
* | _get_dep_chain: fix KeyError, bug #392059 | Zac Medico | 2011-11-27 | 1 | -13/+22 |
| | | | | | | | This fixes a regression since commit 57cc4e3e8991e7c4394d1dff7698aa62ed2a286b, which make a faulty assumption that the digraph contained all of the edges contained in parent_atoms. | ||||
* | config: fix make.defaults inherit of make.globalsv2.2.0_alpha78 | Zac Medico | 2011-11-25 | 1 | -22/+23 |
| | | | | | | | | Since commit e544ee13527a0568de2b556510280ed96fc1b3ff, make.defaults inheritance of variables from make.globals has been broke, since that commit excluded make.globals from expand_map. This broke settings like PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa" from the developer profile, as reported in bug #391323, comment #4. | ||||
* | dblink.mergeme(): Merge files in alphabetic order. | Arfrever Frehtes Taifersar Arahesis | 2011-11-26 | 1 | -1/+1 |
| | |||||
* | elog/mod_syslog: fix 1 char msgs, bug #390965 | Zac Medico | 2011-11-25 | 1 | -0/+5 |
| | |||||
* | repoman: fix svn "abiguous workdir", bug #391199v2.2.0_alpha77 | Zac Medico | 2011-11-21 | 1 | -0/+4 |
| | |||||
* | emerge --help: show --quiet-build | Zac Medico | 2011-11-20 | 1 | -1/+1 |
| | |||||
* | _prepare_self_update: detect if already calledv2.2.0_alpha76 | Zac Medico | 2011-11-18 | 1 | -0/+4 |
| | | | | | This is should never be triggered by portage, but it's possible that an API consumer might trigger it somehow. | ||||
* | Schduler: _check_temp_dir in _handle_self_update | Zac Medico | 2011-11-18 | 1 | -2/+9 |
| | |||||
* | collect_ebuild_messages: handle \r, bug #390833 | Zac Medico | 2011-11-18 | 1 | -2/+3 |
| | |||||
* | resolver/output: unused imports | Zac Medico | 2011-11-17 | 1 | -4/+3 |
| | |||||
* | _make_msgfunction: convert to class | Zac Medico | 2011-11-17 | 1 | -6/+10 |
| | |||||
* | config: tweak mapping implementation more | Zac Medico | 2011-11-17 | 1 | -2/+4 |
| | |||||
* | config: centralize mapping impl in _getitem/pop | Zac Medico | 2011-11-17 | 1 | -15/+21 |
| | |||||
* | collect_ebuild_messages: validate msg type | Zac Medico | 2011-11-17 | 1 | -1/+11 |
| | | | | | | | This will handle invalid message types like the one that triggers the KeyError in dblink._elog_process for bug #390833. It will also output the content of the line in order to help diagnose the source of corruption. | ||||
* | emerge --changelog: omit entry for current ver | Zac Medico | 2011-11-17 | 1 | -1/+2 |
| | | | | | This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893. | ||||
* | depgraph: don't merge portage asap | Zac Medico | 2011-11-17 | 2 | -17/+0 |
| | | | | | There's no need to do this anymore, because we don't restart since commit d3f704a425a50b5cfa997a25866929b30f1b7d0f. | ||||
* | Tweak the last commit. | Zac Medico | 2011-11-17 | 2 | -11/+9 |
| | |||||
* | Skip the "resume after portage update" routine. | Zac Medico | 2011-11-17 | 7 | -194/+92 |
| | | | | | | | Instead, finish the whole job using a copy of the currently running instance. This allows us to avoid the complexities of emerge --resume, such as the differences in option handling between different portage versions, as reported in bug #390819. | ||||
* | Show action as --action in emerge.log arg list. | Zac Medico | 2011-11-17 | 1 | -1/+1 |
| | |||||
* | Show option arguments in emerge.log arg list. | Zac Medico | 2011-11-17 | 1 | -1/+11 |
| | |||||
* | pkg_pretend: handle interruption morev2.2.0_alpha75 | Zac Medico | 2011-11-16 | 1 | -0/+6 |
| | |||||
* | pkg_pretend: tweak final cleanup logic | Zac Medico | 2011-11-16 | 1 | -11/+9 |
| | | | | | This ensures that the clean phase will not run if the user interrupts emerge before the build dir is locked. | ||||
* | Scheduler.py: remove unused vars (pyflakes) | Zac Medico | 2011-11-16 | 1 | -8/+0 |
| | |||||
* | Tweak emerge --quiet-build default handling. | Zac Medico | 2011-11-16 | 2 | -4/+1 |
| | | | | | Since --quiet-build is enabled be default, there's no need to have it in the options dict except when it is enabled. | ||||
* | pkg_pretend: lock before unpacking binpkg xpak | Zac Medico | 2011-11-16 | 1 | -17/+20 |
| | | | | This fixes a regression from the previous commit. | ||||
* | pkg_pretend: clean first for bug #390711 | Zac Medico | 2011-11-16 | 2 | -13/+37 |
| | |||||
* | emerge --quiet-build: don't set PORTAGE_QUIET | Zac Medico | 2011-11-16 | 1 | -1/+1 |
| | | | | | | | The PORTAGE_QUIET controls lots of stuff that really should only be controlled by --quiet, especially now that --quiet-build is enabled by default. For example, PORTAGE_QUIET supresses the successful checksum display that is produced by emerge --fetchonly. | ||||
* | xterm title HOSTNAME support, bug #390699 | Zac Medico | 2011-11-16 | 1 | -1/+8 |
| | |||||
* | checksum.py: handle pycrypto breakage | Zac Medico | 2011-11-13 | 1 | -2/+10 |
| | |||||
* | Enable emerge --quiet-build by default.v2.2.0_alpha74 | Zac Medico | 2011-11-11 | 1 | -1/+2 |
| | | | | | | See discussion on the gentoo-dev mailing list: http://archives.gentoo.org/gentoo-dev/msg_4f0401066abe2dc04458a952ac2a17bd.xml | ||||
* | Move ccache/distcc PATH code to doebuild_env.v2.2.0_alpha73 | Zac Medico | 2011-11-09 | 1 | -0/+20 |
| | |||||
* | Use get(REQUIRED_USE) for emphasis. | Zac Medico | 2011-11-09 | 1 | -3/+3 |
| | | | | | None of these cases should raise KeyError, but use get(REQUIRED_USE) anyway to emphasize that care must be taken. |