Cvs implementation example.

2003-03-28 Thread Denis JULIEN
Hi,
I have to implement a cvs for a multiple developers environment. I have installed it 
without problems and I've tested the major functionalities and it seems working fine.
It's my first time on this kind of versioning system and I don't know the good 
practice in term of sources organization for a project. For example, I'm asking if  we 
have to create a repository for each project or create only one repository and  under 
it, create one module for each project. Maybe somebody can tell me what are the good 
practices or where I could found examples or typical and practical implementation of  
cvs in multiple developers environment.
Thank in advance for your help.

Denis JULIEN 



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Cvs implementation example.

2003-03-28 Thread Herr Christian Wolfgang Hujer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Denis,

Am Freitag, 28. März 2003 10:20 schrieb Denis JULIEN:
 Hi,
 I have to implement a cvs for a multiple developers environment. I have
 installed it without problems and I've tested the major functionalities and
 it seems working fine. It's my first time on this kind of versioning system
 and I don't know the good practice in term of sources organization for a
 project. For example, I'm asking if  we have to create a repository for
 each project or create only one repository and  under it, create one module
 for each project. Maybe somebody can tell me what are the good practices or
 where I could found examples or typical and practical implementation of 
 cvs in multiple developers environment. Thank in advance for your help.

at our company (5 workers, Linux), we use 3 Repositories:
/home/cvsroot containing normal projects, one module for each project.
/home/webroot containing web projects, one module for each project + one 
module called common also used by other projects
/home/sysroot containing a module sysroot for the administration of the 
machines and the user management.

I don't know wether that can be considered best practice, but it works well 
for us.

To restrict rights, for each repository there is a group. To access a 
repository the person must be group member.
Access to CVSROOT is restricted by using the sticky bit.
Some modules are restricted furthermore by having a group for them.
directory rights for repository and module directories are set to 2770 
(rwxrws---).


Bye
- -- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: [EMAIL PROTECTED]
WWW: http://www.itcqis.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+hClezu6h7O/MKZkRAuVpAJwP0M/raheIKnHP55UMW/g6XWf9mACgle1n
rwHJSl7kOB3T92eBPswEuKo=
=S6Q2
-END PGP SIGNATURE-



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: CVS Manual, section 2.9.2

2003-03-28 Thread Herr Christian Wolfgang Hujer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello John,


Am Mittwoch, 26. März 2003 03:05 schrieb John Daues:
 Thanks for taking care of the 'bug'.

 I don't know enough about it yet to know what to choose (rsh, ssh,
 other?)  Maybe if I tell y'all the basics of the system, you can say which.

 Server is a P3 machine running Red Hat 8.0 sitting on the LAN.
 Clients are 3 users.  Two running Win2k, One with RH 8.0.
 Clients connect by the LAN, or dialing into LAN thru modem.

 Does this point one way or the other?
 (or is there more info that would help?)

I made best experiences with ssh.
I have tried: local access / NFS, pserver and ext (with ssh).
I have not tried: ext with rsh (it's unencrypted, but else doesn't differ from 
ssh), Kerberos etc..

The disadvantage about rsh/ssh access is that there must be user accounts. 
Best case one account for each cvs user, so you can tell the users from CVS 
($Author$ etc.).

With local access / NFS or pserver I often ran into Lock problems. (Waiting 
for XYZ's lock in directory abc). That never occurred to me with ext.

I use ssh instead of rsh because
a) the connection is encrypted
b) Authentication can be done on a Private Key / Public Key basis, which I 
consider much more secure than .rhosts at rsh.
When using key authentication (using ssh-keygen and ~/.ssh/authorized_keys) it 
is not neccessary to type in the password (same as with pserver and login, 
but more secure for the connection).

On the other hand, giving everyone an account in the system could be 
considered insecure, unless they need or already have accounts anyway. Then 
pserver is better because you can create non-system-accounts that exist only 
within CVS / pserver.

I have also heard that it's possible to tunnel pserver through ssh or http or 
https, but I do not know wether that is really possible, even less I know how 
to configure that.


Bye
- -- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: [EMAIL PROTECTED]
WWW: http://www.itcqis.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+hCvPzu6h7O/MKZkRAtxoAJwIKmXdJqmLAPPmpSo1pLL82bEc1gCfcq6m
pWLmo7nuLFI2VXC0FqyI0pw=
=hEd1
-END PGP SIGNATURE-



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Files beginning with a minus sign

2003-03-28 Thread Franky Van Liedekerke
Hi all,

I added a whole directory to CVS, and everything is working great, except for one 
thing: I checked in a file starting with a - (the minus sign).
Now one of my collegues uses wincvs to edit this new project, and he wanted to delete 
the file. Marking the file for deletion was ok, but the commit is not working. The cvs 
commit command at first complained about this file with unknown option, so I called 
cvs like this:

cvs commit -m message -- -filename.txt

So now the cvs command itself ws happy, but the server complains with:

up-to-date check failed for -filename.txt

Can anybody help me how to get rid of this? Or do I need to say to everybody: don't 
use files starting with a minus sign, and delete the file manually from CVS?

With friendly regards,

Franky



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Modules and external repository

2003-03-28 Thread Adam Witney
Hi Gurpreet,

Yup there is a module file on the external server and I have set $CVSROOT to
point to the external server.

Does anyone know why this error message means?

cvs server: existing repository /usr/local/cvsroot does not match
/usr/local/cvsroot/bugs/php_dev
cvs server: ignoring module php_dev

Thanks

adam

 Hi 
 
 1. The module file has to be there on the external server where ur
 repository is mounted
 2. Check for the local preferences u call to chck out the stuff / module
 3. IN your case, you probably need to change the local preferences to point
 to that another one  so as to first login  get the code / module from
 another server repository.
 
 That should check fine ^.
 
 Regards
 Gurpreet S
 
 
 
 -Original Message-
 From: Adam Witney [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 10:07 PM
 To: [EMAIL PROTECTED]
 Subject: Modules and external repository
 
 
 
 Hi,
 
 I am having trouble setting up a module. Everything works fine when I set it
 up on a local repository, however when I try and do the same thing on an
 external repository I always get
 
 [Ads-Mac:WebServer/Documents/temp2] adam% cvs co php_dev
 cvs server: existing repository /usr/local/cvsroot does not match
 /usr/local/cvsroot/bugs/php_dev
 cvs server: ignoring module php_dev
 
 The entry in the modules file is
 
 #M php web development
 php_dev -d ./   bugs/php_dev
 
 Both the local and external repositories are set up exactly the same way.
 And if I telnet to the external repository and try to checkout the module
 locally on that machine it also works fine.
 
 Any ideas as to what I am doing wrong? Do I have to treat the external
 repository differently?
 
 Thanks for any help
 
 Adam
 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Info-cvs Digest, Vol 4, Issue 51

2003-03-28 Thread Sunil Philip
hi all

i've set up a cvsvnt running on our NT server (location of repository)  set
up WinCVS for all of us to connect to the server. Now modules (read dirs)
can be imported .. but is it possible to  check in  just  files.. since we
may want to collect/check-in these (files) from a variety of locations.

regards
Sunil Philip

*
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*
Visit us at http://www.mahindrabt.com





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Info-cvs Digest, Vol 4, Issue 51

2003-03-28 Thread Mahantesh M Vantmuri
Sunil Philip wrote:

i've set up a cvsvnt running on our NT server (location of repository)  set
up WinCVS for all of us to connect to the server. Now modules (read dirs)
can be imported .. but is it possible to  check in  just  files.. since we
may want to collect/check-in these (files) from a variety of locations.
I am not sure if this is possible wincvs. But by cmd line it is possible.
Set CVSROOT correctly. Then do
cvs checkout  module_name/filename
Cheers.
Mahantesh.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Info-cvs Digest, Vol 4, Issue 51

2003-03-28 Thread Gurpreet Singh (SCM)
Hi all

Its possible  with RepositoryPath/filename Project/filename
IN the checkout Module option  but with Modulename/filename
Need to check .. how it would find a specific defined module which would
have files from multiple  Projects... Need to check .. ^^

Till next 


Gurpreet S

-Original Message-
From: Mahantesh M Vantmuri [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 6:44 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Info-cvs Digest, Vol 4, Issue 51


Sunil Philip wrote:

i've set up a cvsvnt running on our NT server (location of repository) 
set
up WinCVS for all of us to connect to the server. Now modules (read dirs)
can be imported .. but is it possible to  check in  just  files.. since we
may want to collect/check-in these (files) from a variety of locations.

I am not sure if this is possible wincvs. But by cmd line it is possible.
Set CVSROOT correctly. Then do
cvs checkout  module_name/filename

Cheers.
Mahantesh.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Removing file with Wincvs not running?!

2003-03-28 Thread Denis JULIEN
Hi,
I'm using WinCvs connected to a pserver cvs running on RH 8.0. I am not able to remove 
file from a module when I use the WinCvs GUI (remove selected file menu) , it displays 
an error message saying that the file is tagged and that it cannot to be removed. 
Nevertheless I can remove it directly working on the cvs server.
Any idea on this behavior?

Thank in advance
Denis


Denis JULIEN 
INVESTIMA 10 Intranet Manager
tél.   +33 1 49 59 10-34 (/12-84)
cel. +33 6 10 56 64 08
[EMAIL PROTECTED]

VUP SERVICES
3 allée de la Seine
Immeuble Paryseine
94854 IVRY sur SEINE
FRANCE



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: pserver no such repository

2003-03-28 Thread Derkaoui
I did here is what i got:

cvs -d:pserver:[EMAIL PROTECTED]:/var/lib/cvs version
Client: Concurrent Versions System (CVS) 1.11.5 (client/server)
Server: cvs version: warning: failed to open /home/derm02/.cvspass
for reading:
No such file or directory
cvs version: authorization failed: server localhost rejected access
to /var/lib/
cvs for user derm02
cvs version: used empty password; try cvs login with a real
password

[EMAIL PROTECTED]:~$  cvs -d:pserver:[EMAIL PROTECTED]:/var/lib/cvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/var/lib/cvs
CVS password:
cvs login: warning: failed to open /home/derm02/.cvspass for reading:
No such fi
le or directory   

But when i change localhost for athena i got:

[EMAIL PROTECTED]:~$  cvs -d:pserver:[EMAIL PROTECTED]:/var/lib/cvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/var/lib/cvs
CVS password:
[EMAIL PROTECTED]:~$  cvs -d:pserver:[EMAIL PROTECTED]:/var/lib/cvs version
Client: Concurrent Versions System (CVS) 1.11.5 (client/server)
Server: Concurrent Versions System (CVS) 1.11.5 (client/server)
[EMAIL PROTECTED]:~$

 

=
M. Derkaoui

who can do, do.  Who can't do, teach.  Who can't teach, critics.

__
Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: pserver no such repository: bizzare

2003-03-28 Thread Derkaoui
i did the following :

[EMAIL PROTECTED]:~$ cvs -d :pserver:[EMAIL PROTECTED]:/var/lib/cvs
login
Logging in to :pserver:[EMAIL PROTECTED]:2401/var/lib/cvs
CVS password:
cvs login: authorization failed: server 172.16.0.169 rejected access
to /var/lib/cvs for user derm02
[EMAIL PROTECTED]:~$ cvs -d:pserver:[EMAIL PROTECTED]:/var/lib/cvs
login
Logging in to :pserver:[EMAIL PROTECTED]:2401/var/lib/cvs
CVS password:
[EMAIL PROTECTED]:~$   

The difference between the two is  a space between d and :
bizzare!!!


And in WinCvs, i have the following errors when i log in and
checkout:

Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
win32
CVSROOT: [EMAIL PROTECTED]:/var/lib/cvs (password authentication)
TCL is available, shell is enabled : help (select and press enter)
cvs -d :pserver:[EMAIL PROTECTED]:/var/lib/cvs login 
Logging in to :pserver:[EMAIL PROTECTED]:2401:/var/lib/cvs

* CVS exited normally with code 0 *

cvs login 
Logging in to :pserver:[EMAIL PROTECTED]:2401:/var/lib/cvs

* CVS exited normally with code 0 *

cvs checkout -P \\Athena\root\var\lib\cvs\monModule (in directory
C:\monModule)
cvs server: cannot find module `\\Athena\root\var\lib\cvs\monModule'
- ignored

cvs [checkout aborted]: cannot expand modules

* CVS exited normally with code 1 *


 

=
M. Derkaoui

who can do, do.  Who can't do, teach.  Who can't teach, critics.

__
Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Files beginning with a minus sign

2003-03-28 Thread Ronald Petty
What about 

cvs commit -filename.txt

?

or

cvs commit ./-filename.txt

Ron

On Fri, 2003-03-28 at 12:14, Eric Siegerman wrote:
 On Fri, Mar 28, 2003 at 11:15:43AM +, Franky Van Liedekerke wrote:
  cvs commit -m message -- -filename.txt
  
  So now the cvs command itself ws happy, but the server complains with:
  
  up-to-date check failed for -filename.txt
 
 Here are some possibilities (*not* tested):
  1. cvs commit ./-filename.txt
   Forward slash to hopefully keep CVS happy
  2. cvs commit .\-filename.txt
   Backslash to hopefully keep Windows happy
  3. Same as (1), but do it on a UNIX box
  4. Same as (1), but do it on the CVS server itself, in a local
 (i.e.  non-client-server) sandbox
 
 If all else fails, and if you don't need the file's revision
 history (but think twice about this!):
  5. Just go into the repo and rm ./-filename.txt,v  (I know the
  ./ will keep rm happy; that variant I *have*, umm, tested, on
  a number of occasions :-)
 
 --
 
 |  | /\
 |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
 |  |  /
 A distributed system is one on which I cannot get any work done,
 because a machine I have never heard of has crashed.
   - Leslie Lamport
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/info-cvs
 



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS Manual, section 2.9.2

2003-03-28 Thread Mike Ayers

 From: Herr Christian Wolfgang Hujer 
 [mailto:[EMAIL PROTECTED]

 I use ssh instead of rsh because
 a) the connection is encrypted
 b) Authentication can be done on a Private Key / Public Key 
 basis, which I 
 consider much more secure than .rhosts at rsh.
 When using key authentication (using ssh-keygen and 
 ~/.ssh/authorized_keys) it 
 is not neccessary to type in the password (same as with 
 pserver and login, 
 but more secure for the connection).

Don't forget:

c)  ssh is universally interoperable - rsh is not.  There are systems, even OS 
versions, that do not interopertae over rsh.

 I have also heard that it's possible to tunnel pserver 
 through ssh or http or 
 https, but I do not know wether that is really possible, even 
 less I know how 
 to configure that.

It's possible.  I don't have the instructions handy, either.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Modules and external repository

2003-03-28 Thread Mike Ayers

 From: Adam Witney [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 3:19 AM

 Does anyone know why this error message means?
 
 cvs server: existing repository /usr/local/cvsroot does not match
 /usr/local/cvsroot/bugs/php_dev
 cvs server: ignoring module php_dev

Yes.  Your repository is located at /usr/local/cvsroot and you have a module 
bugs/php_dev in there.  To access this module, you must set CVSROOT or -d to point 
to /usr/local/cvsroot and checkout module bugs/php_dev.  It looks like you have 
your -d/CVSROOT (repository pointer) pointing to /usr/local/cvsroot/bugs/php_dev and 
are trying to checkout module php_dev.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Files beginning with a minus sign

2003-03-28 Thread Mike Ayers

 From: Franky Van Liedekerke [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 3:07 AM


 So now the cvs command itself ws happy, but the server complains with:
 
 up-to-date check failed for -filename.txt

First do `cvs update -filename.txt` and see what that says.  My testing found 
that I could add the file, but not (so far) commit it.  You may have an uncomitted 
file there.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Removing file with Wincvs not running?!

2003-03-28 Thread Mike Ayers

 From: Denis JULIEN [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 6:45 AM

 I'm using WinCvs connected to a pserver cvs running on RH 
 8.0. I am not able to remove file from a module when I use 
 the WinCvs GUI (remove selected file menu) , it displays an 
 error message saying that the file is tagged and that it 
 cannot to be removed. Nevertheless I can remove it directly 
 working on the cvs server.
 Any idea on this behavior?

If the file is tagged, that means that it has a sticky tag, which in turn 
means that you are not working on the tip of the branch.  `cvs rm` will only remove 
files at the tip of the branch.  This is correct behavior, since removing old 
revisions would break all builds of the tree starting at the revision removed.

What you should do is to select the file and hit the green arrow button to 
update it.  If necessary, hold the shift key down while clicking the green arrow to 
get the update dialog box.  Click the get the clean copy box, then proceed.  You 
will now have the current version of the file, which you can remove and commit.

It would probably be a good idea to get clean copies of the entire tree while 
you're at it.  It is bad to have sticky tags and not know why.  Communing with the 
documentation is essential here.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Files beginning with a minus sign

2003-03-28 Thread Franky Van Liedekerke
On Fri, 28 Mar 2003 11:13:59 -0800
Mike Ayers [EMAIL PROTECTED] wrote:

 
  From: Franky Van Liedekerke [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 3:07 AM
 
 
  So now the cvs command itself ws happy, but the server complains with:
  
  up-to-date check failed for -filename.txt
 
   First do `cvs update -filename.txt` and see what that says.  My
   testing found that I could add the file, but not (so far) commit
   it.  You may have an uncomitted file there.
 

The file was already checked out from cvs, so it is commited. But now I
want to delete it, and it seems modifying the repository by hand is the
only way to do it ...


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Files beginning with a minus sign

2003-03-28 Thread Mike Ayers

 From: Franky Van Liedekerke [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 11:51 AM

 The file was already checked out from cvs, so it is commited. 

Sound logic there.

 But now I
 want to delete it, and it seems modifying the repository by 
 hand is the
 only way to do it ...

I found `cvs -q remove ./-filename.txt` did the job nicely.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Info-cvs Digest, Vol 4, Issue 51

2003-03-28 Thread Larry Jones
Sunil Philip writes:
 
 i've set up a cvsvnt running on our NT server (location of repository)  set
 up WinCVS for all of us to connect to the server. Now modules (read dirs)
 can be imported .. but is it possible to  check in  just  files.. since we
 may want to collect/check-in these (files) from a variety of locations.

The import command always imports the entire directory, but you're
allowed to import into an existing module.  So, you can import files
from a variety of locations into a single module, you just have to be
careful not to import more than you want by ensuring that you want all
the files in the directory or that the files you don't want are ignored.

-Larry Jones

I can do that!  It's a free country!  I've got my rights! -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Files beginning with a minus sign

2003-03-28 Thread Larry Jones
Franky Van Liedekerke writes:
 
 So now the cvs command itself ws happy, but the server complains with:
 
 up-to-date check failed for -filename.txt

I think your best bet will be to make an innocuous change to another
file and then do:

cvs ci otherfile -filtename.txt

I believe I have protected all of the client/server communications
against files with leading - in the current development versions.

-Larry Jones

I obey the letter of the law, if not the spirit. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: pserver no such repository: bizzare

2003-03-28 Thread Larry Jones
=?iso-8859-1?q?Derkaoui?= writes:
 
 cvs checkout -P \\Athena\root\var\lib\cvs\monModule (in directory
 C:\monModule)
 cvs server: cannot find module `\\Athena\root\var\lib\cvs\monModule'
 - ignored

Checkout wants a module name or a relative path from the root, so the
command you want would be:

cvs checkout -P monModule

And please get used to using forward slashes with CVS rather than
backslashes.  Although backslashes *usually* work, they do not *always*
work and the resulting failures can be very subtle and hard to
understand.

-Larry Jones

The authorities are trying to silence any view contrary to their own!
-- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Repository File Corruption

2003-03-28 Thread Wayne Johnson
We had an interesting experience last night.  We have a RH Linux CVS
server that holds several (hundred?)thousand repository files.  A large
number (50) of the CVS files got corrupted (truncated) when (according
to the history file) one of our users in Germany did a Tag request.  The
files affected were contained only within a few directories, but didn't
seem to follow any pattern.  
 
This happened once before, last year.  Same repository but a different
machine (which we promptly executed and buried in the back lot).  We now
have a new superfast multi-processor raid-5 server.  We would REALLY
prefer this not happen again.
 
One interesting coincidence was that most of the files needing to be
restored were on the backup tape that was started just a few minutes
before the corruption occurred.  10 were corrupted on this tape and we
had to restore from the previous nights tape.

Is it possible that somehow our Veritas back up program is confusing CVS
somehow?  I can't see the Veritas backup daemon modifying the file, and
our sysadmin doesn't think it should even be locking the file.
 
Anyone have any other ideas?  


=
---
Wayne Johnson, | There are two kinds of people: Those 
3943 Penn Ave. N.  | who say to God, Thy will be done, 
Minneapolis, MN 55412-1908 | and those to whom God says, All right, 
(612) 522-7003 | then,  have it your way. --C.S. Lewis

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Files beginning with a minus sign

2003-03-28 Thread Kaz Kylheku
On 28 Mar 2003, Ronald Petty wrote:

 What about 
 
 cvs commit -filename.txt

The   characters are not part of a command line argument; they
are just lexical syntax processed by the shell, affecting how it
tokenizes the command line, and also affects the semantics of
certain expansions. For example, in a script or shell function,
the syntax:

  $@ 

will expand the arguments such that quotes are placed around each
one. Thus that the command line structure is preserved when the
result of the expansion is re-tokenized.

The token -abc means exactly the same thing as -abc .



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Repository File Corruption

2003-03-28 Thread Donald Sharp
On Fri, Mar 28, 2003 at 12:48:13PM -0800, Wayne Johnson wrote:
 We had an interesting experience last night.  We have a RH Linux CVS
 server that holds several (hundred?)thousand repository files.  A large
 number (50) of the CVS files got corrupted (truncated) when (according
 to the history file) one of our users in Germany did a Tag request.  The
 files affected were contained only within a few directories, but didn't
 seem to follow any pattern.  
  
 This happened once before, last year.  Same repository but a different
 machine (which we promptly executed and buried in the back lot).  We now
 have a new superfast multi-processor raid-5 server.  We would REALLY
 prefer this not happen again.
  
 One interesting coincidence was that most of the files needing to be
 restored were on the backup tape that was started just a few minutes
 before the corruption occurred.  10 were corrupted on this tape and we
 had to restore from the previous nights tape.
 
 Is it possible that somehow our Veritas back up program is confusing CVS
 somehow?  I can't see the Veritas backup daemon modifying the file, and
 our sysadmin doesn't think it should even be locking the file.

Backup's of the repository should ideally lock the repository so
that it's not changing underneath you as you save the data off.

  
 Anyone have any other ideas?  

Yeah, alot depends on how you access the data in the repository.
I'd hazard a guess and say that you are just remotely mounting
the repository everywhere.  I'd suggest switching over to using
pserver or the ext access methodology.

donald
 
 
 =
 ---
 Wayne Johnson, | There are two kinds of people: Those 
 3943 Penn Ave. N.  | who say to God, Thy will be done, 
 Minneapolis, MN 55412-1908 | and those to whom God says, All right, 
 (612) 522-7003 | then,  have it your way. --C.S. Lewis
 
 __
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
 http://platinum.yahoo.com
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/info-cvs


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Repository File Corruption

2003-03-28 Thread Wayne Johnson

--- Donald Sharp [EMAIL PROTECTED] wrote:
 Backup's of the repository should ideally lock the repository so
 that it's not changing underneath you as you save the data off.
 
I agree.  Might be a bit of a trick to get Veritas to do that.  We're
looking into it though.
 
 Yeah, alot depends on how you access the data in the repository.
 I'd hazard a guess and say that you are just remotely mounting
 the repository everywhere.  I'd suggest switching over to using
 pserver or the ext access methodology.

Nice try, but we are using pserver on a standard ext3 file system. 

Thanks anyway.

=
---
Wayne Johnson, | There are two kinds of people: Those 
3943 Penn Ave. N.  | who say to God, Thy will be done, 
Minneapolis, MN 55412-1908 | and those to whom God says, All right, 
(612) 522-7003 | then,  have it your way. --C.S. Lewis

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


FW: Save the bunnies

2003-03-28 Thread Andy Baker
Sorry for the spam, but this is something I feel strongly about.

-Original Message-
From: Andy Baker [mailto:[EMAIL PROTECTED] 
Subject: Save the bunnies

== 'bcc' option used

Hi Folks,

A good friend of ours has run a rabbit rescue centre for 12 years taking
in and attempting to rehome abused and neglected animals that would have
otherwise been destroyed for no good reason other than they were no
longer wanted.

The bleedin' petty minded local council now want to shut her down on the
trumped up charge that she causes extra traffic in her road (which isn't
true anyhow).

Many of these bunnies can't be rehomed as they're very sick or plain
ugly.

Bottom line is that if the council get their way ALL THESE RABBITS WILL
BE DESTROYED.

Please help us prevent this obscenity taking place by visiting our
website at http://www.savesallysbunnies.com and signing the petition.

If you care about animals and/or justice please help by forwarding this
mail to anybody you think may be interested.

Many many thanks in advance.

Andy

mailto:[EMAIL PROTECTED]







 NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

application/ms-tnef___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Improving CVS Performance?

2003-03-28 Thread Vivek Venugopalan
Hello
   We have a 2 GB repository running on a Linux system for over an year.  It
has a few thousand files (approx 10,000 ) and has started progressievly
become very slow.  We have a lot of tags (daily builds with a tag for each
build) and a few branches (  10).  Can you folks suggest what are the
things I can do to improve the overall performance of the system?

For example, a cvs update takes close to half an hour for the entire
repository on the local box itself.

TIA

Vivek




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs