Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PipeReaderArrayTestCase: sleep for fast computers | Zac Medico | 2011-12-18 | 1 | -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 Arahesis | 2011-12-18 | 1 | -8/+9 |
| | |||||
* | Optimize RepoConfigLoader._add_overlays(). | Arfrever Frehtes Taifersar Arahesis | 2011-12-18 | 1 | -7/+3 |
| | |||||
* | whitelist COLUMNS | Zac Medico | 2011-12-18 | 1 | -1/+1 |
| | |||||
* | Parse layout.conf files in portage.repository.config.RepoConfig.__init__() | Arfrever Frehtes Taifersar Arahesis | 2011-12-18 | 1 | -29/+27 |
| | | | | instead of portage.repository.config.RepoConfigLoader.__init__(). | ||||
* | tests/emerge: PORTAGE_GRPNAME/USERNAME make.conf | Zac Medico | 2011-12-16 | 1 | -2/+2 |
| | |||||
* | _test_pty_eof: use os.read, not array.fromfile | Zac Medico | 2011-12-16 | 2 | -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 fdopen | Zac Medico | 2011-12-16 | 1 | -0/+3 |
| | |||||
* | test_poll: fix array test | Zac Medico | 2011-12-16 | 1 | -62/+20 |
| | | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests. | ||||
* | PtyEofFdopenUnBufferedTestCase: PyPy TODO | Zac Medico | 2011-12-15 | 1 | -0/+6 |
| | | | | https://bugs.pypy.org/issue956 | ||||
* | data.py: tweak getgrnam call for PyPy | Zac Medico | 2011-12-15 | 2 | -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 PyPy | Zac Medico | 2011-12-15 | 1 | -0/+4 |
| | |||||
* | SpawnProcess: work around array.fromfile() bugs | Zac Medico | 2011-12-15 | 1 | -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 too | Zac Medico | 2011-12-15 | 1 | -6/+17 |
| | |||||
* | Fix a typo in a comment.v2.2.0_alpha81 | Arfrever Frehtes Taifersar Arahesis | 2011-12-14 | 1 | -1/+1 |
| | |||||
* | create_trees: pass __PORTAGE_TEST_HARDLINK_LOCKS | Zac Medico | 2011-12-14 | 1 | -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 state | Zac Medico | 2011-12-14 | 2 | -0/+15 |
| | | | | | This ensures that global __PORTAGE_TEST_HARDLINK_LOCKS overrides work correctly for all tests. | ||||
* | hardlink_lockfile: preserve existing permissions | Zac Medico | 2011-12-14 | 1 | -2/+6 |
| | |||||
* | lockfile: deprecate file object or fd parameters | Zac Medico | 2011-12-13 | 1 | -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 calls | Zac Medico | 2011-12-13 | 1 | -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 None | Zac Medico | 2011-12-13 | 1 | -1/+2 |
| | |||||
* | locks.py: fix hardlink locks for bug #394195 | Zac Medico | 2011-12-13 | 7 | -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 hidden | Zac Medico | 2011-12-13 | 1 | -4/+6 |
| | | | | | This is for consistency with the behavior for normal lock files, since commit ce44ea3e914098a52bc0d1d995e71661659e77ca (bug #142369). | ||||
* | RepoConfigLoader: masters eclass override order | Zac Medico | 2011-12-13 | 1 | -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 lookup | Zac Medico | 2011-12-13 | 1 | -11/+14 |
| | |||||
* | Don't nest sandbox in emerge/repoman tests. | Zac Medico | 2011-12-11 | 2 | -1/+6 |
| | |||||
* | data._init(): use 'portage' default in first callv2.2.0_alpha80 | Zac Medico | 2011-12-11 | 1 | -9/+7 |
| | |||||
* | PORTAGE_OVERRIDE_EPREFIX: alphabetize vars | Zac Medico | 2011-12-10 | 1 | -2/+2 |
| | |||||
* | Remove _SANDBOX_COMPAT_LEVEL. | Zac Medico | 2011-12-10 | 3 | -7/+2 |
| | |||||
* | Add _ENABLE_XATTR constant for the stable branch. | Zac Medico | 2011-12-10 | 2 | -2/+8 |
| | |||||
* | ResolverPlayground: don't nest sandbox | Zac Medico | 2011-12-10 | 1 | -0/+4 |
| | |||||
* | data.py: avoid portage.settings when possible | Zac Medico | 2011-12-10 | 1 | -4/+16 |
| | |||||
* | data.py: rename var to _portage_username | Zac Medico | 2011-12-10 | 1 | -8/+8 |
| | |||||
* | config: init data/output modules in constructor | Zac Medico | 2011-12-10 | 3 | -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 clones | Zac Medico | 2011-12-10 | 1 | -4/+4 |
| | |||||
* | const.py: fix spelling of a comment | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | Make eprefix=None params map to const.EPREFIX | Zac Medico | 2011-12-10 | 3 | -5/+6 |
| | |||||
* | Use portage.shutil for safer unicode handling. | Zac Medico | 2011-12-10 | 12 | -16/+13 |
| | |||||
* | vartree.py: lazy movefile import | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | movefile.py: open /dev/null in binary mode | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | get_term_size: all values >= 0 for bug #394091 | Zac Medico | 2011-12-10 | 1 | -5/+10 |
| | |||||
* | config.environ: allow prefix vars if no EAPI | Zac Medico | 2011-12-10 | 1 | -2/+2 |
| | | | | | This allows access to EPREFIX inside things like post_sync hooks, where EAPI is undefined. | ||||
* | doebuild: disable noauto for binpkgs later | Zac Medico | 2011-12-10 | 1 | -4/+8 |
| | | | | | This is safer since doebuild_environment() can modify FEATURES if setcpv isn't called before. | ||||
* | Make portdbapi.eclassdb a property. | Zac Medico | 2011-12-09 | 1 | -1/+7 |
| | |||||
* | config: set PORTAGE_OVERRIDE_EPREFIX for subprocs | Zac Medico | 2011-12-09 | 1 | -0/+5 |
| | |||||
* | Rename override var to PORTAGE_OVERRIDE_EPREFIX. | Zac Medico | 2011-12-09 | 4 | -5/+5 |
| | |||||
* | create_trees: add public eprefix parameter | Zac Medico | 2011-12-09 | 2 | -6/+4 |
| | |||||
* | config: make eprefix constructor parameter public | Zac Medico | 2011-12-09 | 3 | -10/+6 |
| | |||||
* | config: constructor default portage.const.EPREFIX | Zac Medico | 2011-12-09 | 1 | -1/+2 |
| | |||||
* | Use portage.const.EPREFIX more. | Zac Medico | 2011-12-09 | 6 | -9/+7 |
| |