summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* pkg_pretend: handle interruption morev2.2.0_alpha75Zac Medico2011-11-161-0/+6
|
* pkg_pretend: tweak final cleanup logicZac Medico2011-11-161-11/+9
| | | | | This ensures that the clean phase will not run if the user interrupts emerge before the build dir is locked.
* Scheduler.py: remove unused vars (pyflakes)Zac Medico2011-11-161-8/+0
|
* Tweak emerge --quiet-build default handling.Zac Medico2011-11-162-4/+1
| | | | | Since --quiet-build is enabled be default, there's no need to have it in the options dict except when it is enabled.
* pkg_pretend: lock before unpacking binpkg xpakZac Medico2011-11-161-17/+20
| | | | This fixes a regression from the previous commit.
* pkg_pretend: clean first for bug #390711Zac Medico2011-11-161-13/+33
|
* emerge --quiet-build: don't set PORTAGE_QUIETZac Medico2011-11-161-1/+1
| | | | | | | The PORTAGE_QUIET controls lots of stuff that really should only be controlled by --quiet, especially now that --quiet-build is enabled by default. For example, PORTAGE_QUIET supresses the successful checksum display that is produced by emerge --fetchonly.
* xterm title HOSTNAME support, bug #390699Zac Medico2011-11-161-1/+8
|
* Enable emerge --quiet-build by default.v2.2.0_alpha74Zac Medico2011-11-111-1/+2
| | | | | | See discussion on the gentoo-dev mailing list: http://archives.gentoo.org/gentoo-dev/msg_4f0401066abe2dc04458a952ac2a17bd.xml
* Use get(REQUIRED_USE) for emphasis.Zac Medico2011-11-091-3/+3
| | | | | None of these cases should raise KeyError, but use get(REQUIRED_USE) anyway to emphasize that care must be taken.
* depgraph: fix possible REQUIRED_USE KeyErrorZac Medico2011-11-081-1/+1
| | | | This goes with commit a0961708ced50c90497811058eda6f4513d2986d.
* depgraph._queue_disjunctive_deps(): Pass EAPI to portage.dep.Atom().Arfrever Frehtes Taifersar Arahesis2011-11-071-1/+1
|
* Allow repository dependencies in command line arguments for --config and ↵Arfrever Frehtes Taifersar Arahesis2011-11-072-2/+2
| | | | --info actions.
* Fix breakage from last commit.Zac Medico2011-11-071-1/+1
|
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-073-4/+5
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* emerge --changelog: ChangeLog-YYYY, bug #389611Zac Medico2011-11-061-19/+30
|
* Respect --usepkgonly in suggestions, bug #389617Zac Medico2011-11-061-1/+2
|