summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add emerge --moo action for bug #389609.Zac Medico2011-11-061-16/+25
|
* git_sync_timestamps: validation_chf == mtimeZac Medico2011-10-291-2/+1
|
* Use dbapi._known_keys more.Zac Medico2011-10-291-2/+1
|
* action_metadata: clean up src entry validationZac Medico2011-10-291-34/+10
| | | | | This eliminates a bunch of redundant eclasses code that we handle with template.validate_entry() instead.
* EbuildMetadataPhase: use /dev/null for stdinZac Medico2011-10-292-7/+3
|
* actions.py: remove unused variablesZac Medico2011-10-291-9/+1
|
* action_metadata: use auxdbkeys to compare entriesZac Medico2011-10-291-7/+1
| | | | | This borrows the approach that egencache uses since commit 0e120da008c9d0d41c9372c81145c6e153028a6d.
* emerge --metadata: support md5-dictZac Medico2011-10-291-4/+32
| | | | | | This adds support to action_metadata() for use of arbitrary validation methods, which were introduced in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* git_sync_timestamps: fix breakageZac Medico2011-10-281-9/+18
| | | | | This has been broken since metadbmodule support was removed in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6.
* Use EROOT to validate path arguments.Zac Medico2011-10-282-5/+5
|
* Use any() instead of list(filter()).Zac Medico2011-10-281-1/+1
|
* Check for bytes instead of unicode in args.Zac Medico2011-10-281-2/+1
| | | | | | This simplifies the checks since the bytes type is available in all supported python versions, while the unicode type is only available in python2.
* stacklevel=3 for properties warningsZac Medico2011-10-271-1/+1
| | | | There's an extra level for the @property wrapper.
* fix previous commit to call ensure_dirsZac Medico2011-10-271-1/+2
|