Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | portage.repository.config.RepoConfigLoader: Rename _add_overlays() to | Arfrever Frehtes Taifersar Arahesis | 2011-12-25 | 1 | -2/+2 |
| | | | | _add_repositories(). | ||||
* | Add FEATURES=config-protect-if-modified support. | Zac Medico | 2011-12-24 | 2 | -1/+15 |
| | | | | | This causes the CONFIG_PROTECT behavior to be skipped for files that have not been modified since they were installed. | ||||
* | FakeVartree: implement self.dbapi._aux_cache_keys | Zac Medico | 2011-12-24 | 1 | -0/+1 |
| | | | | This will fix bug #395879. | ||||
* | Fix a typo in a doc string. | Arfrever Frehtes Taifersar Arahesis | 2011-12-24 | 1 | -1/+1 |
| | |||||
* | AbstractPollTask: note PipeReaderArrayTestCasev2.2.0_alpha82 | Zac Medico | 2011-12-23 | 1 | -2/+2 |
| | |||||
* | depgraph.py: remove unused variables | Zac Medico | 2011-12-23 | 1 | -3/+1 |
| | |||||
* | _pty.py: remove unused _tested_pty variable | Zac Medico | 2011-12-22 | 1 | -2/+0 |
| | |||||
* | _pty.py: remove _test_pty_eof() | Zac Medico | 2011-12-22 | 2 | -175/+8 |
| | | | | | | | | | | | If array.fromfile() is not used, then _test_pty_eof() is useless. This function was for runtime detection of python issue 5380: http://bugs.python.org/issue5380 However, array.fromfile() use has since been abandoned due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example. | ||||
* | config.setcpv(): use dbapi._aux_cache_keys | Zac Medico | 2011-12-22 | 1 | -1/+4 |
| | | | | | This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get(). | ||||
* | _aux_env_search: decode unicode more | Zac Medico | 2011-12-22 | 1 | -0/+3 |
| | |||||
* | fetch: don't apply permissions to symlinks | Zac Medico | 2011-12-22 | 1 | -9/+16 |
| | | | | | | We don't want to modify anything outside of the primary DISTDIR, and symlinks typically point to PORTAGE_RO_DISTDIRS. This will fix bug #395705. | ||||
* | search.py: use _aux_cache_keys more | Zac Medico | 2011-12-21 | 1 | -1/+1 |
| | | | | | This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get(). | ||||
* | vardbapi._aux_get: unicode EAPI key | Zac Medico | 2011-12-21 | 1 | -1/+1 |
| | |||||
* | vardbapi._aux_get: search environment in one pass | Zac Medico | 2011-12-21 | 1 | -43/+53 |
| | |||||
* | vardbapi._aux_get: account for _aux_cache_keys_re | Zac Medico | 2011-12-21 | 1 | -1/+2 |
| | |||||
* | vardbapi.aux_get: search environment, bug 395463 | Zac Medico | 2011-12-21 | 1 | -5/+79 |
| | |||||
* | data.py: stat EROOT for PORTAGE_GRPNAME/USERNAME | Zac Medico | 2011-12-21 | 1 | -12/+36 |
| | | | | | The config class has equivalent code, but we also need to do it here if _disable_legacy_globals() has been called. | ||||
* | hashed_path: implement __repr__ | Zac Medico | 2011-12-20 | 1 | -0/+2 |
| | |||||
* | Silently allow missing /var/cache/edb/counter. | Zac Medico | 2011-12-20 | 1 | -8/+4 |
| | | | | Files under /var/cache/ are allowed to disappear. | ||||
* | Force COLUMNS > 0 for bug #394091. | Zac Medico | 2011-12-19 | 1 | -0/+4 |
| | |||||
* | Display EROOT when ROOT != "/". | Zac Medico | 2011-12-19 | 7 | -15/+16 |
| | | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/". | ||||
* | _run_pkg_pretend: doebuild_environment for clean | Zac Medico | 2011-12-18 | 1 | -0/+14 |
| | |||||
* | Define portage.repository.config.RepoConfig.__repr__(). | Arfrever Frehtes Taifersar Arahesis | 2011-12-18 | 1 | -0/+3 |
| | |||||
* | test_poll: separate classes for pipe vs. pty | Zac Medico | 2011-12-18 | 1 | -14/+23 |
| | | | | Also, generate appropriate SKIP message if pty is not acquired. | ||||
* | 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__(). | ||||
* | Fix some warnings found by pylint. | Arfrever Frehtes Taifersar Arahesis | 2011-12-18 | 10 | -63/+25 |
| | |||||
* | _show_unsatisfied_dep: avoid invalid, bug #394995 | Zac Medico | 2011-12-17 | 1 | -3/+11 |
| | |||||
* | 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 | 3 | -64/+96 |
| | | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests. | ||||
* | PipeReader: use AbstractPollTask._read_buf() | Zac Medico | 2011-12-16 | 1 | -26/+10 |
| | |||||
* | SpawnProcess/AbstractPollTask: eliminate array | Zac Medico | 2011-12-16 | 2 | -25/+8 |
| | | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(). So, eliminate array usage entirely. | ||||
* | SpawnProcess: remove obsolete fdopen | Zac Medico | 2011-12-16 | 1 | -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 Medico | 2011-12-16 | 2 | -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 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 | 3 | -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 too | Zac Medico | 2011-12-15 | 2 | -7/+20 |
| | |||||
* | 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. | ||||
* | emergelog: pass path to lockfile, not file object | Zac Medico | 2011-12-13 | 1 | -6/+3 |
| |