Trimming the snapshots - Mailing list pgadmin-hackers

From Dave Page
Subject Trimming the snapshots
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490DB7E@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: Trimming the snapshots  (Raphaël Enrici <blacknoz@club-internet.fr>)
List pgadmin-hackers
Hi Raphael

I've been sorting out the snapshots directory on the new
developer.pgadmin.org box and have kindof hit a brick wall with the
Debian stuff because I don't know what can and can't be removed. What
I'd like to do is remove all pre-1.3.0 snapshots as these are
effectively outdated by 1.2.x (as well as versions of wx now everything
runs with the stock version), and then implement automatic deletion of
all but the 5 newest snapshots. For the src, win32, slackware and osx
directories I'm using a script I knocked up to do this automatically,
eg:

/usr/local/bin/cull
"/var/www/developer.pgadmin.org/snapshots/linux/slackware/pgadmin3-*.tgz
" 5

will delete all but the 5 newest files matching the pattern specified.
Is it feasible to do something like this in the debian hierarchy, or is
extra work required? What do you suggest?

Thanks, Dave.

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4138 - trunk/pgadmin3/src/ui
Next
From: Andreas Pflug
Date:
Subject: Re: CVS HEAD compile error