summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Display EROOT when ROOT != "/".Zac Medico2011-12-197-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 cleanZac Medico2011-12-181-0/+14
|
* 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
|
* test_poll: fix array testZac Medico2011-12-162-2/+76
| | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests.
* 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.
* SpawnProcess: work around array.fromfile() bugsZac Medico2011-12-152-15/+39
| | | | | | 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-1/+3
|
* 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
|
* emerge: disable --quiet-build by defaultZac Medico2011-12-132-2/+2
| | | | | | | | | 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
* 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
|
* 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.
* config: init data/output modules in constructorZac Medico2011-12-101-4/+0
| | | | | The first constructed config object initializes these modules, and subsequent calls to the _init() functions have no effect.
* actions.py: fix grammar in commentZac Medico2011-12-101-1/+1
|
* Binpkg: move imports to topZac Medico2011-12-101-2/+2
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-102-2/+2
|
* emerge: allow search when profile is missingZac Medico2011-12-091-2/+2
|
* Binpkg: ensure $ED exists after extractionZac Medico2011-12-091-0/+1
|
* Binpkg: handle missing dir after chpathtoolZac Medico2011-12-091-5/+11
|
* Binpkg: fix os.path.dirname() usageZac Medico2011-12-091-1/+1
| | | | It doesn't behave as intended for $ED which has a trailing slash.
* Binpkg: add chpathtool support for prefixZac Medico2011-12-091-5/+59
| | | | | | This uses a python-based chpathtool implementation which is intended to be compatible with the C-based implemenation that the prefix branch uses.
* BinpkgEnvExtractor: fix PORTAGE_LOG_FILE spellingZac Medico2011-12-091-2/+2
|
* Delete portage.dbapi.porttree._repo_info class and _repo_info attribute ofArfrever Frehtes Taifersar Arahesis2011-12-091-1/+1
| | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects.
* load_emerge_config: init portage.data earlierZac Medico2011-12-081-7/+10
| | | | | The portage_uid initialization here must to happend before the _init_dirs() calls.
* Enable PORTAGE_GRPNAME/USERNAME in make.conf.Zac Medico2011-12-081-0/+1
| | | | | | | | This is handy for prefix installs, since it allows these variables to be set in make.conf rather than having them hardcoded. Eventually, the corresponding portage.data constants may be deprecated in favor of config attributes, since it's conceivable that multiple configurations with different constants could be used simultaneously.
* action_sync: fix git_sync_timestamps KeyErrorZac Medico2011-12-061-8/+15
| | | | This fixes the case where $PORTDIR doesn't exist prior to sync.
* fix logic from last commitZac Medico2011-12-041-1/+2
|
* depgraph: fix case insensitive search for unsatZac Medico2011-12-041-3/+11
| | | | | | | This fixes an interaction between the code from commits 9ce6da43ab90c4dab97ebf3b8339e5dbc113a0a8 and cbe44d92ff13b8a22f5b4215b73078ce600c6bf4, so that we don't discard matches that are identical except for differnces in upper/lower case.
* action_depclean: fix return codeZac Medico2011-12-022-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 Medico2011-12-013-23/+29
| | | | | | Looping fixes EbuildMetadataPhase failures for ebuilds that produce more than 4096 bytes of metadata, broken since commit b432a1b3051d91546649e8f3190675767461d8e8.
* PipeReader: use os.read/writeZac Medico2011-12-011-19/+11
|
* AsynchronousLock: use os.read/writeZac Medico2011-12-011-15/+28
| | | | | | Similar to commit b432a1b3051d91546649e8f3190675767461d8e8, don't use unecessary file objects. It also happens that these changes fix compatibility issues with PyPy.
* _emerge/EbuildMetadataPhase.py: use os.read()Zac Medico2011-12-011-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 _filesZac Medico2011-12-011-1/+4
|
* _get_dep_chain: fix KeyError, bug #392059Zac Medico2011-11-271-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.
* emerge --help: show --quiet-buildZac Medico2011-11-201-1/+1
|
* Schduler: _check_temp_dir in _handle_self_updateZac Medico2011-11-181-2/+9
|
* resolver/output: unused importsZac Medico2011-11-171-4/+3
|
* emerge --changelog: omit entry for current verZac Medico2011-11-171-1/+2
| | | | | This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893.
* depgraph: don't merge portage asapZac Medico2011-11-171-9/+0
| | | | | There's no need to do this anymore, because we don't restart since commit d3f704a425a50b5cfa997a25866929b30f1b7d0f.
* Tweak the last commit.Zac Medico2011-11-171-11/+2
|
* Skip the "resume after portage update" routine.Zac Medico2011-11-174-129/+38
| | | | | | | 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 Medico2011-11-171-1/+1
|
* Show option arguments in emerge.log arg list.Zac Medico2011-11-171-1/+11
|