summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* * Add support in dep_getusedeps() and isvalidatom() for comma separated USEZac Medico2008-07-282-3/+33
| | | | | | | deps that only have one set of square brackets. * Add test cases for the new comma separated USE deps syntax. svn path=/main/trunk/; revision=11229
* Bug #233137 - Implement Atom.split().Zac Medico2008-07-281-1/+2
| | | | svn path=/main/trunk/; revision=11228
* Fix EbuildFetcher to pass all config variables to the fetcher so thingsZac Medico2008-07-272-7/+8
| | | | | | like http_proxy are included. svn path=/main/trunk/; revision=11223
* Make elog_base() just use \n as the delimiter in the file since it's safeZac Medico2008-07-271-1/+1
| | | | | | now that lines are always split. svn path=/main/trunk/; revision=11220
* Fix breakage from r11213 in INHERITED values returned from portdbapi.aux_get().Zac Medico2008-07-271-8/+4
| | | | svn path=/main/trunk/; revision=11217
* Serialize src_unpack() $DISTDIR access for live ebuilds since otherwise theyZac Medico2008-07-272-5/+44
| | | | | | | can interfere with eachother. This will have to rely on a hardcoded list of eclasses until we create way to properly tag this information in the metadata. svn path=/main/trunk/; revision=11213
* Schedule ebuild pkg_setup phases on the merge queue,Zac Medico2008-07-271-15/+37
| | | | | | | in order to serialize unsandboxed access to the live filesystem. svn path=/main/trunk/; revision=11204
* In PollScheduler._poll(), add a call to _schedule() in order to ensure thatZac Medico2008-07-271-16/+36
| | | | | | | | | event handlers are registered if possible. If not, raise StopIteration in order to avoid endless blocking in a poll call with no file descriptors registered. Add StopIteration exception handling for all PollScheduler._poll._next_poll_event() calls. svn path=/main/trunk/; revision=11203
* Fix AsynchronousTask.removeStartListener() and removeExitListener() to returnZac Medico2008-07-271-0/+4
| | | | | | early if there are no listeners. svn path=/main/trunk/; revision=11202
* Fix LinkageMap.findConsumers() to check whether the master link for a libZac Medico2008-07-261-1/+19
| | | | | | | | | | | | | | | | | | | | providing a given soname actually points to that lib. If there is another version of this lib with the same soname and the master link points to that other version, this lib will be shadowed and won't have any consumers. By eliminating false, positives this way, we avoid the following state after upgrade from media-libs/mesa-7.0.3 to media-libs/mesa-7.1_rc3: # scanelf -S /usr/lib64/libGLU.so* TYPE SONAME FILE ET_DYN libGLU.so.1 /usr/lib64/libGLU.so ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1 ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3 ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3.070003 ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3.070100 <- shadowed lib Thanks to Diego "Flameeyes" Pettenò for reporting this issue. svn path=/main/trunk/; revision=11200
* Split out an apply_priorities() function to apply nice and ionice settings.Zac Medico2008-07-261-10/+15
| | | | svn path=/main/trunk/; revision=11198
* Bug #232924 - When the user specifies a non-existent set, display a list ofZac Medico2008-07-262-4/+24
| | | | | | existing sets. svn path=/main/trunk/; revision=11197
* Bug #228085 - In the event of a file collision, the explanation about theZac Medico2008-07-261-1/+14
| | | | | | | | collision and how to solve it may not be visible via a scrollback buffer, especially if the number of file collisions is large. Therefore, show a summary at the end and refer the user to the elog messages. svn path=/main/trunk/; revision=11196
* Suppress "for /" and "to /" in status messages when ROOT=/. Thanks toZac Medico2008-07-251-9/+15
| | | | | | Thargor for the suggestion. svn path=/main/trunk/; revision=11191
* Fix PORTAGE_BIN_PATH typo in EbuildFetcher._start().Zac Medico2008-07-251-1/+1
| | | | svn path=/main/trunk/; revision=11190
* Detect an invalid cpv passed into portdbapi.findname2() and raise anZac Medico2008-07-251-1/+3
| | | | | | | InvalidPackageName exception. This avoids silent or nonsense errors later on. svn path=/main/trunk/; revision=11188
* Cancel prefetchers if they're the only reason the main poll loop is stillZac Medico2008-07-251-0/+7
| | | | | | running. svn path=/main/trunk/; revision=11185
* When in background mode and there is a single failure, dump the whole buildZac Medico2008-07-241-9/+40
| | | | | | log for convenience. svn path=/main/trunk/; revision=11184
* * Refer user to make.conf(5) if PORTAGE_IONICE_COMMAND fails.Zac Medico2008-07-241-0/+1
| | | | | | | * Document that PORTAGE_IONICE_COMMAND can be disabled by setting it to an empty string. svn path=/main/trunk/; revision=11183
* Bug #206773 - Add a new PORTAGE_IONICE_COMMAND variable that emerge usesZac Medico2008-07-242-1/+27
| | | | | | | | | to adjust ionice priority, similar to PORTAGE_NICENESS but used more like FETCHCOMMAND since so that portage doesn't have to know anything about ionice options. The command should include a \${PID} place-holder to be substituted with an integer pid. svn path=/main/trunk/; revision=11182
* Bug #228117 - Insert a trailing newline in the getconfig() input file asZac Medico2008-07-241-1/+39
| | | | | | | | | necessary to avoid a silent error in shlex that is triggered by a source statement at the end of the file without a trailing newline after the source statement. To solve this problem, derive a special file class that inserts a newline just before eof when necessary. svn path=/main/trunk/; revision=11181
* Avoid "0 files checked ..." messages reported by Pesa.Zac Medico2008-07-231-1/+1
| | | | svn path=/main/trunk/; revision=11177
* Fix --depclean/--prune regressions reported by selkin:Zac Medico2008-07-231-2/+9
| | | | | | | | | * Make --with-bdeps default to "y" for removal actions. * Treat unsatisfied build time dependencies as "soft" for removal actions, even when --with-bdeps=y. svn path=/main/trunk/; revision=11176
* Add GENTOO_MIRRORS to the variables exported by EbuildFetcher.v2.2_rc2Zac Medico2008-07-231-1/+1
| | | | svn path=/main/trunk/; revision=11173
* Make --fetchonly disable background mode.Zac Medico2008-07-231-2/+6
| | | | svn path=/main/trunk/; revision=11170
* Handle UnsatisfiedResumeDep in Scheduler._calc_resume_list().Zac Medico2008-07-221-4/+44
| | | | svn path=/main/trunk/; revision=11169
* Update --depclean and --prune, removing warnings about libraries since thoseZac Medico2008-07-222-29/+39
| | | | | | are now automatically accounted for. svn path=/main/trunk/; revision=11168
* In dblink.unmerge(), redirect preserve-libs "!needed" messages to the log fileZac Medico2008-07-221-1/+2
| | | | | | when in background mode. svn path=/main/trunk/; revision=11167
* Fix resume_depgraph() so that it doesn't raise an AssertionError due toZac Medico2008-07-221-6/+4
| | | | | | unsatisfied PDEPEND. svn path=/main/trunk/; revision=11166
* Show the number of failed packages in the status display.Zac Medico2008-07-221-11/+10
| | | | svn path=/main/trunk/; revision=11165
* Redirect build log eqawarn messages to the log file when in background mode.Zac Medico2008-07-222-3/+13
| | | | svn path=/main/trunk/; revision=11164
* Disable "Installing" status messages when in --pretend or --buildpkgonlyZac Medico2008-07-221-1/+3
| | | | | | mode. svn path=/main/trunk/; revision=11163
* Make --pretend disable background mode and imply --jobs=1.Zac Medico2008-07-221-2/+4
| | | | svn path=/main/trunk/; revision=11162
* Redirect dblink._preserve_libs() messages to the log when in background mode.Zac Medico2008-07-221-2/+5
| | | | svn path=/main/trunk/; revision=11161
* Adjust status messages for --fetchonly mode.Zac Medico2008-07-221-3/+7
| | | | svn path=/main/trunk/; revision=11160
* Adjust --fetchonly failure messages to work better with background mode.Zac Medico2008-07-221-9/+22
| | | | svn path=/main/trunk/; revision=11159
* Fix --depclean/--prune to add lib providers and their dependencies to theZac Medico2008-07-211-65/+120
| | | | | | | graph and create a new clean list when necessary. This completes the fix for bug #230053. svn path=/main/trunk/; revision=11158
* Add initial lib awareness for --depclean and --prune. Currently it will simplyZac Medico2008-07-212-8/+177
| | | | | | | | bail out if the clean list contains a package that will cause link breakage if removed. TODO: Calculate a new cleanlist instead of bailing out, and implement a package set for rebuilding consumers. svn path=/main/trunk/; revision=11157
* In dblink.findProviders(), clone the "path" variable before extending itZac Medico2008-07-211-0/+1
| | | | | | since obviously it shouldn't grow each time that findProviders() is called. svn path=/main/trunk/; revision=11156
* In dblink._preserve_libs(), strip leading $ROOT from contents paths so thatZac Medico2008-07-211-2/+4
| | | | | | it works when $ROOT != /. svn path=/main/trunk/; revision=11155
* Fix breakage in the depclean/prune unsatisfied deps handling.Zac Medico2008-07-211-7/+8
| | | | svn path=/main/trunk/; revision=11154
* Fix typo.Zac Medico2008-07-211-1/+1
| | | | svn path=/main/trunk/; revision=11153
* For --depclean and --prune, eliminate duplicate graph creation code by re-usingZac Medico2008-07-213-187/+207
| | | | | | | | the depgraph class to do it. The depgraph class was used in the past for this purpose but back then it didn't handle USE flags correctly for installed packages. Now it works fine. svn path=/main/trunk/; revision=11152
* Redirect the 'Recording <pkg> in "world" favorites file...' message throughZac Medico2008-07-211-2/+2
| | | | | | _status_msg(). svn path=/main/trunk/; revision=11151
* Fix broken references to the old elog_modules namespace.Zac Medico2008-07-201-2/+2
| | | | svn path=/main/trunk/; revision=11150
* Redirect some more unmerge() output through writemsg_level() so that it canZac Medico2008-07-201-4/+6
| | | | | | filtered out when in background mode. svn path=/main/trunk/; revision=11147
* Fix Scheduler emergelog() interaction to properly disable emergelog()Zac Medico2008-07-201-6/+7
| | | | | | xterm titles whenever the status display is enabled. svn path=/main/trunk/; revision=11146
* * Clean up _schedule_tasks_imp() a bit.Zac Medico2008-07-201-9/+9
| | | | | | * Make _task() access _background directly instead of as a parameter. svn path=/main/trunk/; revision=11145
* Make PollScheduler._poll() add poll events to the stack instead of returningZac Medico2008-07-201-6/+7
| | | | | | | them. This makes it more useful as a hook, allowing Scheduler._poll() to safely call _schedule(). svn path=/main/trunk/; revision=11144
* Merge tasks currently run synchronously which makes it necessary to disableZac Medico2008-07-191-1/+8
| | | | | | | auto_schedule on the merge queue in order to avoid excess recursion which prevents tasks from being marked complete as soon as they should be. svn path=/main/trunk/; revision=11143