public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: Gevik babakhani <[email protected]>
To: [email protected]
Subject: Re: PGDN and CVS
Date: Wed, 21 Sep 2005 10:50:25 +0100
Message-ID: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2DC1@ratbert.vale-housing.co.uk> (raw)
________________________________
From: Gevik babakhani [mailto:[email protected]]
Sent: 21 September 2005 10:41
To: [email protected]
Cc: Dave Page
Subject: PGDN and CVS
Hi Dave,
Hi Gevik,
Regarding the PGDN.
1. Let's say we produce a directory with all kinds of
static html,images sample sql scripts etc... How do we want to update
the whole PGDN within our CVS.
We need a script that will traverse the directory structure and perform
the appropriate CVS add/remove operations based on what it finds, and
then commits the whole tree. It sounds hard at first thought, but I
don't think it is when thought about further - for example, we
hierarchically traverse the tree, and for each directory or file we
find, we check CVS/Entries to see if it exists in CVS. If not, we do a
CVS ADD on it. When we've processed the files, we then go line by line
through CVS/Entries, and CVS REMOVE any files or directories that don't
exist any more. That should be a relatively trivial perl script for
someone familiar with perl.
1. Do we want to put the static PGDN files in CVS anyway?
Should we keep the PGDN files separate not mixing with the current
site's CVS?
Yes, we do want them in CVS because we build the entire from there & the
backend database. we don't want to start pulling in content from
additional places as that just makes it much harder to rebuild the
servers if there is ever a problem.
Regards, Dave.
view thread (15+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: PGDN and CVS
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2DC1@ratbert.vale-housing.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox