Merged from trunk 11087:11105
authorFabian Groffen <grobian@gentoo.org>
Thu, 17 Jul 2008 14:03:12 +0000 (14:03 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 17 Jul 2008 14:03:12 +0000 (14:03 -0000)
commitc94e394b1d4c78792ed3d27832790879e755fe4d
treef963c5a36b2f705fc4913d11f5ed63238800aec2
parent6c672cba9a4b33d0f6aabfe65d6a4fab44237361
   Merged from trunk 11087:11105

   | 11088   | Avoid raising an IndexError from deprecated_profile_check()  |
   | zmedico | if the deprecated file happens to be empty. Instead just     |
   |         | refer to the "Gentoo Upgrading Guide". Thanks to armin76 for |
   |         | reporting.                                                   |

   | 11089   | Remove TODO since it no longer exists.                       |
   | zmedico |                                                              |

   | 11090   | Add --anon option for anonsvn.gentoo.org users.              |
   | zmedico |                                                              |

   | 11091   | Add --anon to the usage message.                             |
   | zmedico |                                                              |

   | 11092   | Eliminate duplicate code by making EbuildProcess inherit     |
   | zmedico | from SpawnProcess instead of SubProcess.                     |

   | 11093   | When SpawnProcess._start() spawns a process in the           |
   | zmedico | background, use /dev/null so that any attempts to read from  |
   |         | stdin will immediately return EOF instead of blocking        |
   |         | indefinitely. TODO: Use job control functions like           |
   |         | tcsetpgrp() to control access to stdin.                      |

   | 11094   | Add the new --anon option to the getopt args.                |
   | zmedico |                                                              |

   | 11095   | In SequentialTaskQueue.clear(), remove the exit listener     |
   | zmedico | from each task before cancelling it.                         |

   | 11096   | Add a JobStatusDisplay class to encapsulate the status       |
   | zmedico | display. This object tracks whether or not any of it's       |
   |         | attributes have changed since the last time it was           |
   |         | displayed, so the it's only displayed when something has     |
   |         | changed. Unlike before, now the display should always update |
   |         | whenever a relevant change occurs.                           |

   | 11097   | Don't increment the "complete" count for uninstall tasks.    |
   | zmedico |                                                              |

   | 11098   | * Add a new portage.util.writemsg_level() function which     |
   | zmedico | uses a "level" parameter to control whether the message is   |
   |         | sent to stdout or stderr. When level >= logging.WARNING then |
   |         | the message is sent to stderr, otherwise it is sent to       |
   |         | stdout. The noiselevel is passed directly to writemsg(). *   |
   |         | Use writemsg_level() for handling merge messages from dblink |
   |         | and add appropriate noiselevel values to each call. * Add a  |
   |         | writemsg_level parameter to portage.env_update() so that     |
   |         | dblink can pass in dblink._display_merge() as a means to     |
   |         | redirect output back to the scheduler for appropriate        |
   |         | handling when running in the background.                     |

   | 11099   | Tweak interaction between Scheduler and status display so    |
   | zmedico | that it doesn't display more often than necessary and avoids |
   |         | showing inconsistent counts.                                 |

   | 11100   | Handle the case in dblink.unmerge() when the log file is a   |
   | zmedico | temp file and so it doesn't exist after postrm cleaning.     |

   | 11101   | Don't show a blank newline before ">>> Emerging" when in     |
   | zmedico | background mode.                                             |

   | 11102   | Make BinpkgVerifier redirect output to the fetch log when in |
   | zmedico | background mode.                                             |

   | 11103   | Update the status display in _build_exit(), after            |
   | zmedico | decrementing the job count.                                  |

   | 11104   | Make Binpkg send "Extracting" messages to the log file when  |
   | zmedico | in background mode, instead of stdout.                       |

   | 11105   | Don't show "Merging" and "merged." messages when in          |
   | zmedico | background mode.                                             |

svn path=/main/branches/prefix/; revision=11108
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/dbapi/vartree.py
pym/portage/util.py