summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* PipeReaderArrayTestCase: sleep for fast computersZac Medico2011-12-181-1/+4
| | | | Allows reliable triggering of the failure mode on fast computers.
* RepoConfigLoader._add_overlays(): Rename a variable and add a comment.Arfrever Frehtes Taifersar Arahesis2011-12-181-8/+9
|
* Optimize RepoConfigLoader._add_overlays().Arfrever Frehtes Taifersar Arahesis2011-12-181-7/+3
|
* whitelist COLUMNSZac Medico2011-12-181-1/+1
|
* 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__().
* 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-161-62/+20
| | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests.
* 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-151-5/+61
| | | | | | 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-151-6/+17
|
* 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.
* 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.
* 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.
* hardlink_is_mine: return False, never NoneZac Medico2011-12-131-1/+2
|
* 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.
* 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.
* 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
|
* PORTAGE_OVERRIDE_EPREFIX: alphabetize varsZac Medico2011-12-101-2/+2
|
* Remove _SANDBOX_COMPAT_LEVEL.Zac Medico2011-12-103-7/+2
|
* Add _ENABLE_XATTR constant for the stable branch.Zac Medico2011-12-102-2/+8
|
* ResolverPlayground: don't nest sandboxZac Medico2011-12-101-0/+4
|
* data.py: avoid portage.settings when possibleZac Medico2011-12-101-4/+16
|
* data.py: rename var to _portage_usernameZac Medico2011-12-101-8/+8
|
* config: init data/output modules in constructorZac Medico2011-12-103-4/+8
| | | | | The first constructed config object initializes these modules, and subsequent calls to the _init() functions have no effect.
* config: skip unneeded constructor code for clonesZac Medico2011-12-101-4/+4
|
* const.py: fix spelling of a commentZac Medico2011-12-101-1/+1
|
* Make eprefix=None params map to const.EPREFIXZac Medico2011-12-103-5/+6
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-1012-16/+13
|
* vartree.py: lazy movefile importZac Medico2011-12-101-1/+1
|
* movefile.py: open /dev/null in binary modeZac Medico2011-12-101-1/+1
|
* get_term_size: all values >= 0 for bug #394091Zac Medico2011-12-101-5/+10
|
* config.environ: allow prefix vars if no EAPIZac Medico2011-12-101-2/+2
| | | | | This allows access to EPREFIX inside things like post_sync hooks, where EAPI is undefined.
* doebuild: disable noauto for binpkgs laterZac Medico2011-12-101-4/+8
| | | | | This is safer since doebuild_environment() can modify FEATURES if setcpv isn't called before.
* Make portdbapi.eclassdb a property.Zac Medico2011-12-091-1/+7
|
* config: set PORTAGE_OVERRIDE_EPREFIX for subprocsZac Medico2011-12-091-0/+5
|
* Rename override var to PORTAGE_OVERRIDE_EPREFIX.Zac Medico2011-12-094-5/+5
|
* create_trees: add public eprefix parameterZac Medico2011-12-092-6/+4
|
* config: make eprefix constructor parameter publicZac Medico2011-12-093-10/+6
|
* config: constructor default portage.const.EPREFIXZac Medico2011-12-091-1/+2
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-096-9/+7
|