summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Optimize RepoConfigLoader._add_overlays().Arfrever Frehtes Taifersar Arahesis2011-12-181-7/+3
|
* set_colors(): Redirect input to `stty size` to make it work afterArfrever Frehtes Taifersar Arahesis2011-12-181-1/+1
| | | | commit a3797a63a30579be3ba5418aad7e76fd520f9aee.
* environment: don't save COLUMNSZac Medico2011-12-181-1/+1
|
* whitelist COLUMNSZac Medico2011-12-181-1/+1
|
* RELEASE-NOTES: revert --quiet-build defaultZac Medico2011-12-181-5/+0
| | | | See commit 028f0b0e223861826747b531824319520ef26ddd.
* Parse layout.conf files in portage.repository.config.RepoConfig.__init__()Arfrever Frehtes Taifersar Arahesis2011-12-181-29/+27
| | | | instead of portage.repository.config.RepoConfigLoader.__init__().
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-1810-63/+25
|
* _show_unsatisfied_dep: avoid invalid, bug #394995Zac Medico2011-12-171-3/+11
|
* tests/emerge: PORTAGE_GRPNAME/USERNAME make.confZac Medico2011-12-161-2/+2
|
* _test_pty_eof: use os.read, not array.fromfileZac Medico2011-12-162-59/+40
| | | | | | We have abandoned array.fromfile() due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* test_poll: add note about unbuffered fdopenZac Medico2011-12-161-0/+3
|
* test_poll: fix array testZac Medico2011-12-163-64/+96
| | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests.
* emerge.1: --changed-use/--selective interactionZac Medico2011-12-161-8/+9
| | | | Also, swap all instances of --reinstall=changed-use with --changed-use.
* PipeReader: use AbstractPollTask._read_buf()Zac Medico2011-12-161-26/+10
|
* SpawnProcess/AbstractPollTask: eliminate arrayZac Medico2011-12-162-25/+8
| | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(). So, eliminate array usage entirely.
* SpawnProcess: remove obsolete fdopenZac Medico2011-12-161-4/+2
| | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(), so there's no need to use fdopen.
* Fix EIO handling for PollSelectAdapter.Zac Medico2011-12-162-4/+14
| | | | | | | | In PipeReader and AbstractPollTask, we have to treat EIO as EOF, in order to terminate the select loop at the correct time when using PollSelectAdapter. This fixes a regression in EIO handling since commits 915348ce34fc499ac295b8f0ffee9f0829803542 adn 30d2d0a9db486c5a70848ad5d27b37a3ec48f271.
* PtyEofFdopenUnBufferedTestCase: PyPy TODOZac Medico2011-12-151-0/+6
| | | | https://bugs.pypy.org/issue956
* data.py: tweak getgrnam call for PyPyZac Medico2011-12-152-5/+6
| | | | | This makes it unnecessary to explicitly call portage.data._init() in runTests, and fixes some other cases that trigger the same issue.
* runTests: initialize portage.data for PyPyZac Medico2011-12-151-0/+4
|
* SpawnProcess: work around array.fromfile() bugsZac Medico2011-12-153-20/+100
| | | | | | When I extended test_poll to test SpawnProcess array.fromfile() usage, it exposed bugs in array.fromfile() that I couldn't find a way to handle. So, use os.read() instead.
* test_poll: test different sizes, and pty tooZac Medico2011-12-152-7/+20
|
* emerge.1: enumerate more --selective=n overridesZac Medico2011-12-151-1/+2
|
* make.conf.5: it's -> itsZac Medico2011-12-151-1/+1
|
* Fix a typo in a comment.v2.2.0_alpha81Arfrever Frehtes Taifersar Arahesis2011-12-141-1/+1
|
* create_trees: pass __PORTAGE_TEST_HARDLINK_LOCKSZac Medico2011-12-141-1/+2
| | | | | | This allows testing of stage builds with __PORTAGE_TEST_HARDLINK_LOCKS set in the environment, since __PORTAGE_TEST_HARDLINK_LOCKS needs to propagate to childs processes for all ROOTs.
* Filter __PORTAGE_TEST_HARDLINK_LOCKS from env.Zac Medico2011-12-141-1/+2
|
* tests/locks: save/restore global env stateZac Medico2011-12-142-0/+15
| | | | | This ensures that global __PORTAGE_TEST_HARDLINK_LOCKS overrides work correctly for all tests.
* hardlink_lockfile: preserve existing permissionsZac Medico2011-12-141-2/+6
|
* lockfile: deprecate file object or fd parametersZac Medico2011-12-131-1/+11
| | | | | | | Support for file object or integer file descriptor parameters is deprecated due to ambiguity in whether or not it's safe to close the file descriptor, making it prone to "Bad file descriptor" errors or file descriptor leaks.
* emergelog: pass path to lockfile, not file objectZac Medico2011-12-131-6/+3
|
* SpawnProcess: use /dev/null fd from subclassZac Medico2011-12-131-14/+17
|
* hardlink_lockfile: optimize away most link callsZac Medico2011-12-131-30/+41
| | | | | | If fstat shows more than one hardlink, then it's extremely unlikely that the following link call will result in a lock, so optimize away the wasteful link call and sleep or raise TryAgain.
* ebuild-ipc.py: return 2 when forked child crashesZac Medico2011-12-131-2/+2
|
* hardlink_is_mine: return False, never NoneZac Medico2011-12-131-1/+2
|
* emerge: disable --quiet-build by defaultZac Medico2011-12-133-5/+3
| | | | | | | | | This reverts the behavior change from commit 0cc174b6fc28feb26ea151d76f794e0ff2c2fa39, since Gentoo's council has voted to revert it in their 20111213 meeting, as requested on the gentoo-project mailing list: http://archives.gentoo.org/gentoo-project/msg_4e282bb4e6ac2611de2a39171a803c48.xml
* locks.py: fix hardlink locks for bug #394195Zac Medico2011-12-137-61/+200
| | | | | | This updates the hardlink locking code to support the non-blocking, lockfile(wantnewlockfile=False), and lockfile(file_object) behaviors which are used by portage code.
* ebuils-ipc.py: _exit in finally block after forkZac Medico2011-12-131-11/+27
|
* locks.py: make hardlink lock files hiddenZac Medico2011-12-131-4/+6
| | | | | This is for consistency with the behavior for normal lock files, since commit ce44ea3e914098a52bc0d1d995e71661659e77ca (bug #142369).
* RepoConfigLoader: masters eclass override orderZac Medico2011-12-131-1/+6
| | | | | | | | Only append the current repo to eclass_locations if it's not there already. This allows masters to have more control over eclass override order, which may be useful for scenarios in which there is a plan to migrate eclasses to a master repo. Thanks to Brian Harring <ferringb@gentoo.org) for suggesting this behavior.
* FifoIpcDaemon: use plain fd instead of fdopenZac Medico2011-12-131-8/+8
|
* AbstractEbuildProcess: interactive pkg_configZac Medico2011-12-131-0/+2
|
* AbstractEbuildProcess: null in if not interactiveZac Medico2011-12-131-1/+13
|
* config: use frozenset for _constant_keys lookupZac Medico2011-12-131-11/+14
|
* Don't nest sandbox in emerge/repoman tests.Zac Medico2011-12-112-1/+6
|
* data._init(): use 'portage' default in first callv2.2.0_alpha80Zac Medico2011-12-111-9/+7
|
* load_emerge_config: change order of code backZac Medico2011-12-101-7/+6
| | | | | A couple of recent commits touched this function, and code got moved around unnecessarily.
* PORTAGE_OVERRIDE_EPREFIX: alphabetize varsZac Medico2011-12-102-5/+5
|
* Remove _SANDBOX_COMPAT_LEVEL.Zac Medico2011-12-105-17/+3
|
* Add _ENABLE_XATTR constant for the stable branch.Zac Medico2011-12-102-2/+8
|