Log of /portage/pym/eclass_cache.py

Parent Directory Parent Directory | Revision Log Revision Log

Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 8 10:02:20 2005 UTC (13 years, 3 months ago) by ferringb
Branch: MAIN
Branch point for: portage_2_1
Changes since 1.1: +45 -82 lines
Diff to previous 1.1
Cache refactoring is now in use.  Eclass_cache is now just
a dict of stacked eclasses, but doesn't track per pkg eclasses.
That is left up to the cache.  The cache now ignores/drops INHERITED- this
is replaced by _eclasses_, which is a serialized dict of
{eclass name: (on disk location, long(mtime))}.  Note the tuple- returns from the
cache subsystem *should* be tuples, just the same as mtime should be a long.
aux_get *should* return INHERITED, but it should do it dynamically.
Basically, INHERITED is determined on the fly from the cache's _eclasses_ setting.
Beyond that, a sql cache template was added, along with a sqlite example.
flat_list, along with a metadata/cache specific backend, and cache.util.mirror_cache,
for metadata transfers.
Note all existing cache modules/implementations are now invalidated.  Sorry.  Upgrade em.
Existing cache's on disk are invalidated also, with the exemption of portdir/metadata/cache.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 7 04:00:30 2005 UTC (13 years, 3 months ago) by ferringb
Branch: MAIN
eclass_cache is now eclass_cache.py:cache, config is config.py:config.
Shifted support functions around as needed, left references in portage.py (from blah import) where relevant.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20