Merged from trunk 10843:10853
authorFabian Groffen <grobian@gentoo.org>
Tue, 1 Jul 2008 17:09:13 +0000 (17:09 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 1 Jul 2008 17:09:13 +0000 (17:09 -0000)
commit9102a6798776319512074b30a9612c95163688af
tree19741f8716d59b3f52226ca5a396316b56dec2d5
parent7d10257a814a4ddeb1ee734f56651aa83b9b5f67
   Merged from trunk 10843:10853

   | 10844   | Handle invalid atoms inside depgraph._add_pkg_deps(), to     |
   | zmedico | avoid an unhandled InvalidAtom exception from dep_expand()   |
   |         | when matching against the vardb.                             |

   | 10845   | Split out a _spawn_misc_sh() function from spawnebuild().    |
   | zmedico |                                                              |

   | 10846   | Split out a _post_src_install_uid_fix() function from        |
   | zmedico | spawnebuild().                                               |

   | 10847   | Split out a _check_build_log() function from spawnebuild().  |
   | zmedico |                                                              |

   | 10848   | In EbuildBuild.execute(), call doebuild() separately for     |
   | zmedico | each phase since it will be easier to add asynchronous       |
   |         | support to doebuild() if it's called this way.               |

   | 10849   | * Add "fd_pipes" and "returnpid" parameters to doebuild()    |
   | zmedico | and pass these into spawn calls, enabling ebuild processes   |
   |         | to execute asynchronously. * Add a EbuildPhase class that's  |
   |         | derived from the pty logging code inside portage.spawn(). *  |
   |         | Integrate post-phase code from spawnebuild() into            |
   |         | EbuildBuild.execute() so that it still gets called even      |
   |         | though doebuild() calls execute asynchronously.              |

   | 10850   | Add EMERGE_FROM to the blacklisted vars in the config        |
   | zmedico | constructor.                                                 |

   | 10851   | Centralize select.poll() event handling in                   |
   | zmedico | MergeTask._schedule(). This will allow the parent process to |
   |         | handle output of multiple child processes running in         |
   |         | parllel.                                                     |

   | 10852   | * Tweak conditionals in doebuild() to fix emerge --fetch     |
   | zmedico | breakage reported by Arfrever. * Change a couple EMERGE_FROM |
   |         | conditionals to use the "returnpid" parameter instead.       |

   | 10853   | Rename the MergeTask class to Scheduler.                     |
   | zmedico |                                                              |

svn path=/main/branches/prefix/; revision=10879
pym/_emerge/__init__.py
pym/portage/__init__.py