Bug 146443 - New port: devel/p5-Cache-AgainstFile (Cache data structures parsed from files)
Summary: New port: devel/p5-Cache-AgainstFile (Cache data structures parsed from files)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 23:00 UTC by Eric Freeman
Modified: 2010-08-23 06:26 UTC (History)
0 users

See Also:


Attachments
file.shar (3.75 KB, text/plain)
2010-05-09 23:00 UTC, Eric Freeman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Freeman 2010-05-09 23:00:11 UTC
Quick port of this perl module from the BBC.

A module that caches a data structure against a filename, statting the file to determine whether it has changed and needs to be re-parsed.  You supply a routine to generate the data structure given the filename.

This module is recommended for files which change infrequently but are read often, especially if they are expensive to parse.

This approach has the advantage over lazy caching that multiple processes holding a cache will all update at the same time so you will not get inconsistent results if you request data from different processes.

The module itself is simply a factory for various backend modules.  The distribution includes backends for in-memory caching or file caching using Storable, plus an adaptor to use any modules offering the Cache or Cache::Cache interfaces as the cache implementation.

Data structures are automatically serialised/deserialised by the backend modules if they are being persisted somewhere other than in memory (e.g. on the filesystem).

How-To-Repeat: n/a
Comment 1 dfilter service freebsd_committer freebsd_triage 2010-05-10 03:40:06 UTC
miwi        2010-05-10 02:39:56 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/p5-Cache-AgainstFile Makefile distinfo pkg-descr 
                               pkg-plist 
  Log:
  A module that caches a data structure against a filename, statting the
  file to determine whether it has changed and needs to be re-parsed.
  You supply a routine to generate the data structure given the filename.
  
  This module is recommended for files which change infrequently but
  are read often, especially if they are expensive to parse.
  
  This approach has the advantage over lazy caching that multiple
  processes holding a cache will all update at the same time so you
  will not get inconsistent results if you request data from different
  processes.
  
  The module itself is simply a factory for various backend modules.
  The distribution includes backends for in-memory caching or file
  caching using Storable, plus an adaptor to use any modules offering
  the Cache or Cache::Cache interfaces as the cache implementation.
  
  Data structures are automatically serialised/deserialised by the
  backend modules if they are being persisted somewhere other than
  in memory (e.g. on the filesystem).
  
  WWW: http://search.cpan.org/dist/Cache-AgainstFile/
  
  PR:             ports/146443
  Submitted by:   Eric Freeman <freebsdports at chillibear.com>
  
  Revision  Changes    Path
  1.3920    +1 -0      ports/devel/Makefile
  1.1       +34 -0     ports/devel/p5-Cache-AgainstFile/Makefile (new)
  1.1       +3 -0      ports/devel/p5-Cache-AgainstFile/distinfo (new)
  1.1       +22 -0     ports/devel/p5-Cache-AgainstFile/pkg-descr (new)
  1.1       +11 -0     ports/devel/p5-Cache-AgainstFile/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2010-05-10 03:40:09 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-08-23 06:25:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

to committer