[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3 questions...

From: Derek R. Price
Subject: Re: 3 questions...
Date: Tue, 23 Jan 2001 09:30:58 -0500

address@hidden wrote:

> 1) If you check in sources with wrong permissions (for example you
> forgot to set x-permissions) you have to manually chmod the file under
> /var/cvs. But because the file is owned by the last changer, you
> cannot do this from the webtool. Are there any other ways (through CVS
> commands) to change permissions of existing CVS resources.

Don't knw what webtool you're using, but any developer with write access
to the file should be able to change the perms.

> 2) We export CVS sources to a directory for internal testing and other
> non-CVS content might be added in this stage. At some time we want to
> export the newest release to the test environment, f.e. deleting no
> longer used files BUT keeping the non-CVS stuff (such as .htacces
> files). Is there a CVS command to clean up this export directory (that
> is, remove all exported stuff from a directory without affecting other
> non-CVS stuff?

Nope.  You should be able to script something using co/update instead of
export and accessing the admin files (preferrably through cvs status or
the like), though.

> 3) Does anybody have experience with the combination of CVS and
> databases? We would like to be able not only to retrieve older
> versions of the software but also older versions of the database
> structure. Any comments would be appreciated!

If you can export the database structure in a text format, it's easy.
All the databases I've played with would export their structure & even
permissions as a series of SQL drop/create commands.  Just check those
files in.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
Rick:  How long was it we had, honey?
Elsa:  I didn't count the days.
Rick:  Well I did, every one of them.  Mostly I remember the last one.  The wow
       finish.  The guy standing on the station platform in the rain with a
       comical look on his face because his insides had been kicked out.

                - Humphrey Bogart & Ingrid Bergman, _Casablanca_

reply via email to

[Prev in Thread] Current Thread [Next in Thread]