summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo.v2.2_rc19Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12341
* Refactor EbuildMetadataPhase._output_handler() and _set_returncode().Zac Medico2008-12-251-16/+13
| | | | svn path=/main/trunk/; revision=12339
* Use long() instead of float() when parsing Package.mtime from the metadata.Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12332
* Add support for synchronizing ebuild and eclass timestamps with the metadataZac Medico2008-12-251-1/+136
| | | | | | | | | | | cache timestamps which emerge --sync operates on a git repository. This is necessary since git doesn't preserve timestamps. It is assumed that the timestamps should be synchronized if the relevant ebuilds and eclasses are unmodified relative to the HEAD commit (as reported by git-ls-files). This feature was requested by Daniel Robbins, so that it's possible for the funtoo git repository to distribute pre-generated metadata. svn path=/main/trunk/; revision=12303
* Make BinpkgFetcher use longs instead of floats when synchronizing timestamps,Zac Medico2008-12-241-2/+2
| | | | | | since it's better not to rely on float comparison here. svn path=/main/trunk/; revision=12302
* Make more code conditional on POLLIN events, where appropriate.Zac Medico2008-12-231-31/+38
| | | | svn path=/main/trunk/; revision=12291
* Move initial signal handlers to the launcher script.Zac Medico2008-12-231-17/+2
| | | | svn path=/main/trunk/; revision=12290
* Rename the PollTask class to AbstractPollTask.Zac Medico2008-12-231-3/+6
| | | | svn path=/main/trunk/; revision=12289
* Add handling for POLLERR, POLLNVAL, and POLLHUP. Hopefully this solves hung ↵Zac Medico2008-12-231-40/+72
| | | | | | | | | poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. svn path=/main/trunk/; revision=12287
* Register for poll events before forking, in order to avoid potential race ↵Zac Medico2008-12-231-13/+12
| | | | | | | | | | conditions in SpawnProcess._start() and EbuildMetadataPhase._start(). Hopefully this solves hung poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. svn path=/main/trunk/; revision=12285
* Simplify the code from bug #218854. Also, ensure that the set of visible ↵Zac Medico2008-12-231-33/+7
| | | | | | | | | | packages thats used by depgraph._iter_atoms_for_pkg() is consistent with the packages that have been selected by depgraph._select_pkg_highest_available(). This should correct potential inconstencies introduced by the package selection changes from bug #252167. svn path=/main/trunk/; revision=12279
* Bug #252167 - If the ebuild no longer exists or it's keywords have been dropped,Zac Medico2008-12-231-8/+27
| | | | | | | reject built instances (installed or binary). If --usepkgonly is enabled, assume that the ebuild status should be ignored. svn path=/main/trunk/; revision=12278
* Fix --clean <atom> so that it considers all packages within a given slot whenZac Medico2008-12-211-1/+16
| | | | | | | | it's deciding which packages to keep, rather than just considering the ones matched by the given atom. Any packages not matching the given atom are protected from being unmerged. Thanks to Mart Raudsepp <leio@g.o> for reporting. svn path=/main/trunk/; revision=12272
* Update --depclean 'unsatisfied deps' message to recommend the same emerge updateZac Medico2008-12-211-2/+2
| | | | | | | command that's recommended earlier. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12271
* Remove the TaskScheduler.run() method since the constructor replaces it withZac Medico2008-12-211-3/+0
| | | | | | the QueueScheduler.run() method. svn path=/main/trunk/; revision=12270
* Fix DependencyArg.__str__() to ensure that str type is always returned.Zac Medico2008-12-191-1/+1
| | | | svn path=/main/trunk/; revision=12258
* Inside display_preserved_libs(), filter out consumers that belong to theZac Medico2008-12-171-4/+5
| | | | | | same package as the provider only if those consumers are also preserved. svn path=/main/trunk/; revision=12257
* Inside display_preserved_libs(), filter out any consumers that belong to theZac Medico2008-12-151-1/+7
| | | | | | same package as the provider. svn path=/main/trunk/; revision=12253
* Update comment about resume opts stored as dict starting with 2.1.6_rc1.Zac Medico2008-12-121-1/+1
| | | | svn path=/main/trunk/; revision=12246
* Add a new FEATURES=test-fail-continue value which causes ebuild executionZac Medico2008-12-121-0/+4
| | | | | | | to continue after the test phase has failed. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. svn path=/main/trunk/; revision=12214
* Fix --pretend logic in Binpkg some more.Zac Medico2008-12-121-2/+2
| | | | svn path=/main/trunk/; revision=12213
* Fix --getbinpkg to behave as expected with --pretend and --fetchonly.Zac Medico2008-12-121-6/+20
| | | | svn path=/main/trunk/; revision=12212
* Fix --getbinpkgonly behavior so that binaries from the remote server areZac Medico2008-12-121-5/+12
| | | | | | | preferred over local packages if they are not identical. Thanks to Lance Albertson <ramereth@g.o> for reporting. svn path=/main/trunk/; revision=12207
* Don't warn about missing repo_name for $PORTDIR when it happens to be empty.Zac Medico2008-12-111-0/+6
| | | | svn path=/main/trunk/; revision=12206
* Add --sync support for `git pull`, and also add a failsafe to prevent rsyncZac Medico2008-12-111-0/+27
| | | | | | | from being called if $PORTDIR appears to be under revision control. Thanks to Daniel Robbins for the initial patch. svn path=/main/trunk/; revision=12205
* Make BinpkgFetcher synchronize the local timestamp of the downloaded fileZac Medico2008-12-111-0/+24
| | | | | | with the remote file, if the fetcher hasn't done it automatically. svn path=/main/trunk/; revision=12201
* Make Binpkg clean the build dir immediately after locking it. This ensuresZac Medico2008-12-101-0/+6
| | | | | | that a new PORTAGE_LOG_FILE is created. svn path=/main/trunk/; revision=12198
* Make BinpkgVerifier rename files that fail verification, similar to howZac Medico2008-12-101-0/+6
| | | | | | distfiles are automatically renamed. svn path=/main/trunk/; revision=12197
* Make the Binpkg class handle fetch logging similar to how EbuildBuild does,Zac Medico2008-12-101-20/+18
| | | | | | | directing output to PORTAGE_LOG_FILE instead of emerge-fetch.log which is only used for prefetchers now. svn path=/main/trunk/; revision=12196
* Verify binary packages even when not in "strict" mode (normal distfiles areZac Medico2008-12-101-2/+1
| | | | | | also verified in this case). svn path=/main/trunk/; revision=12195
* Create a BinpkgPrefetcher composite task to handle fetch, verification,Zac Medico2008-12-101-3/+36
| | | | | | and injection. svn path=/main/trunk/; revision=12194
* When the Binpkg class has fetched a package in --fetchonly mode, wait untilZac Medico2008-12-101-5/+7
| | | | | | after the package is verified and injected before returning. svn path=/main/trunk/; revision=12193
* When processing output from the "depend" phase, use the number of lines asZac Medico2008-12-101-2/+11
| | | | | | a sanity check so that bash's returncode doesn't have to be trusted. svn path=/main/trunk/; revision=12191
* When in --debug mode, make the depgraph call self.digraph.debug_print() toZac Medico2008-12-091-0/+6
| | | | | | | | display the final digraph state. This should help when troubleshooting problems with blockers that don't resolve automatically, by making it easier to see what pulled in unwanted packages. svn path=/main/trunk/; revision=12185
* For py3k compat, remove Package.__cmp__() and related cmp() function call.Zac Medico2008-12-091-8/+1
| | | | svn path=/main/trunk/; revision=12183
* Fix deprecated_profile_check() to account for PORTAGE_CONFIGROOT. Thanks toZac Medico2008-12-081-1/+1
| | | | | | Jeremy Olexa <darkside@g.o> for the initial patch. svn path=/main/trunk/; revision=12181
* Avoid TypeError in BlockerCache.__iter__() that's triggered withZac Medico2008-12-081-0/+3
| | | | | | FEATURES=python-trace. Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=12180
* Validate $ROOT inside the --resume merge list in order to avoid a pottentialZac Medico2008-12-061-0/+12
| | | | | | | KeyError due to a stale merge list that was for a different $ROOT setting. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=12166
* Bug #249805 - Add some more PreservedLibsRegistry.pruneNonExisting() calls,Zac Medico2008-12-041-0/+3
| | | | | | | to avoid a KeyError from LinkageMap.findConsumers() triggered inside display_preserved_libs(). svn path=/main/trunk/; revision=12152
* Make sure depgraph._slot_conflict_explanation() doesn't display the sameZac Medico2008-12-041-1/+1
| | | | | | atom more than once. svn path=/main/trunk/; revision=12150
* Bug #249185 - For common cases in which USE deps trigger SLOT conflicts, giveZac Medico2008-12-041-18/+98
| | | | | | a short explanation and suggest a course of action to solve the problem. svn path=/main/trunk/; revision=12148
* Break references between the depgraph and the dropped tasks insideZac Medico2008-12-031-0/+1
| | | | | | | Scheduler._calc_resume_list(), since the tasks are now saved for display at the end. svn path=/main/trunk/; revision=12146
* When --keep-going drops packages due to unsatisfied dependencies, includeZac Medico2008-12-031-0/+1
| | | | | | | them in the list of packgaes that "failed to build or install" that's displayed at the end. svn path=/main/trunk/; revision=12144
* Fix depgraph._dep_check_composite_db._visible() to reject installed packagesZac Medico2008-12-021-7/+7
| | | | | | | | | that are masked. This is necessary for correct choices in || deps when we want to ensure that installed masked packages are not preferred over other available choices that are not masked. Thanks to Jan Kundrát <jkt@g.o> for reporting this issue and testing the patch. svn path=/main/trunk/; revision=12138
* Bug #249185 - For more useful output in cases when one or more USE depsZac Medico2008-12-011-50/+122
| | | | | | | | trigger "SLOT conflicts", show the specific atoms that triggered the conflict. TODO: Distiguish between various possible causes and tailor messages to suit them. svn path=/main/trunk/; revision=12125
* Change depgraph._slot_collision_info() from a set to a dict that containsZac Medico2008-11-301-11/+16
| | | | | | | sets of packages pulled into a given slot. This will make the data easier to analyze when implementing a fix for bug #249185. svn path=/main/trunk/; revision=12124
* Add a sanity check inside depgraph._add_pkg() to ensure that the dependenciesZac Medico2008-11-291-1/+5
| | | | | | of the same package are never processed more than once. svn path=/main/trunk/; revision=12122
* Make Scheduler.merge() bail out early if PORTAGE_TMPDIR is not properly set.Zac Medico2008-11-261-0/+16
| | | | svn path=/main/trunk/; revision=12103
* Bug #248782 - Handle permission error in EbuildFetchonly.execute() if ↵Zac Medico2008-11-261-1/+6
| | | | | | | | PORTAGE_TMPDIR is not writable. svn path=/main/trunk/; revision=12092
* Remove world and system targets for emerge --help since it no longer works ↵Zac Medico2008-11-251-29/+0
| | | | | | | | now that they are sets rather than actions. svn path=/main/trunk/; revision=12086