On Sun, Dec 16, 2012 at 08:57:48PM +0100, Leon Timmermans wrote:
> On Sat, Dec 15, 2012 at 11:59 PM, Michael G Schwern <schw...@pobox.com> wrote:
> > Storage is a problem.  The only reliable "database" Perl ships with is DBM, 
> > an
> > on disk hash, so we can't get too fancy.  It might take several DBM files, 
> > but
> > this is enough to record information and do simple queries.

I'd just go for JSON or YAML, which are already supported by large parts
of the toolchain.

> > And the basic operations we need to support.
> >
> > * Add a release (ie. install).
> > * Delete a release (and its files).

and stuff that depends on it?

> > * Delete an older version of a release (as part of install).

Good, this covers clearing out any files that existed in the previous
version but no longer do in the new version, and would be very useful.

> > * Delete an older version of a release, only if its in the same release
> >   location.  This is so CPAN installs don't delete vendor installed modules.
> > * Verify the files of a release.
> > * List distributions/releases installed.

* Downgrade a release to a previously installed one?
* Rollback all modules to a point in time?

It's not as if disk space is expensive these days.

-- 
David Cantrell | Official London Perl Mongers Bad Influence

  All principles of gravity are negated by fear
                                            -- Cartoon Law V

Reply via email to