Merged from trunk -r13253:13262
authorFabian Groffen <grobian@gentoo.org>
Thu, 2 Apr 2009 13:02:59 +0000 (13:02 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 2 Apr 2009 13:02:59 +0000 (13:02 -0000)
commit5f4a072a308b91f6399fa9058a325384b72a7f54
treee8fc01ded7cda537265ed1d0f84e928c01301c00
parentf1a082e0a271970f14567c7d579dbe8931f5328a
   Merged from trunk -r13253:13262

   | 13254    | Add a cp_iter keyword argument to the MetadataRegen         |
   | zmedico  | constructor, which can be used to do a regen for a subset   |
   |          | of packages. TODO: Add support to cleanse cache for the     |
   |          | specific cp values that are processed.                      |

   | 13255    | Add support in MetadataRegen for cleansing stale cache when |
   | zmedico  | only a subset of packages are processed.                    |

   | 13256    | Add a "consumer" keyword parameter to the MetadataRegen     |
   | zmedico  | constructor which can be used to pass in a callback that is |
   |          | called for each ebuild that is processed (allowing access   |
   |          | to the ebuild metadata).                                    |

   | 13257    | reword the qa execstack notice since it can be triggered by |
   | SpankMan | pt_load sections and not stacks                             |

   | 13258    | In MetadataRegen._metadata_exit(), notify the consumer of   |
   | zmedico  | failures (in this case the metadata argument is None).      |

   | 13259    | When in --quiet mode, still show a message for failures in  |
   | zmedico  | MetadataRegen._metadata_exit().                             |

   | 13260    | Bug #261377 - Add a new 'egencache' tool to generate        |
   | zmedico  | metadata cache for distribution. It only have the most      |
   |          | basic functionality now, and more features will be added    |
   |          | later. Usage: egencache [options] --update [atom] ...       |
   |          | Options: -h, --help show this help message and exit         |
   |          | --update update metadata/cache/ (generate as necessary)     |
   |          | --cache-dir=CACHE_DIR location of the metadata cache        |
   |          | --config-root=CONFIG_ROOT location of portage config files  |
   |          | --jobs=JOBS max ebuild processes to spawn                   |
   |          | --load-average=LOAD_AVERAGE max load allowed when spawning  |
   |          | multiple jobs                                               |

   | 13261    | Bug #263370 - In create_message(), use email.header.Header  |
   | zmedico  | to wrap the subject, as a workaround so that long subject   |
   |          | lines are wrapped correctly by <=python-2.6 (gentoo bug     |
   |          | #263370, python issue #1974).                               |

   | 13262    | Add a new egencache --rsync option which enables a stat     |
   | zmedico  | collision workaround for cases in which the content of a    |
   |          | cache entry changes and neither the file mtime nor size     |
   |          | changes (preventing rsync from detecting changes). See bug  |
   |          | #139134. This option should only be needed for distribution |
   |          | via something like rsync, which relies on timestamps and    |
   |          | file sizes to detect changes. It's not needed with git      |
   |          | since that uses a more thorough mechanism which allows it   |
   |          | to detect changed inode numbers (described in racy-git.txt  |
   |          | in the git technical docs).                                 |

svn path=/main/branches/prefix/; revision=13277
bin/egencache [new file with mode: 0755]
bin/misc-functions.sh
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/cache/cache_errors.py
pym/portage/cache/metadata.py
pym/portage/dbapi/porttree.py
pym/portage/mail.py