Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 04:34:34 +0400
From:      Peter Vereshagin <peter@vereshagin.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Extract particular date snapshot from /var/db/portsnap?
Message-ID:  <20110615003434.GE5630@external.screwed.box>
In-Reply-To: <AD65C2C8-0A83-4AC1-A50E-555CC04EBE91@mac.com>
References:  <20110615000951.GD5630@external.screwed.box> <AD65C2C8-0A83-4AC1-A50E-555CC04EBE91@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can't take no for an answer, freebsd-questions!
2011/06/14 17:17:39 -0700 Chuck Swiger <cswiger@mac.com> => To Peter Vereshagin :
CS> > Does it keep them? Does portsnap keep snapshots fetched previously?
CS> As far as I can tell, you can't.

But on every 'portsnap fetch' it tells it downloads a new stuff and doesn't
tell it deletes the old?
- From what I see in /var/db/portsnap/files/ it keeps every file it had ever
downloaded: they all have different times.
So it's just a feature that is missing yet from portsnap? or it's never
possible by a portsnap's (storage) design which I believe is rather simple?

Should it be possible to delete every file newer than the date of my preference
and just (something like) 'portsnap extract' then from that storage?

CS> > Suppose I need the particular port or the whole tree as of the specified date
CS> > and time?  Or, if I need the particular version of the specified port and optionally  the
CS> > ports tree that corresponds it?
CS> 
CS> Update the ports tree using cvs/csup, which do support updating to a particular date.

I'd prefer svn/p4 for this if I did. Not a big deal though. ;-)

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
- --
http://vereshagin.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAk33/hgACgkQDOFKrKDiZifOZQCfR0IsHSFXML60Pwj7UFhEVWCD
E5EAoPglLDjpG72UfSIwIdyWKQ74HGlc
=wxV+
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110615003434.GE5630>