Merged from trunk -r12302:12345
authorFabian Groffen <grobian@gentoo.org>
Thu, 25 Dec 2008 13:50:16 +0000 (13:50 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 25 Dec 2008 13:50:16 +0000 (13:50 -0000)
commit23bb604b2bf47816fff1da9588a3d1e1dab34192
treef0fae326c47cd154f15f3fa913abe451ad711144
parent202adf5b9be7f9784d535d7ff551cf888a80f1a0
   Merged from trunk -r12302:12345

   | 12303    | Add support for synchronizing ebuild and eclass timestamps  |
   | zmedico  | with the metadata 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.            |

   | 12327    | Inside mirror_cache(), handle unsupported EAPI like         |
   | zmedico  | portdbapi does.                                             |

   | 12328    | Don't add any more that one "-" symbol to the front of an   |
   | zmedico  | unsupported EAPI.                                           |

   | 12329    | Handle potential KeyErrors that may be raised from          |
   | zmedico  | get_eclass_data(), and remove unnecessary print statements  |
   |          | inside get_eclass_data().                                   |

   | 12330    | Inside portdbapi._metadata_callback(), preserve _eclasses_  |
   | zmedico  | when the EAPI is unsupported since the eclass timestamps    |
   |          | might be needed in order to decide that the cache entry     |
   |          | should be regenerated. Also, make sure that all metadata    |
   |          | returned from portdbapi.aux_get() is returned as empty      |
   |          | strings when the EAPI is unsupported.                       |

   | 12331    | Make vardbapi._aux_get() return _mtime_ as a long (never as |
   | zmedico  | a float).                                                   |

   | 12332    | Use long() instead of float() when parsing Package.mtime    |
   | zmedico  | from the metadata.                                          |

   | 12339    | Refactor EbuildMetadataPhase._output_handler() and          |
   | zmedico  | _set_returncode().                                          |

   | 12341    | Fix typo.                                                   |
   | zmedico  |                                                             |

   | 12345    | scan archives of objects for exec stacks                    |
   | SpankMan |                                                             |

svn path=/main/branches/prefix/; revision=12347
bin/misc-functions.sh
pym/_emerge/__init__.py
pym/portage/cache/metadata.py
pym/portage/cache/util.py
pym/portage/dbapi/porttree.py
pym/portage/dbapi/vartree.py
pym/portage/eclass_cache.py