RE: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Gagneet Singh
Hi!

From what I have gathered from the conversation that was going on, is
this,

You want to TAG only a few seleteced files which are in the checked out
local copy of your machine. Well! Then why go into all this trouble, if
you alsdo do not want to remove these files as suggested and do not want
to perform a commit then the best thing to be would be to selectively
tag the files.

Why can't you just choose the files you want to tag and run the TAG
command only on those. This way only those files get tagged and not the
complete module, which is not want you as it is want to happen.

Thus, happy customer, happy repository users, happy You and of cource a
Happy CVS Repository Administrator (if that is not you... :-))


Gagneet

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Andy Jones
Sent: Friday, 26 March, 2004 14:42 PM
To: [EMAIL PROTECTED]
Subject: Re: cvs tag: some slightly counterintuitive behaviour


Jason Carucci
No, I believe cvs will tag the files in the repository, the files in
your working directory are irrelevant for this operation.

I'm not saying that CVS behaved wrongly, just in a way that
was counterintuitive.  To say that cvs tag requires a working
directory, but not the files in it, is surely that.

Derek Price
`cvs tag' is defined to tag the BASE revisions of the files in the
working directory and this is exactly the behavior you are
describing.
[...] Therefore, I would argue that this sort of behavior is
simply too
much to expect from CVS.

Maybe it is.  The point I am making is, it surprised me.  Here
is what the manual says:

 tag [options] tag [files.]
  Add a symbolic tag to checked out version of files

Now I've *seen* this particular little gotcha, on re-reading
the above I can see that CVS is behaving as advertised.  But I
think it is fair to say that anyone reading it who had not had
this happen to them, might get the wrong idea, as I did.

Derek Price
The work-around, and a pretty straight-forward one I should think, is
to commit your changes before tagging.

No, no.  I don't want to remove the files.  I just want to not
tag them.  Now it looks like I will have to tag the whole
sandbox and then untag a list of about 30 files - not fun.

Is it really a pain to change (assuming it should be changed)?
 Modified files shouldn't be a problem - just ignore them, as
now.  Anyone who doesn't like this behaviour should be doing
cvs tag -c anyway...

Of course, the simplest fix is to add a couple of lines to the manual.

Don't get me wrong, this isn't a major gripe.  I just wanted
to flag a small bit of odd behaviour.

Andy.







___
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 tag: some slightly counterintuitive behaviour

2004-03-26 Thread Gagneet Singh
Well! In this case the best thing to do is to use a GUI which will
enable you to select the required files or dseselect the files which are
not required.

On GNU/Linux clients gCVS is a very good option and WinCVS is the best
for Windows. You can get both from http://www.wincvs.org

Gagneet

-Original Message-
From: Andy Jones [mailto:[EMAIL PROTECTED]
Sent: Friday, 26 March, 2004 16:01 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: cvs tag: some slightly counterintuitive behaviour



Why can't you just choose the files you want to tag and run the TAG
command only on those. This way only those files get tagged
and not the
complete module, which is not want you as it is want to happen.

Because I have 12,766 files, and I want to tag all but about
30 of them.  Working out which 30 is a long and laborious
process of checking by hand.  It would have been nice if I
could have just worried about getting the sandbox to a given
state and then tagging that state.

What I'll end up doing is compiling a list of the 30 as I go
along, tagging everything and then doing something like:

cat badlist.txt | xargs cvs tag -d tag

As I said, it's not really a big deal, just a small surprise.





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


RE: Strange Characters

2004-03-25 Thread Gagneet Singh
Hi!

Thank you for the explaination of this phenomenon.

I think I shall have to read about the different character sets before I
can form an opinion on what is to be done.. :-(

Thank You

Gagneet

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Mark D. Baushke
Sent: Thursday, 25 March, 2004 13:08 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Strange Characters


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gagneet Singh [EMAIL PROTECTED] writes:

 We are using a CVS repository on a GNU/Linux Red Hat 9.0 installed
 distribution. The CVS server is 1.11.2 and the clients are all based
 on Windows platform where the development is being done. These are
 WinCVS version 1.3.10 and 1.3.13.

 Now the problem is that for the characters - 'x' (without
the double
 quotes), when I checkout on a Windows system, they are being checked
 out properly, but when we checked out the same on a Linux
system they
 appeared as - ~Qx~R (without the double quotes).

If you use a hex or octal dump program to actually look at the
text (on the Linux box, the 'od' program with the -x switch
will do the job), I believe you will see that your Windows
text editor is 'helpfully' inserting characters other than the
APOSTROPHE (') character which is hex 0x27 (aka octal 047, aka
decimal 39) and is instead going into some a word processor
mode to give you non-standard encodings for your string.

The Microsoft Windows system has a non-standard character set
that goes by the name of 'Microsoft Windows Codepage 1252'
which is also known as CP1252. It uses most of the standard
ISO-8859-1 character set encodings, but extends things for a
few encodings of its own.

My guess is that you are running into the problem of your
editor being 'helpful' to you and mixing the concept of a LEFT
QUOTE CHARACTER and a RIGHT QUOTE CHARACTER with the
APOSTROPHE character that you really want for your C program.

See http://www.microsoft.com/typography/unicode/1252.htm for
the full table, but here is an extract:

 1252  Uindex  UISOname
 ...
 270027APOSTROPHE
 ...
 912018LEFT SINGLE QUOTATION MARK
 922019RIGHT SINGLE QUOTATION MARK
 ...

The rest of your environment is probably trying to live in the
ISO-8859-1 (aka ISO LATIN 1) character set world.

There is probably a way to fix your Windows editor to avoid
this problem and use a straight ISO-8859-1 character set
APOSTROPHE. However, I am not a fellow that uses Windows and
am not sure of the answer.

 I checked up in the Repository files lying on the server and
I got the
 same text - ~Qx~R (without the double quotes).

 Is this the normal behaviour of the CVS repository files to
change the
 - 'x' (without the double quotes) characters into ~Qx~R (without
 the double quotes) when getting the files from a Windows system to a
 GNU/Linux System.

 The condition has been observed only for the lines which are inside
 the C block comment lines.

 Actual file on Windows Systems:
 /* The underscore character '_' is to be replaced in the following
 code segment with '-' */ if ('_' == UNDER_SCORE)
 {
 .
 .
 .
 }


 Actual file as seen in the GNU/Linux CVS Repository:
 /* The underscore character ~Q_~R is to be replaced in the following
 code segment with '-' */ if ('_' == UNDER_SCORE)
 {
 .
 .
 .
 }


 Is there some way to rectify this problem so that the
checkout in both
 the Windows and the GNU/Linux systems is the same??

The Windows world should be able to live with an ISO-8859-1
character set. I suggest you try to change from CP1252 to
ISO-8859-1 when writing programs. There should be a way to do
this, I just don't know what it is.

   Good luck,
   -- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAYoxk3x41pRYZE/gRAkO3AJ9yFh5MedGzg0NSQpiBsf2cXgcgyACgxKGO
yoasCjt1oUGUvE+XadTLFLI=
=mlIE
-END PGP SIGNATURE-




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


RE: cvs admin -o latest does not modify CVS/Entries

2004-03-25 Thread Gagneet Singh
You have to update the files after running this command.
This command will only remove the version from the server repository,
not from your working copy. Thus, you will have to get the latest copy
from the repository to make this change happen on your local copy also.


Gagneet

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Sam Steingold
Sent: Friday, 26 March, 2004 5:09 AM
To: [EMAIL PROTECTED]
Subject: cvs admin -o latest does not modify CVS/Entries


if the latest version is 1.7 and I do
$ cvs admin -o 1.7 foo
then foo is still marked as 1.7 in CVS/Entries and thus I have
to edit it by hand to be able to work on the file.


--
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.camera.org http://www.iris.org.il http://www.memri.org/
http://www.mideasttruth.com/ http://www.honestreporting.com We're
too busy mopping the floor to turn off the faucet.



___
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


Strange Characters

2004-03-24 Thread Gagneet Singh
Hi!

We are using a CVS repository on a GNU/Linux Red Hat 9.0 installed
distribution. The CVS server is 1.11.2 and the clients are all based on
Windows platform where the development is being done. These are WinCVS
version 1.3.10 and 1.3.13.

Now the problem is that for the characters - 'x' (without the double
quotes), when I checkout on a Windows system, they are being checked out
properly, but when we checked out the same on a Linux system they
appeared as - ~Qx~R (without the double quotes).

I checked up in the Repository files lying on the server and I got the
same text - ~Qx~R (without the double quotes).

Is this the normal behaviour of the CVS repository files to change the -
'x' (without the double quotes) characters into ~Qx~R (without the
double quotes) when getting the files from a Windows system to a
GNU/Linux System.

The condition has been observed only for the lines which are inside the
C block comment lines.

Actual file on Windows Systems:
/* The underscore character '_' is to be replaced in the following code
segment with '-' */
if ('_' == UNDER_SCORE)
{
.
.
.
}


Actual file as seen in the GNU/Linux CVS Repository:
/* The underscore character ~Q_~R is to be replaced in the following
code segment with '-' */
if ('_' == UNDER_SCORE)
{
.
.
.
}


Is there some way to rectify this problem so that the checkout in both
the Windows and the GNU/Linux systems is the same??

Thank You

Gagneet




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


Setuid/gid Error in CVS

2004-03-13 Thread Gagneet Singh
Hi! 

I am getting a peculiar problem with CVS.

In the output pane of WinCVS, the following message is coming whenever I
try to commit anything and the commit falls through.

cvs commit -m Redundant test files have been removed from the CVS
repository.\nThese files had ... data_section1.asm data_section2.asm
data_section4.asm (in directory D:\My Documents\Test\TestBase\)

Can't do setuid

cvs server: Pre-commit check failed

cvs [server aborted]: correct above errors first!

* CVS exited normally with code 1 * 



I have got the scripts 'cvslog' and 'cvs_acls' in the repository of the
CVS server and these are being used for Acess control and formatting the
mail to be sent to the users.

The problem occured when I changed some settings and users in the
/etc/passwd file. I am using CVS as a pserver with the passwords coming
from the /etc/passwd file. So that this change made all the users UserID
change. Now when I tried to change the users in the repository also, I
had no problems initially, but after restarting the CVS services, I got
the problem.

When I changed the permissions of the 'cvs_acls' script from 2775 to
2777, the follwoing message is coming, and the loginfo script is not
sending the mails, but commits are going through:

Setuid/gid script is writable by world.

* CVS exited normally with code 0 * 



Please help.



Gagneet

 



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


RE: Setuid/gid Error in CVS

2004-03-13 Thread Gagneet Singh
Hi!

Thank you for the reply.

I got the problem. I had set the permissions to 2775 for the CVSROOT
folder of the reositories. Now, when I tried to Update , there was no
problem, but CVS sets the permissions except for the history and the
val-tags files in CVSROOT to read-only. Thus, when the above was set, I
got the error message on my GUI window. I think, CVS is not taking the
CVSROOT permissions to be set for the group sticky and that is why it is
giving the problem.

Also, the script had the first line as
#!/usr/bin/perl

This wqs for running the script as a perl script, but this format was
not being considered valid and the valid format being taken is:

#! /usr/bin/perl

I am still trying to mfind the reason, might just be something to do
with the local achine installation.. :-((


Thank you for all the help.

-Original Message-
From: Larry Jones [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 March, 2004 9:32 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Setuid/gid Error in CVS


Gagneet Singh writes:

 Can't do setuid

Standard CVS has no such message.

 cvs server: Pre-commit check failed

That implies that you have a commitinfo script that's failing
-- my guess is that the above error message is comming from the script.

 When I changed the permissions of the 'cvs_acls' script from 2775 to
 2777, the follwoing message is coming, and the loginfo script is not
 sending the mails, but commits are going through:

 Setuid/gid script is writable by world.

That implies that the script is setuid, probably to the wrong
UID now that you've changed them.  (And note that a
world-writable setuid script is a gaping security hole.)

-Larry Jones

Something COULD happen today.  And if anything DOES,
by golly, I'm going to be ready for it! -- Calvin




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


RE: CVS plugin for Visual Studio

2004-03-12 Thread Gagneet Singh
Hi!

Have you tried the CVSIn package. This is the most popular for CVS and
Visual C++ Integration and is available at:

http://www.geocities.com/kaczoroj/CvsIn/

Or at:

http://sourceforge.net/projects/cvsin/


Gagneet

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Aditya Gandhi
Sent: Wednesday, 10 March, 2004 19:46 PM
To: [EMAIL PROTECTED]
Subject: CVS plugin for Visual Studio


Hi all,
If I were to use CVS and Visual Studio is there a decent
plugin that I can use to integrate the two.

I know of two such plugins
1. Jalindi Igloo
2. PushOk plugin

Are there any other plugins available?

Can people share there experience, advantages and common
problems faced with Igloo/PushOk and any other plugin they may
have used.

Which plugin would the group recommend?

Thanks and regards
Aditya Gandhi


___
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


Setuid/gid Error in CVS

2004-03-11 Thread Gagneet Singh
Hi! 

I am getting a peculiar problem with CVS.

In the output pane of WinCVS, the following message is coming whenever I
try to commit anything and the commit falls through.

cvs commit -m Redundant test files have been removed from the CVS
repository.\nThese files had ... data_section1.asm data_section2.asm
data_section4.asm (in directory D:\My Documents\Test\TestBase\)

Can't do setuid

cvs server: Pre-commit check failed

cvs [server aborted]: correct above errors first!

* CVS exited normally with code 1 * 



I have got the scripts 'cvslog' and 'cvs_acls' in the repository of the
CVS server and these are being used for Acess control and formatting the
mail to be sent to the users.

The problem occured when I changed some settings and users in the
/etc/passwd file. I am using CVS as a pserver with the passwords coming
from the /etc/passwd file. So that this change made all the users UserID
change. Now when I tried to change the users in the repository also, I
had no problems initially, but after restarting the CVS services, I got
the problem.

When I changed the permissions of the 'cvs_acls' script from 2775 to
2777, the follwoing message is coming, and the loginfo script is not
sending the mails, but commits are going through:

Setuid/gid script is writable by world.

* CVS exited normally with code 0 * 



Please help.



Gagneet



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


RE: CVS Update problem : cannot rename file .new..buildnum to .buildn um

2004-02-18 Thread Gagneet Singh
Hi!

Have you got the said file or any other file refering to it open in a
text editor or an IDE?

I have faced this problem when I had the VC++ IDE open with the project
file (but not the actual files) and was trying to update the project
files (although the DSP and DSW workspace and project files were not
updated).

If this is the problem, then close the IDE or Text editor completely and
try again.


Hope this helps.


Gagneet

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Viraj Purang
Sent: Thursday, 19 February, 2004 10:01 AM
To: '[EMAIL PROTECTED]'
Subject: CVS Update problem : cannot rename file 
.new..buildnum to .buildn um


I am using a Windows 2003 server (problem also occurs on a 
Windows 2000 professional laptop).

Everytime I try to cvs update a file called .buildnum 

I get an error : 
cannot rename file .new..buildnum to .buildnum

This is true for all files which have been changed on client workspace 
and are thus different from the server.

What could be the possible problem ?

Another interesting issue is that this problem occurs only 
when I am using a Perl script to 
do that CVS update.Manual updated are all ok.

I did make sure that environment in both the 
cases is same.

Viraj B. Purang
Arzoon Inc.



___
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: Binary release announcements?

2004-02-14 Thread Gagneet Singh
Yes, this is a good Idea. Although I prefer to go the Source
installation ay, where I can do some configuration/modifications to
customize it to our needs, the other System and Repository Admins prefer
to have the patches and upgrades installed or given to them in binary
format. 

Currently, I have been doing this, and it would be a huge relef to have
the announcement about binaries available when they are ready to deploy
with the latest updates and patches.

I don't think this to be a bad idea, as Derek points out that this might
only be one or max of two announcements a week or even a month..

Gagneet

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Derek Robert Price
 Sent: Sunday, 15 February, 2004 7:06 AM
 To: Greg A. Woods
 Cc: [EMAIL PROTECTED]
 Subject: Re: Binary release announcements?
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Greg A. Woods wrote:
 
 [ On Saturday, February 14, 2004 at 11:15:33 (-0500), Derek Robert
 Price wrote: ]
 
 Subject: Binary release announcements?
 
 Is there general interest in having the binaries announced 
 as they are 
 posted to the cvshome.org web site?
 
 
 CVS is open _source_ software?
 
 
 That hardly proves that I would mind providing courtesy 
 announcements to info-cvs when binaries get posted if folks 
 are interested.  Some people seem to prefer downloading 
 binaries to compiling the source themselves.
 
 I might, however, prefer to keep such announcements off of 
 the announce list.  I'd rather keep announce low-volume, on 
 further consideration, but perhaps info-cvs would be 
 appropriate or an [EMAIL PROTECTED] list 
 would be appropriate if too many people object to seeing 
 binary announcements on info-cvs.  As things stand, I don't 
 imagine we're talking about more than two or three 
 announcements per release or perhaps one weekly announcement 
 listing new binaries, as one person suggested.
 
 Derek
 
 - --
 *8^)
 
 Email: [EMAIL PROTECTED]
 
 Get CVS support at http://ximbiot.com!
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
 Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
 
 iD8DBQFALsz/LD1OTBfyMaQRAuh8AJ9uzE7JBHWxuRCiZ5rb9Ei+zkuCiQCdHzcG
 vZmU92VueUd1JgOhzHuBAYY=
 =8kPi
 -END PGP SIGNATURE-
 
 
 
 
 ___
 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: Error Updating file from the server

2004-01-10 Thread Gagneet Singh
Thanx for the info. I had a look at it , but the problem being that I
could not find where the actual problem is. Could it be that we have
added the @ character to the file which is giving the problem??

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 09 January, 2004 16:31 PM
 To: [EMAIL PROTECTED]
 Cc: 'INFO CVS'
 Subject: Re: Error Updating file from the server
 
 
  cvs update -P -r 1.12 lex.yy.c (in directory D:\My
  Documents\Project_Version_Control\project\)
 
  cvs [server aborted]: invalid change text in 
  /cvs/versions/project/lex.yy.c,v
 
  * CVS exited normally with code 1 *
 
 
 This sounds like the RCS file is invalid somewhere around 
 revision 1.12. I don't know that this can easily be resolved. 
  I think you would need to edit the RCS file directly, after 
 making a backup copy of course.
 
 -- David Fuller
 



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


Error Updating file from the server

2004-01-08 Thread Gagneet Singh
Hi!
 
When updating a lex generated file from my CVS repository, I am getting
the following error:
 
cvs update -P -r 1.12 lex.yy.c (in directory D:\My
Documents\Project_Version_Control\project\)

cvs [server aborted]: invalid change text in
/cvs/versions/project/lex.yy.c,v

* CVS exited normally with code 1 *


This problem occurs when I try to checkout a revision 1.12 or older. The
current revision is 1.63 and I can check out all the revisions till the
1.13 revision. 
Although I am using the WinCVS GUI, even when I try via the command line
on the cvs server, the same problem is encountered.

Could someone tell me what is the problem and if it can be solved in any
way. 

I have admin access to the CVS server. The configuration is as follows:

Server: cvs 1.11.2 (client/server) on a Red Hat 9.0 distribution.

Client WinCVS: 1.3b13-2

Thank you,

Gagneet



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


RE: CVS Pserver with multiple repositories?

2003-12-23 Thread Gagneet Singh
Title: Message



Hi!

This 
will work for the 2401 port. You are not required to supply different ports for 
different repositories. Only the permissions to the repositories need to be 
checked up and rectified, according to your needs. Also do not forget to create 
the 'cvsadmin' group which will give access to the CVS ADMIN commands to be 
run either from the CVS command line or the CVS GUI.

Gagneet

  
  -Original Message-From: Gurpreet Singh 
  (SCM) [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 December, 
  2003 14:09 PMTo: [EMAIL PROTECTED]Cc: 'Diego Ribeiro de 
  Andrade'; 'INFO CVS'Subject: RE: CVS Pserver with multiple 
  repositories?
  Hi
  
  Will 
  this work fine on the same port 2401.
  or 
  CVS needs to choose different port numbers for the other 
  (mutilple)repositories ...
  
  Regards
  Gurpreet S
  
  
-Original Message-From: Gagneet Singh 
[mailto:[EMAIL PROTECTED]Sent: Tuesday, December 23, 2003 10:40 
AMTo: 'Diego Ribeiro de Andrade'; 'INFO CVS'Subject: 
RE: CVS Pserver with multiple repositories?
Hi!

What you require is to define the server args string 
as:

server_args = -f --allow-root=/cvs/rep/casnav --allow-root=/cvs/repo/proj2 
--allow-root=/cvs/repo/proj2 pserver

And also create the required repositories for all the three projects. 
Also, you will have to create separate groups. 

The same can be done with your current setup also, but then the top 
level repository will have to have permission for all groups or rather 
anybody to access it. Thus, taking security in consideration, you need to 
have three different repositories with the permissions only for users of the 
group for whom that repository is meant for. You can thus set the 
permissions to 2770 for these three directories and put the directories with 
the username of the Project Leader or the Project Manager, so that only he 
can access the CVSROOT module for administrative 
purposes.

Hope this helps. 

Gagneet

PS: Your English is good so don't worry about it.. 
:-))


  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Diego Ribeiro de AndradeSent: Monday, 22 December, 2003 
  21:08 PMTo: INFO CVSSubject: CVS Pserver with 
  multiple repositories?
  I have implemented a CVS Pserver in a 
  Red Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED 
  HAT 9 Machine. To make the service RUNI edited cvspserver arquive in 
  /etc/xinetd.d... It looks like this...
  
  service cvspserver
  {
  port = 2401
  disable = no
  socket_type = 
  stream
  protocol = tcp
  wait = no
  user = root
  passenv = PATH
  server = 
  /usr/bin/cvs
  server_args = -f 
  --allow-root=/cvs/rep/casnav pserver
  }
  
  I edited config to System-auth=Yes so 
  I connect remote with a system user of the server. I installed the 
  "cvspermissions 0.3" Scriptsand it let me set permissions on the 
  modules with some commands...
  
  But the 3 projects are hosted in a 
  Singe repository! So... all people in the 3 projects can see all files in 
  all projects... cvspermissions can only manage tag and commit permissions 
  per modules to restricted users... but the read rights are managed by 
  repository.
  
  I could set the permissions by 
  filesystem access ... but I dont know if its the best way. Im new in the 
  Linux world... so I every post in this list affraid of being dumb! 
  
  
  I think to in create others files 
  under /etc/xinetd.d and run a repository in each port... but it not seems 
  right for me.
  
  What I like to do is... multiple 
  repositories, That I can manage with cvspermissions and access with 
  pserver. It wold be Must! If someone helpme to take the best or right 
  way... I thanks.
  
  I thanks you!
  Sorry about, I promess I will have 
  english classes next year.
  
  Diego. Rio de Janeiro. 
  Brazil.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Repositories Limit per Server?

2003-12-23 Thread Gagneet Singh
Hi!

Well! I am not too sure about this, but currently for my implementation,
I have around 44 repositories and they are working fine. I don't think
there is a limit to the repository size, but to the length of the
server_args string. 

Also the 'pserver' has to be the last word in that string. Aslo, it
might depend on the memory allocated, but this is purely an assumption
from my side...

Gagneet

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Diego.andrade
 Sent: Tuesday, 23 December, 2003 23:22 PM
 To: [EMAIL PROTECTED]
 Subject: Repositories Limit per Server?
 
 
 A (Simple?) question about my last topic...
 
 How many repositories I can run in a Server with Pserver? Is 
 there a Limit? How many times I can put the --allow-root= 
 in the parameter line? I heard about a Server with 156 
 repositories, but I have not access to the configuration of 
 this server!
 
 Diego Andrade
 
 
 Enviado usando Smart Tech Webmail System 0.0.2
 
 
 
 
 ___
 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 Pserver with multiple repositories?

2003-12-22 Thread Gagneet Singh
Title: Message



Hi!

What 
you require is to define the server args string as:

server_args 
= -f --allow-root=/cvs/rep/casnav --allow-root=/cvs/repo/proj2 --allow-root=/cvs/repo/proj2 
pserver

And also create the required repositories for all the three projects. 
Also, you will have to create separate groups. 

The same can be done with your current setup also, but then the top level 
repository will have to have permission for all groups or rather anybody to 
access it. Thus, taking security in consideration, you need to have three 
different repositories with the permissions only for users of the group for whom 
that repository is meant for. You can thus set the permissions to 2770 for these 
three directories and put the directories with the username of the Project 
Leader or the Project Manager, so that only he can access the CVSROOT module for 
administrative purposes.

Hope this helps. 

Gagneet

PS: Your English is good so don't worry about it.. 
:-))


  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Diego 
  Ribeiro de AndradeSent: Monday, 22 December, 2003 21:08 
  PMTo: INFO CVSSubject: CVS Pserver with multiple 
  repositories?
  I have implemented a CVS Pserver in a Red 
  Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED HAT 9 
  Machine. To make the service RUNI edited cvspserver arquive in 
  /etc/xinetd.d... It looks like this...
  
  service cvspserver
  {
  port = 2401
  disable = no
  socket_type = stream
  protocol = tcp
  wait = no
  user = root
  passenv = PATH
  server = /usr/bin/cvs
  server_args = -f 
  --allow-root=/cvs/rep/casnav pserver
  }
  
  I edited config to System-auth=Yes so I 
  connect remote with a system user of the server. I installed the 
  "cvspermissions 0.3" Scriptsand it let me set permissions on the modules 
  with some commands...
  
  But the 3 projects are hosted in a Singe 
  repository! So... all people in the 3 projects can see all files in all 
  projects... cvspermissions can only manage tag and commit permissions per 
  modules to restricted users... but the read rights are managed by 
  repository.
  
  I could set the permissions by filesystem 
  access ... but I dont know if its the best way. Im new in the Linux world... 
  so I every post in this list affraid of being dumb! 
  
  I think to in create others files under 
  /etc/xinetd.d and run a repository in each port... but it not seems right for 
  me.
  
  What I like to do is... multiple 
  repositories, That I can manage with cvspermissions and access with pserver. 
  It wold be Must! If someone helpme to take the best or right way... I 
  thanks.
  
  I thanks you!
  Sorry about, I promess I will have 
  english classes next year.
  
  Diego. Rio de Janeiro. 
  Brazil.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Stopping a modified file from being checked in

2003-12-13 Thread Gagneet Singh
Hi!

Why don't you just copy the file to another folder and make the CVS
files uneditable. Then, when you copy the same to the CVS folder, it
will be commitable and you can continue working on the local copy
without any fear of making a wrong commit.

Gagneet

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Ed Avis
 Sent: Saturday, 13 December, 2003 2:39 AM
 To: [EMAIL PROTECTED]
 Subject: Stopping a modified file from being checked in
 
 
 I would like to make some changes to a file in my working 
 copy, but definitely not check them in.  Of course I wouldn't 
 deliberately run 'cvs commit', and I normally read through 
 diffs before checking in a change, but still I'm paranoid 
 that I might run 'cvs commit' in a parent directory and 
 accidentally check in my local changes.
 
 I'd like to mark the file so that it will not be committed.  
 I could do this by setting a sticky tag, but then 'cvs 
 update' will not merge changes into this file.  Is there a 
 way I can mark a file to be updated _from_ the repository, 
 but not (until I deliberately unmark
 it) to be committed _to_ the repository?
 
 -- 
 Ed Avis [EMAIL PROTECTED]
 
 
 
 
 ___
 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: Installing the new version

2003-12-11 Thread Gagneet Singh
Sorry I think I did not read the actual mail properly. As pointed out by
Cristian Adam, it is the src file that you have got and not the RPM
file. The RPM file is the one without the SRC in it. Use that and use
the command I sent in the previous mail. This will install and upgrade
your CVS.

Gagneet

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Andy Jones
 Sent: Thursday, 11 December, 2003 17:45 PM
 To: [EMAIL PROTECTED]
 Subject: Installing the new version
 
 
 Okay, I admit it.  This is the one bit of Linux that gives me cold 
 sweats.  I've just updated CVS to 1.11.10 the hard way, from source.
 
 Okay, when I say the hard way I mean that I just typed 
 ./configure ; 
 make ; make install  - but the thought of what *could* have 
 gone wrong.!
 
 I much prefer RPMs.  I tried installing from the RPM package, 
 but rpm just 
 did nothing.  Can anyone tell me what stupid mistake I made?  
 Or is there 
 something wrong with the RPM?
 
 For reference, I typed:
 
 rpm -i cvs-1.11.10-cvshome.org.1.src.rpm
 
 And instantly got the command prompt again, with no errors 
 and no result.
 
 Andy Jones
 Tapestry Software.
 
 
 
 
 
 ___
 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: how can I see what changes a cvs update would merge

2003-11-28 Thread Gagneet Singh
Hi!

For your first question search the archives for the BrowseRepoTk script
made by Oliver Giesen. This will work with the WinCVS client. You could
modify it to be used on a command line with only TCL... :-)

A quote from his mail in this respect, 
There is no newer version of the WinCvs product package available 
(unless you count 1.3.13.2 - the *only* difference to 1.3.13.1 is 
support for Python 2.3.x and the version of the bundled CVSNT client 
though). The feature you are quoting is a macro I wrote. If you want you

could pull it directly from the CVSGUI repository via CVS or use the 
ViewCvs link given in 
http://people.freenet.de/ogiesen/readme.html#BrowseRepoTk . Note however

that if your server is CVSNT there already is a much more powerful 
interface available right now. Just click the elipsis button next to any

edit box requiring you to enter a module name.

However, *if* all goes well, WinCvs 1.3.14 will be released within the 
next two weeks at latest (including that macro). Be aware however that A

LOT has changed since 1.3.13 and it is anticipated that a short 
succession of bugfix releases will follow so if you want to play safe, 
you should as always wait until a new release is advertised on the 
WinCvs homepage.
Let me add however that I'm using a self-compiled version of WinCvs for 
several months already and it hasn't ever crashed or done bad things on 
me during that time at all. YMMV.

For your second question,

Currently if you are using the WinCVS client, then click on the checked
out module folder and pres F4. Others will be able to guide you better
for command line processes.


Gagneet


|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf 
|Of Urs Thuermann
|Sent: Friday, 28 November, 2003 15:18 PM
|To: [EMAIL PROTECTED]
|Subject: how can I see what changes a cvs update would merge
|
|
|How can I see the changes that a call to cvs update would do 
|to the working copy of my files, without actually applying the changes?
|
|urs
|
|
|___
|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: how can I see what changes a cvs update would merge

2003-11-28 Thread Gagneet Singh
Hi!

Further to my previous mail, for the cvs command line you can use the
following command to get the status of the files which have changed. 

cvs -n update -P 

M File1.dsp

The above tells you that the file name 'File1.dsp' has been locally
modified. Now you can diff it with the previous version on the server
by:

cvs diff -wb -i File1.dsp 

And find out what has changed.

Hope this helps.

Gagneet


|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf 
|Of Robert P. J. Day
|Sent: Friday, 28 November, 2003 16:09 PM
|To: Urs Thuermann
|Cc: [EMAIL PROTECTED]
|Subject: Re: how can I see what changes a cvs update would merge
|
|
|On 28 Nov 2003, Urs Thuermann wrote:
|
| How can I see the changes that a call to cvs update would do to the 
| working copy of my files, without actually applying the changes?
|
|this resembles something i (as a newbie) have been thinking 
|about recently
|-- what are all the ways i can just *query* with regards to a 
|CVS repository?  it's this querying that seems to get such 
|short shrift in the CVS documentation i've seen.
|
|certainly, there's variations like:
|
|  $ cvs log ...
|  $ dvs diff ...
|  $ cvs co -c
|
|and so on.  i think it would be immensely useful for beginners 
|like me to have a reference list/cheat sheet of all of these 
|kinds of options since, in a big way, beginners have a real 
|fear of committing or updating when they don't know what's 
|about to happen.
|
|so all the different ways to query an existing repository 
|would be a good 
|start.
|
|rday
|
|
|
|
|___
|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: [cvsgui] can we commit word files in WinCVS with japanese character names???

2003-11-19 Thread Gagneet Singh
 developers to start 
  coding, building, testing,and running our web-based applications the 
  second they checkout a module.As for the general thought of wasted space, 
  current prices for disk space isapproaching $1 US per gigabyte these days, 
  so IMO previous concerns aboutdisk space are becoming antiquated. 
  thanks!-Original Message-From: Gagneet Singh 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, November 19, 2003 7:37 
  AMTo: [EMAIL PROTECTED]Subject: RE: [cvsgui] can we commit word 
  files in WinCVS with japanesecharacter names???Hi!It 
  is best advise not to have MS Word documents inside CVS. This is dueto the 
  reason that CVS is not made for binary files and puts thecomplete file as 
  a diff, so not other operation except commit and updateare useful for it. 
  So if you have a binary (I.e., MS Word) file of size1 MB and commit it 
  then the file on the server will be of 2 MB and keepon increasing in 
  increments. We had encountered the problem of text files having 
  Japanese names andhad to rename the files as even Windows was not properly 
  recognizingthem. I don't think there has been a port of WinCVS to Japanese 
  as yet.Gagneet-Original Message-From: 
  adarsh_v_patil [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 
  November, 2003 16:17 PMTo: [EMAIL PROTECTED]Subject: [cvsgui] can 
  we commit word files in WinCVS with japanesecharacter 
  names???Dear all, I have a small problem. I want to know 
  is there a way to commit MS Word files with Japanese names as the file 
  nameGirish
  


  Yahoo! Groups 
Sponsor

  

  To 
  unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED]Your use of 
  Yahoo! Groups is subject to the Yahoo! Terms of Service. 

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


Cannot remove Branch

2003-11-09 Thread Gagneet Singh
Hi!

I am facing a problem while trying to remove a branch I had created. I
know it is not advisable, but I have not made any changes on that branch
and nor have I committed or updated to that branch as yet.

The problem I am getting is:

cvs rtag -b -d ACME_Branch source 
cvs rtag: Untagging source
cvs rtag: Not removing branch tag `ACME_Branch' from
`/cvs/source/project1.dsp,v'.

Where ACME_Branch is the name I have created for the branch and source
is the module name in the repository.

I am using cvs version 1.11.7 and WinCVS version 1.3.10b.

Am I using the wrong command or do I have to remove the branch from the
server?

Gagneet



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


RE: Upgrade CVS server from 1.10 to 1.16 or any latest

2003-11-05 Thread Gagneet Singh
Hi!

Firstly, if you are using the release version 1.10 then there is a major
security release in version 1.11.5. This information is available at the
cvshome site I have refered you to. If you go through the news of the
release version you will be able to find that out.

QUOTE
2003-01-20: CVS 1.11.5 Released! (security update) 
Contributed by: Derek Price 

CVS 1.11.5 has been released. This release fixes a major security
vulnerability in the CVS server. CVS client builds are not affected. The
Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2003-0015 to this issue. See the text of
CAN-2003-0015 for more information.

You may also take a look at the NEWS file from the source distribution
or go directly to the downloads page.

Thanks go to Stefan Esser for his help on this issue!

UNQUOTE

The current release is 1.12.2, and I don't think there is any 1.16
release as yet, if you know of any please inform us about it.. :-)

For the 1.12.2 release the following is the news item published on the
site. 

QUOTE
2003-10-27: CVS Feature Version 1.12.2 Released! 
Contributed by: Derek Price 

CVS 1.12.2 has been released! This release contains new features as well
as all the bug fixes from the stable release. This release fixes many
bugs in CVS 1.12.1 and adds nifty new features, including experimental
support for Pluggable Authentication Modules (PAM). We recommend an
upgrade for users who like living on the cutting edge!

Take a look at the NEWS file from the source distribution or go directly
to the downloads page.

UNQUOTE

Thus, you can see from it that the NEWS file in the package will give
you information about all the features and comparative sudy of the new
features added sncve the last release. From this you can make your own
feature list and also post it on the newgroup / mailing list so that
others who have this query can look it up. That is the way that Free
Software functions and that is the way you will gain information using
free software.

The URL for the news file where all the changes and feature list can be
obtained is given for your reference below:

http://ccvs.cvshome.org/source/browse/ccvs/NEWS?rev=1.155content-type=t
ext/x-cvsweb-markup

Hope this helps,

Gagneet




|-Original Message-
|From: Sunil Pachunde [mailto:[EMAIL PROTECTED] 
|Sent: Thursday, 06 November, 2003 10:04 AM
|To: [EMAIL PROTECTED]
|Cc: [EMAIL PROTECTED]
|Subject: RE: Upgrade CVS server from 1.10 to 1.16 or any latest
|
|
|Dear sir, 
|
|I was unable to locate the feature of Stable version 1.16 in 
|comapare with 
|1.10 version.
|Since it is an urgent requirement to port the older version of 
|CVS 1.10 to 
|the latest one.
|
|I wants know the features and any pros and cons in 1.16 in 
|compare with 1.10
|
|Regards
|Sunil 
|
|
|Gagneet Singh [EMAIL PROTECTED] said:
|
| Hi!
| 
| | Hi All,
| | 
| | We are planning to upgrade our CVS server from 1.10  version
| |to  latest. And selected to use CVS version 1.16 or any 
| |latest. Now we  wants know the features and any pros and cons 
| |in 1.16 above. 
| | Please suggest and update.
| |
| |
| Why don't you look up the http://www.cvshome.org/ site. This 
|contains 
| all the docuemntation related to whatever you wish to ask about 
| related to CVS.
| 
| Gagneet



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


RE: new cvs server issue

2003-11-04 Thread Gagneet Singh
Hi!

|I have the code from an existing cvs server. And I have
|configured another cvs server. 

By the above I understand that the code you have got is a checked out
copy of the server source, or do you have the actual repository as it
exists on the server?

|How can I import the code into the new server such that after
|the import the code has the same release and revision tags ? 

From the above, I got that you have the checked out copy with you. What
you require is the CVS repository copy with the files named as
file_name1.c,v. These are the files containing the actual code with
the release and revision tags. Not the ones which you checkout from the
server. Those are ordinary files which are used for building the
application and not for use in CVS.

Am I right in the conclusion given above. If not then, there seems to be
something else wrong. Please send the complete details of your server
and client which you are using. Also, see if you can get the repository
copy and copy it to the new server as it was defined in the older one.
You can use another folder, but you will have to configure the
/etc/xinetd.d/cvspserver file for this change also.

Hope this helps,

Gagneet


|-Original Message-
|From: Vijay Kumar [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, 04 November, 2003 12:45 PM
|To: [EMAIL PROTECTED]
|Subject: new cvs server issue
|
|
|Hi,
|
|I have the code from an existing cvs server. And I have
|configured another cvs server. 
|Currently when I checkout code from the existing server and 
|import it into the new server, there are no release tags etc ..
|
|How can I import the code into the new server such that after
|the import the code has the same release and revision tags ? 
|
|Please help.
|
|Regards,
|Vijay Kumar.
|
|
|
|
|
|
|



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


RE: Spam: RE: new cvs server issue

2003-11-04 Thread Gagneet Singh
Hi!

Effectively that is all that you have to do. Just check into which
folder you will be putting the unzipped folder and also change the user
 group permissions accordingly. (This is a compulsory step and is
required)

In the cvspserver file if you are using the same folder as earlier no
change needs to be carried out otherwise you need to just change the
path of the repository. That should do the necessary changes required
and also you will have to change the path on the clients to reflect the
new path. Then just checkout the modules and start working. Do not
overwrite the older checked out copy as that might contain the address
or path of the older server in the CVS folder created in the local copy.

Hope this helps

Gagneet

|-Original Message-
|From: Vijay Kumar [mailto:[EMAIL PROTECTED] 
|Sent: Tuesday, 04 November, 2003 14:12 PM
|To: [EMAIL PROTECTED]
|Cc: 'info-CVS'
|Subject: Re: Spam: RE: new cvs server issue
|
|
|Hi,
|
|Thank you very much for your reply. 
|I have access to the old server and the new server. 
|
|So does this mean that :
|If I wish to transfer the code form the current server to the 
|new server I just have to zip the whole folder and then unzip 
|it in the new server? What changes will I have to make in the 
|new server's xinted.conf file ? 
|
|Please help. 
|
|Regards,
|Vijay Kumar. 
|



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


RE: File ownership

2003-11-03 Thread Gagneet Singh
Hi!

The repository files are marked according to the user who logins into
the CVS server for making commits. But before that the user has to
checkout the files in his/her name and then only can he check them in.
The other way for a user to do this is to use a script to change all his
local settings and then commit them in another users name.

But, first of all what type of authentication are you using. Is it the
'pserevr' type?? If so then are you using the system passwd file or the
CVS passwd file? In both the cases, is the user allowed to change his
passwords or do all the users have separate passwords??  

As any user having the password of another user can make commits on the
users name. But, this is done intentionally only and not accidently. It
can happen accidently only when the user is logged on to the repository
on hois system and forgets to logoff before leaving and leaves his
system also on to be accessed by others.

A definite way to check on this is to take note of the time the problem
occurred, from the CVS file commit time and then confront the user on
his whereabouts at that time. Currently there is nothing else that youy
can do... 

Or till the time someone gives a better suggestion...  ;-))

You can put this up in the cvsgui mailing list also at
[EMAIL PROTECTED]

Gagneet

|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf 
|Of Mark Jaffe
|Sent: Tuesday, 04 November, 2003 6:49 AM
|To: CVS Mailing List
|Subject: File ownership
|
|
|While browsing one of our repositories, I came across a part 
|of the tree that did not belong where it was. It appeared as 
|if one of the developers had done an import into the tree from 
|her work area (the top of the checkin was CVS_WORK which was a 
|locally-defined convention.) I noticed the file ownership and 
|contacted the developer, who denied even needing to work in 
|this part of the tree. 
|
|How would it be possible for the files to be marked as owned 
|by that user if she did not check them in? Is it possible we 
|cannot trust the CVS server to write the files properly? It 
|would not be prudent for another developer to use someone 
|else's login account, but would that be possible?
|
|CVS server is 1.11.9  on Solaris and users are all using 
|WinCVS 1.13.10 pserver authentication.



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


RE: setting up project restrictions

2003-10-23 Thread Gagneet Singh
Hi!

The main problem here is that you have to define group permissions to
the repository before it can be accessed. Also, if you plan to use the
$CVSROOT/CVSROOT/passwd file then you need to uncomment SystemAuth=No
line in the config file in $CVSROOT/CVSROOT/ folder. Only then can you
use the passwd file, else you will have to use the system passwords for
logging in.

Read the Cederqvist Manual for better details.

Also you can visit the FAQs created by Oliver at
http://people.freenet.de/ogiesen/newfaq.htm, if the location has not
been changed by him. Or the CVS FAQs at the http://www.cvshome.org site.
http://ccvs.cvshome.org/fom/cache/1.html

Gagneet

|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf 
|Of kent emia
|Sent: Thursday, 23 October, 2003 9:40 AM
|To: info-CVS
|Subject: setting up project restrictions
|
|
|
|i tried to create a 'project' restriction in oiur server
|
|i created user in /etc/passwd
|
|  proj:x:600:600:projects:/repo/projects:/bin/false
|
|and in /etc/group
|
|  proj:x:600:proj
|
|and in $CVSROOT/CVSROOT/passwd
|
|kent:wAdlU792laAcxtgu:proj
|
|but as i tried to 'cvs co projects'
|it returned an error 'Cannot access /repo/CVSROOT'
|
|but if i will remove all of the changes in /etc/group and 
|/etc/passwd everything is fine...
|
|am i missing something here i am currently following 
|instructions from the book 
|Open Source Developement with CVS by karl fogel, moshe bar
|
|
|
|
|-- 
|kent emia [EMAIL PROTECTED]
|
|
|
|___
|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: help on pserver connection

2003-10-10 Thread Gagneet Singh
Hi!

I think the error lies in the xinetd service, did you try and restart
the service after creating that file. If so then, have you already
created the repository with the required user permissions. This could be
a problem with the permissions on the server files also. Plz check that
out. 

Usually the CVS repository is accessible by the group which has its
modules in it. This has to be an nherited permission for the group to
all the modules.

Another thing, are you directly accessing the server and if so what are
you logging in as as 'root' is not allowed to perform operations on any
of the CVS repositories. Plz confirm this fact too. You can try and
remove the env tag also and then try. Also, renmove the env line and
then try connecting to it when logged in as a normal user and not 'su'
or 'root'.

You also seem to be using the raw IP address, have you tried activating
Samba and using a NetBIOS name instead, sometimes that too helps on the
Red Hat systems.

Gagneet



|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf 
|Of kent emia
|Sent: Friday, 10 October, 2003 13:49 PM
|To: info-CVS
|Subject: Re: help on pserver connection
|
|
|[EMAIL PROTECTED] kent]$ cvs login
|Logging in to :pserver:[EMAIL PROTECTED]:2401/repo
|CVS password:
|cvs [login aborted]: reading from server: Connection reset by 
|peer [EMAIL PROTECTED] kent]$
|
|from the Online-Manual
|:pserver:
|
|Errors along the lines of connection refused typically
|indicate that inetd isn't even listening for 
|connections on port
|2401 whereas errors like connection reset by peer, received
|broken pipe signal, recv() from server: EOF, or end of file
|from server typically indicate that inetd is listening for
|connections but is unable to start CVS (this is frequently
|caused by having an incorrect path in `inetd.conf' or by
|firewall software rejecting the connection). 
|
|snip
|
|maybe they are referring to '/etc/xinetd.d/cvspserver' isn't it?
|
|my settings in /etc/xinetd.d/cvspserver
|# default on
|#
|# service cvspserver
| 
|service cvspserver
|{
|disable = no
|id  = cvspserver
|env = HOME =/home/cvs
|socket_type = stream
|protocol= tcp
|port= 2401
|wait= no
|user= root
|passenv = PATH
|server  = /usr/bin/cvs
|server_args = -f --allow-root=/repo pserver
|}
|
|On Fri, 2003-10-10 at 13:16, kent emia wrote:
| On Fri, 2003-10-10 at 12:02, [EMAIL PROTECTED] wrote:
|  On Fri 10 Oct 03, 11:43 AM, kent emia [EMAIL PROTECTED] 
|  said:
|   hello to all.. ... as of the moment i succesfully setup a winNT 
|   CVS server and its not that hard at all. workstations can 
|   login/logout checkin/checkout files
|   
|   but since we are switching all workstations to linux, i want to 
|   try it in linux. im having hard time seting up a CVS SERVER in a 
|   redhat9 environment.
|   
|   im encountering this problem:
|   'cvs [login aborted]: reading from server: Connection reset by 
|   peer'
|   
|   as i've read 
|   http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_21.html#SEC184 
|   it says that i am missing pserver in my 'inetd.conf' but 
|i have it 
|   right there this is my 'inetd.conf' file
|   
|   cvspserver stream tcp nowait root /usr/local/bin/cvs cvs 
|   --allow-root=/repo pserver
|   
|   that is in one line
|   
|   running 'nmap localhost' on the server i can see 
|   '2401/tcp   opencvspserver' in it.. 
|   
|   im wondering what else could be wrong
|  
|  hi kent,
|  
|  i'm a cvs newbie, but here are some ideas:
|  
|  1. anytime you edit /etc/inetd.conf, you need to restart 
|the inetd service
| by doing:
|  
|/etc/init.d/inetd restart
| 
| im did restart it...
| 
|  
| i thought redhat used xinetd, though (i'm exclusively debian).
| 
| ok
| 
|  
|  
|  2. try using tcpdump to make sure packets are being received:
|  
| tcpdump -i eth0 tcp port 2401
| 
| here's the output
| 
| [EMAIL PROTECTED] admin]# tcpdump -i eth0 tcp port 2401
| tcpdump: listening on eth0
| 13:06:52.120827 leprechaun.cdr.com.55072  
|genesis.cdr.com.cvspserver: 
| S
| 1493157523:1493157523(0) win 5840 mss 1460,sackOK,timestamp 10302474
| 0,nop,wscale 0 (DF)
| 13:06:52.120899 genesis.cdr.com.cvspserver  
|leprechaun.cdr.com.55072: S
| 1166485185:1166485185(0) ack 1493157524 win 5792 mss
| 1460,sackOK,timestamp 8746928 10302474,nop,wscale 0 (DF)
| 13:06:52.121104 leprechaun.cdr.com.55072  
|genesis.cdr.com.cvspserver: .
| ack 1 win 5840 nop,nop,timestamp 10302474 8746928 (DF)
| 13:06:52.121482 leprechaun.cdr.com.55072  
|genesis.cdr.com.cvspserver: P
| 1:71(70) ack 1 win 5840 nop,nop,timestamp 10302474 8746928 (DF)
| 13:06:52.121518 genesis.cdr.com.cvspserver  
|leprechaun.cdr.com.55072: .
| ack 71 win 5792 

RE: help on pserver connection

2003-10-09 Thread Gagneet Singh
Hi!

I think the thing you have done wrong is to not visit the latest of the
CVS Cederqvist manual. 

It shows that after the RedHat 7 distribution the control for cvspserver
had shifted to the xnetd services avialble as separate files under the
/etc/xinetd.d directory. Here you create a file named cvspserver and
feed in the following contents to it.

# default: on
#
# service cvspserver
#
service cvspserver
{
disable = no
id  = cvspserver
env = HOME=/home/cvs
socket_type = stream
protocol= tcp
port= 2401
wait= no
user= root
passenv = PATH 
server  = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
}

Where server_args is the place where you give the path to your
repository.

Hope this helps. For better understanding read the Cederqvist Manual on
CVS 1.11.5, this can be found on http://www.cvshome.org/

Gagneet



|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf 
|Of kent emia
|Sent: Friday, 10 October, 2003 9:13 AM
|To: info-CVS
|Subject: help on pserver connection
|
|
|hello to all.. ... as of the moment i succesfully setup a 
|winNT CVS server and its not that hard at all. workstations 
|can login/logout checkin/checkout files
|
|but since we are switching all workstations to linux, i want 
|to try it in linux. im having hard time seting up a CVS SERVER 
|in a redhat9 environment. 
|
|im encountering this problem:
|'cvs [login aborted]: reading from server: Connection reset by peer'
|
|as i've read 
|http://www.cvshome.org/docs/manual/cvs-|1.11.7/cvs_21.html#SEC18
|4 it says that i am missing pserver in my 'inetd.conf' but i 
|have it right there this is my 'inetd.conf' file
|
|cvspserver stream tcp nowait root /usr/local/bin/cvs cvs 
|--allow-root=/repo pserver
|
|that is in one line
|
|running 'nmap localhost' on the server i can see 
|'2401/tcp   opencvspserver' in it.. 
|
|im wondering what else could be wrong
|
|
|-- 
|-BEGIN GEEK CODE BLOCK-
|Version: 3.1
|GCS d- s: a- C U P+ L+++ E W+ N++ o- K- w---
|O-- M+ V-- PS PE++ Y+ PGP- t--- 5-- X++ R tv++ b+ DI-- D+
|G++ e h! r++ y--
|--END GEEK CODE BLOCK--
|
|
|
|___
|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: [cvsgui] Duplicating CVS repository from one server to another?

2003-10-09 Thread Gagneet Singh
Title: Message



Hi!

You just need to 
copy the files with the existing permissions to the new server. Also, there is a 
GUI available with WinCVS, if that is what you are using which allows the client 
to change the 'root' on the local machines. (this is helpful if you have changed 
the name of the server as well).

The Macro is 
available under the Macros Menu - TCL - Change CVSRoot 
(GUI).

The copying will 
be for all the users, groups and repositories you created with all the existing 
permissions intact. I think there should exist a script to do this work also, 
but for that you will have to wait for the others to answer this query.. 


Gagneet


  
  -Original Message-From: Barry 
  [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October, 2003 
  1:58 AMTo: [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Subject: [cvsgui] Duplicating CVS repository from 
  one server to another?All,If I have CVS setup 
  in server A. How can I duplicate that in a new server B?In another word, 
  how can I copy all the CVS contents (scripts, setups,modules...etc) from A 
  to B?ThanksBarry
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: [cvsgui] Any gui tools to show the branch structures?

2003-10-09 Thread Gagneet Singh
Title: Message



Hi!

Well I think this 
is the most common question being asked by all and Oliver has answered it many a 
times. No as yet there is no such tool (although Oliver has made many attempts 
to create one.. ). The best you can do is go to the most used file (the one used 
by all or the one with most commits) and see the graph for 
this.

Oliver should be 
able to guide you better on this.

Gagneet

  
  -Original Message-From: Barry 
  [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October, 2003 
  1:58 AMTo: [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Subject: [cvsgui] Any gui tools to show the branch 
  structures?Hi all,Is there any tools to show 
  the whole cvs repository structure? Versions andbanches of files? 
  Producing reports and all?ThanksBarry
  


  Yahoo! Groups 
Sponsor

  

  
  
ADVERTISEMENT

  To 
  unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED]Your use of 
  Yahoo! Groups is subject to the Yahoo! Terms of Service. 

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


RE: CVS Login ERROR...

2003-09-30 Thread Gagneet Singh
Title: Message



Hi 
Naren!

I think you will 
have to send me the following information before I can give you any further 
help:

CVS 
Server:
1. What is the 
Server OS? (Distribution version details)
2. Which CVS 
Server package are you using?
3. What all 
configurations have been carried out? (Creation of the repository, scripts and 
files created)
4. 
If Linux, 
is apache and Samba installed and configured..??

CVS 
Client:
1. Which client 
are you using? (GUI or command line  Linux or Windows)
2. What is the 
client version?
3. What are the 
configurations done on the client?

Thanx

Gagneet



  
  -Original Message-From: Narendhran K 
  [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 September, 
  2003 12:48 PMTo: [EMAIL PROTECTED]Subject: RE: CVS Login 
  ERROR...
  hi
  
  I tried with the things u said , but again it is giving the following 
  error
  cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: 
  Connectionrefused
  
  could u help me 
  naremGagneet Singh [EMAIL PROTECTED] 
  wrote:
  

Hi!

 2 )cvs [login aborted]: connect to 
192.168.0.3(192.168.0.3):2401 failed: No connection could be made because 
the target machine actively refused it. 
 Could any one help me on 
this status.

This can 
happen in the case you have not created the cvspserver file on your server. 
If you are using Red Hat systems after distribution 7.2, then you are 
required to put this file in the /etc/xinetd.d directory. The format of this 
file is..


service 
cvspserver
{
 
disable = 
no
 
id 
 
= cvspserver
 
env 
= HOME=/home/cvs
 
socket_type = 
stream
 
protocol 
= tcp
 
port 
= 2401
 
wait 
= no
 
user 
= root
 
passenv 
= PATH 
 
server 
= /usr/bin/cvs
 
server_args = -f 
--allow-root=/cvs/versions pserver
}

The repository root is denoted by the 
line:
 
server_args = -f 
--allow-root=/cvs/versions pserver

in the 
above mentioned file.


  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Narendhran KSent: Monday, 29 September, 2003 15:50 
  PMTo: [EMAIL PROTECTED]Subject: CVS Login 
  ERROR...
  Hi,
  These are the two types of Errors that i Get when i try to install 
  cvs on a LInux system and then try to run winCVS on the client 
  system.
  1 )[EMAIL PROTECTED] CVSROOT]# cvs -d /raid/cvsroot commit 
  /root/CVSROOTcvs [commit aborted]: 'root' is not allowed to commit 
  files
  2 )cvs [login aborted]: connect to 
  192.168.0.3(192.168.0.3):2401 failed: No connection could be made because 
  the target machine actively refused it. 
  Could any one help me on this status.
  
  With regardsNaren
  
  
  
  Do you Yahoo!?The 
  New Yahoo! Shopping - with improved product 
search
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Vijay - two questions on CVS

2003-07-20 Thread Gagneet Singh
Hi!

Regarding
| a) How should we delete a complete module form a  
|respository ? 

You just need to delete the repository module from the server, the server can be 
either a WinNT machine or a Linux / UNIX variant. You do not need to stop the XINETD 
service, but it is always a better practice to stop it. The server does not cater to 
the modules in the repository, only to the repository, hence it does not know if there 
is any change. 
Only the repository knows about changes if the 'modules' file has been initialized, 
either automatically or manually by the Repository Admin. 
Even then, the repository does not complain, but only if a user wishes to checkout the 
deleted module from the client side, he gets a error/warning that the module does not 
exist in the repository.

| b) We ususally access the CVS Server ( on Linux ) from the  
|  Windows 2K prof box by using WinCVS 1.3 or 1.2 

This is actually a better question to put to CVS GUI group.. ;-) [EMAIL PROTECTED]
Anyway! When working with WinCVS, the user who logs in and checks out a module creates 
a 'CVS' folder in the checked out module. Inside this folder are the settings for the 
user. If you checkup the 'Root' file (opening it in any test editor) you will find the 
complete path to the repository along with the user name. Thus, when you have the 
checked out module selected and 'Login', winCVS picks up this name and uses it for 
further CVS operations. 

WinCVS 1.3b10 onwards there is a feature which comes in the form of a window when you 
'Login'. 
This is a checkbox in the lower portion of the 'Login Settings tab. This says 'Force 
using the CVSROOT (-d)'. If this option is checked and you put the desired user name 
in the General box, the new user can login, without bother about the settings in the 
previous module. 

Or you can select any non-CVS folder on the left hand side of the WinCVS pane and 
login with the username desired. As this won't have any CVS setting, but do remember 
to change the General Settings (in Preferences tab) to the desired username first.

Hope I have answered your query. (and please do not go to the extreme of re-installing 
WinCVS every time, as this puts the application in bad light... ;-))

Gagneet


- Original Message - 
From: Vijay Kumar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 07, 2003 14:46 PM
Subject: Vijay - two questions on CVS


| Hi, 
| 
| I have the following  two questions for which I need  some help : 
| 
| a) How should we delete a complete module form a  
|respository ? Do we need to stop the cvs server ( xinetd ) 
|   Is it just removed by rm -rf  dir. 
|   Upon starting te xinetd or the cvs server , will the server not 
|   realise that there  is some change in the repository and 
|  complain about the same ?  I have been trying to find out 
|  about these things, but have got no answers till now. 
| 
| b) We ususally access the CVS Server ( on Linux ) from the  
|  Windows 2K prof box by using WinCVS 1.3 or 1.2 
|  Once a user logs in via WinCvs, it retains the seting sin the 
| preferences Tab. Now, if I change the user name from user 
| xyz to user abc, we can see the change in the 
| preferances tab, but when we click the login option., we 
|still see the old user name in the OutPut box below and 
|WinCVS is asking for the password for the old user. 
|I usually overcome this by 
|a) Logging in though command line or 
|b) .cvspass file. - Only sometimes this solves this problem. 
|   not always. 
|   Alternatively I have to reinstall WinCVS on some Windows 
|   box, for the new user to log in. 
| 
|  Why does WinCvs behave like this ? 
| 
| Please Help. 
| 
| Regards,
| Vijay.
| 
| 
| 
| ___
| 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: loginfo log messages

2003-03-11 Thread Gagneet Singh
Hi!

What are you trying to do? Are you wanting to send the log message written
when commiting files to CVS, to the various developers concerned?

Well! Then won't it be simpler to use the following, in the loginfo file in
$CVSROOT/CVSROOT folder:

DEFAULT (id; echo %{sVv}; date; cat) | mail [EMAIL PROTECTED]

This is the format I use and it sends the log message and the version
history to the people concerned, as for me [EMAIL PROTECTED] is a
mailing list of a group of the developers for the particular proect.

Hope this helps

Gagneet




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


Re: [cvsgui] update command question

2003-03-06 Thread Gagneet Singh
Hi!

I have files in a CVS repository under the directory cvsroot/sc/etc.  =
If I run the command cvs checkout sc/etc the files get placed in the =
current directrory, in the *same* directory structure (i.e. sc/etc/).  =
How can I place those files in different directory strructure, (e.g =
etc).


Which client are you using? If you are using WinCVS it has a checkbox for
overriding the local directory with another name for the checked oput
sources.

If you are working on a linux/unix variant please use the command.

cvs checkout -P -d cdf abc/etc

where abc is th anme of the module in the repository and cdf is the name
with which you wish to check it out as.

Gagneet



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


Email on 'update' and common file 'add'

2003-03-05 Thread Gagneet Singh
Hi!

Is there any way in which I can send 'cvs update' messages to users of a
development team?

I am working on a Red Hat 8.0 cvs-1.11.5-perm1 CVS server and the clients
are WinCVS 1.3b10.

The requirement is that the development team wishes to be informed whenever
a developer updates his/her files. For commits an email can be generated
using the loginfo script, but what about the email when a user updates his
local copy with the repository copy. Is there a way for doing this also?

Also, when the user does a 'cvs add' is there a way of knowing whether the
user has not added a file which might be already existing in the repository
in another module.

Thanx

Gagneet



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


Restricting users from creating a new repository.

2003-03-04 Thread Gagneet Singh
Hi!

Would anybody know of a way to restrict users on the CVS server from
creating a repository via the client?

I am using Red Hat 8.0 with cvs-1.11.5-perm1 as the CVS server. Also, the
clients are windows based and are using WinCVs 1.3b10.

I would like to restrict users from creating a new repository from their
clients. The repository should only be created from the CVS server machine
and that right also should be restricted to a specified set of users.

Earlier CVS had the options.h file in which such permissions could be given.
Is there any such provision now? As I could not find the options.h file in
the cvs-1.11.5 version of CVS.

Thanx

Gagneet

PS: Can I restrict users from creating new modules in a repository?




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


Re: Problem connecting to remote repo from wincvs

2003-02-06 Thread Gagneet Singh
Hi Daniel!

I think the problem is that the machine you are using does not have a host
name defined for it. also, it might not be visible over the network. There
are two remedies for this problem as far as I can see. Please correct me if
someone thinks I am wrong.

1. You need to define a host name for your CVS server. From what I made out
you are working on a Linux System. This can be done by running the 'neat'
aplication from console or if you do not have graphics then you need to edit
the network settings file. And set the host name for the machine. I think
this file should be someplace where the DNS name or 'bind' files are
defined.

2. Configure samba for your machine and set the host name in the samba
configuration file. This is in the /etc/samba directory if red hat
distribution has been installed. It might vary for other distributions.

Any problems, please do get back.

Gagneet


 --

 Date: Wed, 05 Feb 2003 16:31:23 -0600
 From: Daniel Hurtubise [EMAIL PROTECTED]
 To: CVS-II Discussion Mailing List [EMAIL PROTECTED]
 Subject: Problem connecting to remote repo from wincvs
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Precedence: list
 Message: 5

 I'm trying to get this to work and I'm getting an error from the client.

 WinCVS login returns an error. The following error is reported:

 Cvs -d :pserver:dahurt@cvs:/usr/local/cvsroot login
 Cvs [login aborted]: connect to 192.168.2.52(192.168.2.52):2401 failed: No
 connection could be made because the target machine actively refused it.

 I'm running CVS version:
 [root@cvs]# cvs version
 Concurrent Versions System (CVS) 1.11.1p1 (client/server)

 I configured the cvspserver service on the Linux server (RH7.3) as:

 service cvspserver
 {
 socket_type = stream
 protocol= tcp
 disable = no
 wait= no
 user= root
 passenv =
 server  = /usr/local/bin/cvs
 server_args = -f --allow-root=/usr/local/cvsroot pserver
 }

 I updated config file to look for the user in the system password file. I
 restarted xinetd.

 Cvspserver is defined in /etc/services with port 2401.

 Please, what am I missing?

 Daniel.



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



Re: unknown compression

2003-01-23 Thread Gagneet Singh
Hi!

I think the mailing list that you should post this query to should be
[EMAIL PROTECTED] .

Anyway, coming to your problem, you have used the TCP/IP compression in your
CVS client. If you are using WinCVS, this option can be disabled by going to
the Admin Menu - Preferences and the Global Tab.

Try this out and see if it works.

Or you can post to the cvsgui group and pose the same question if this does
not work out. Also, try upgrading the CVS Server to the latest with security
fix cvs-1.11.5.

Hope this helps.

Gagneet



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



Re: Help with moving repository

2003-01-20 Thread Gagneet Singh

 We are in the process of moving our cvs repository (pserver) for reasons
of
 size and speed, and have so far asked our CVS users to ensure everything
is
 checked in to the existing repository, remove the existing working copies
 then modify their CVSROOT or -d options and check out again from the
 address of the new repository (which is actually a mount point for the
 moment from the old one, until everyone sets up correctly, then it will be
 copied to its proper location at a convenient point).

Is the CVS Server on a Linux/UNIX system?
What are the clients being used? Are the users working with Windows (WinCVS)
Clients or using CVS on UN*X boxes?

 Some of our developers are complaining that this is going to take them too
 long (don't ask, I've already had the argument with them).

OK, will not ask... ;-)

 Is there a utility available anywhere to perform global changes to the cvs
 metadata in a users working copy. For instance change the entry in
cvs/root
 from :pserver:user@oldcvs:/cvs/cvsroot to
 :pserver:user@newcvs:/cvs/cvsroot. I can imagine that someone somewhere
 has done this before.

There is such a utility available for WinCVS clients, I do not know about
UN*X clients, but should be easy to make using awk and grep. For the WinCVS
utility visit Oliver Giesens page on:

http://people.freenet.de/ogiesen/readme.htm

Also, Oliver has given a full FAQ on CVS at:

http://people.freenet.de/ogiesen/newfaq.htm


 If such a thing were available, it may just save me a few headaches.

 Thanks

 Mark Cooper

Hope these site and macros help, you could run them on UN*X based systems,
but I am not too sure.


Gagneet


I hear that if you play the Windows XP CD backwards, you get a satanic
message - --That's nothing. If you play it forward, it installs Windows
XP!



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



Re: connection using pserver

2003-01-17 Thread Gagneet Singh



Hi!

 Yes, they do require a real 
account on the CVS pserver if you are not using the SysAuth=no in the 'config' 
file in the CVSROOT/ administrative files. If you are using this then you have 
to create a 'passwd' file and enter users in that. For further clarification, 
please refer Per Cederqvist for Administrative files or the CVS REd Book by Karl 
Fogel. These both are available as links and/or PDF documents from the http://www.cvshome.org site. You can refer to 
them.

Hope this helps ... ;-)

Gagneet





From: [EMAIL PROTECTED]To: 
[EMAIL PROTECTED]Subject: connection using pserverMessage-ID: [EMAIL PROTECTED]Content-Type: text/plain; 
charset=us-asciiMIME-Version: 1.0Precedence: listMessage: 
1Hi,Just a small question:Do users connecting using the 
pserver method need a real account (shelllogin, home directory,...) on the 
machine running cvs 
pserver?Cyrille--Cyrille 
Bollu - Software Development EngineerAWTCE - Navigation DepartmentTel. 
+32 2 389 25 14Fax. +32 2 389 12 13mailto:[EMAIL PROTECTED]





"I hear that if you play the Windows XP CD 
backwards, you get a satanic message" - "--That's nothing. If you play 
it forward, it installs Windows XP!"

Gagneet Singh

K2, Somdutt TowersSixth Floor, Sector 
18NOIDA 201031

Phone: 2516936 Extn. 223Mobile: 
9811838961
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Segmentation Fault: CVS 1.11.3 RPM not compiling

2003-01-16 Thread Gagneet Singh
Hi!
I had downloaded the latest of cvs server RPMs from the
http://www.cvshome.org/ site. When I tried to install it on the Red Hat
Distribution 8.0 it gave me the following error.

D: == cvs-1.11.3-cvshome.8x.1.i386.rpm
D: Expected size:  1112323 = lead(96)+sigs(180)+pad(4)+data(1112043)
D: Actual size:   1112323
D: cvs-1.11.3-cvshome.8x.1.i386.rpm: MD5 digest: OK
(10076890533eb755b1276eec6b84b204)
D:  added binary package [0]
D: found 0 source and 1 binary packages
D: opening  db environment  /var/lib/rpm/Packages joinenv
D: opening  db index/var/lib/rpm/Packages rdonly mode=0x0
D: lockeddb index/var/lib/rpm/Packages
D: == +++ cvs-1.11.3-cvshome.8x.1
D: opening   db index/var/lib/rpm/Depends create mode=0x0
D: opening   db index/var/lib/rpm/Basenames rdonly mode=0x0
D: opening   db index/var/lib/rpm/Pubkeys rdonly mode=0x0
D:   read h#  1465 Header sanity check: OK
D: == DSA pubkey id 219180cddb42a60e
D:   read h#52 Header V3 DSA signature: OK, key ID db42a60e
D:   Requires: /sbin/install-info
YES  (db files)
Segmentation fault


After Segmentation fault it stops and returns to the prompt. Please help on
this issue. I require to upgrade the cvs server as I am unable to add the
watchers in the current version. It is returning a problem in WinCVS saying.
(version 1.3.10b10)

cvs watch add confirm_new_version.php (in directory
D:\CVS_Scenario\Tracking_Site\)
cvs [server aborted]: unknown command: watch_add


The configuration for my system is:
On Server Side:
PIV with Red Hat distribution 8.0 installed with everyting. Updated to the
latest from the Red Hat site.
CVS Server 1.11.2-5 (this is the package which came with the distribution.)

On the Client Side:
PIII machine with Windows 2000 Professional installed.
WinCVS 1.3.10b10 (Downloaded from the http://www.wincvs.org/ site.)

Is the problem with the server or is it with the client. And if with the
client please help in the upgrade.

Thank you

Gagneet



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



CVSROOT/passwd problems.

2002-12-26 Thread Gagneet Singh



Hi! I have been using the SystemAuth=yes method 
to authenticate users forCVS Server. (available in the CVSROOT/config file). 
The System I am using isRed Hat 8 with cvs-1.11.2. The repository is in /cvs 
directory. Thepermissions for this are ug+rwx. It belongs to root user and 
cvs group. Currently the requirements changed and I 
was required to setup ascenario to use the CVSROOT/passwd file for the 
authentication procedure.The steps I carried out were: 
a) Created a group 'cvs'. b) Assigned 5 users to it. These 
were already existing users on the CVSServer machine. 
c) Copied the passwords from the System passwords file to the 
CVSROOTdirectory. d) Changed permission for this as 
ugo+r (read only for user, group andothers). e) The 
structure of the file is 
thus, 
gagneet:hfhsdgst/gjkgj/..*:gagneet 
xyz:askjdflkaj;;;dmjdjkdl:xyz 
abc:askjdflkaj;;;dmjdjkdl:abc 
uvw:askjdflkaj;;;dmjdjkdl:uvw 
pqr:askjdflkaj;;;dmjdjkdl:pqr(Earlier I had also tried with giving the 
user name at the end., i.e.,gagneet:hfhsdgst/gjkgj/..* 
)On the client side I am using WinCVS 13b10. When I try to now login 
thefollowing error message is given.cvs -d 
:pserver:gagneet@cvsserver:/cvs loginLogging in to 
:pserver:gagneet@cvsserver:2401/cvsFatal error, aborting.cvs [login 
aborted]: gagneet: no such user* CVS exited normally with code 1 
*without the system username it gives:cvs -d 
:pserver:gagneet@cvsserver:/cvs loginLogging in to 
:pserver:gagneet@cvsserver:2401/cvsFatal error, aborting.cvs [login 
aborted]:: no such user* CVS exited normally with code 1 
*Also, when I give a wrong password, the following message comes 
up.cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to 
:pserver:gagneet@cvsserver:2401/cvscvs [login aborted]: authorization 
failed: server cvsserver rejected accessto /cvs for user 
gagneet* CVS exited normally with code 1 *This should 
mean that the settings on the CVS Server are fine but they arenot working 
with the CVSROOT/passwd file.My cvspserver file in the /etc/xinetd.d/ 
directory contains the followingcontent:# default: on## service 
cvspserver#service cvspserver{disable = 
noid = cvspserverenv = 
HOME=/home/gagneetsocket_type = streamprotocol = 
tcpport = 2401wait = nouser = 
rootpassenv = PATHserver = 
/usr/bin/cvsserver_args = -f --allow-root=/cvs 
pserver}Please Help. I do not know now what else is to be done.. 
I have tried allfrom my side..Thank 
youGagneet
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: [cvsgui] 'inetd.conf' File not Found after installing CVS

2002-05-05 Thread Gagneet Singh

Hi!
  I had mentioned in my earlier letter that I was unable to connect to the
CVS Server, as I could not find the 'inetd.conf' file. Thanx for the help on
that, but I shall have to trouble you again in the following form. What can
be the trouble?

Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
CVSROOT: user@LinuxServer:/src/master/cvstest (password authentication)
cvs login
Logging in to :pserver:user@linuxserver:2401/src/master/cvstest
cvs [login aborted]: connect to LinuxServer(LinuxServer):2401 failed: No
connection couldbe made because the target machine actively refused it.

*CVS exited normally with code 1*


  Could it be as I have as yet not made the 'passwd' file in
/src/master/cvstest/CVSROOT? If so, could you please guide me as to how to
do this and specially about how to put in the encrypted passwords. Also I
read mentioned someplace that the users for CVS cannot be the same as those
of the users on the *nix CVS Server machine. Is this true? If so what is the
solution for this?

Thanx

Gagneet

-Original Message-
From: Shannon Pedersen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 23:06 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [cvsgui] 'inetd.conf' File not Found after installing CVS
Sensitivity: Private


xinetd is what RH 7.2 uses instead of inetd.

Here's what I had to do:

First, you need to check that port 2401 is active for cvspserver.  Go
to /etc/services to check.  In my file, I had listed

cvspserver  2401/tcp# CVS client/server
operations
cvspserver  2401/udp# CVS client/server
operations

If this isn't there, I believe you can edit the file to include it (but
I didn't have to do this).

Then, you need to tell xinetd to use cvspserver.  Go to /etc/xintd.d and
copy one of the existing files to cvspserver in the same directory.
Edit it to read something like this (server reflects where cvs is
installed, and server_args is where your CVSROOT is):

{
socket_type = stream
protocol= tcp
wait= no
user= root
passenv = PATH
server  = /usr/bin/cvs
server_args = -f --allow-root=/var/cvswell pserver
}

Once you've saved that file, then type the following at the prompt:
chkconfig cvspserver on

You can check that it is working by typing:
chkconfig --list |grep pserver

And it should list that cvspserver is on.

After I did all this, WinCVS connected just fine.

HTH
-shannon pedersen




 -Original Message-
 From: Gagneet Singh [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 19, 2002 12:30 AM
 To: [EMAIL PROTECTED]
 Subject: [cvsgui] 'inetd.conf' File not Found after installing CVS
 Sensitivity: Private


 Hi!
   I am a newbie to CVS and have downloaded and installed the version
 cvs-1.11.1p1 on a RedHat Linux 7.2 Distribution machine. Reading the
 instructions I have come across the mention of the file
 'inetd.conf' and the
 service 'inetd'. Unfortunately both these cannot be found in
 the intended
 folder - '/etc'  '/etc/init.d'.


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



No inetd.conf file!!

2002-04-23 Thread Gagneet Singh

Hi!

I have installed the RedHat 7.2 as the CVS server. I have also downloaded
the latest CVS version 'cvs-1.11.1p1', and installed it on my computer.
Now the problem is that there is no 'inetd' service and also the
'inetd.config' file is not there in the /etc folder.

Please help. Do I make the changes in the xinetd.conf file or do I create
the 'inetd.conf' file and what do I do about the 'inetd' service.

Thanking you,

Gagneet Singh


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



RE: CVS integration with Windows Clients.

2002-04-23 Thread Gagneet Singh

Sir,
  In your reply to the integration of CVS with Windows Client you have
mentioned about the file /etc/xinetd.d/cvspserver. This file is to be
created by administrator, but what are to be the contents for this file?
Also will the Linux Server have to be sharing the repository files via a
Samba Server (create a share of the CVSROOT in the smb.conf file??!)

  Would be grateful if you could elaborate on this.

 Thanking you


Gagneet



There is no problem with this at all - I have such a network here and I
have clients doing it routinely. You simply need to set up the Red Hat 7.0
server with a /etc/xinetd.d/cvspserver file, so that it will work. WinCVS
works with this setup beautifully.

Best,

--- Les [http://www.lesbell.com.au]




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



'inetd.conf' Not found!!

2002-04-23 Thread Gagneet Singh


Hi!
  I was wondering if anybody could help me with this. I have installed the
latest version of CVS on the RedHat 7.2 distribution and have followed the
installation instructions to the order.
  Starting from ./configure, make, make install. But the next instruction to
edit the file /etc/inetd.conf, could not be carried out as there is no such
file available. Also the inetd service is not available although i have
search the complete distribution for it.

  Please do inform me if this file can be created manually or should I use
the xinetd.conf file and the xinetd.d servive for running my CVS server.

  Thanking you in advance,


Gagneet

[EMAIL PROTECTED]
yahoo ID : komputr_nerd





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



'inetd.conf' File Not Found

2002-04-23 Thread Gagneet Singh

Hi!
  I have installed the cvs-1.11.1p1 version on my Linux server. The
instruction says that I have to edit a file named 'inetd.conf' and then
restart the service 'inetd'.
  The problem is that I could neither find the file /etc/inetd.conf nor
could I find the service for 'inetd' either in /etc/init.d or anywhere else
any file by that particular name. Would anyone be kind enough to tell me
what is to be done in this case so that I can run CVS as a Server.

  I am getting the message that:
cvs95[login aborted]: connect to LinuxServer(LinuxServer): 2401 failed



Thanking in advance,

Gagneet


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



CVS integration with Windows Clients.

2002-04-15 Thread Gagneet Singh

Sir,
  I have been assigned a project for implementing CVS in our network. The
Linux Server I am using is RedHat distribution version 7.2.
  The machines in are network are mostly working on Windows 98, while some
are on Windows 2000 and RedHat distribution 7.0.
  I have been assigned the task of integrating CVS with the Windows clients.
I have in my search come across WinCVS.
  Is it possible to use a Linux Server with Windows client and implement
CVS? I would be grateful if you would help me out in this matter.

Thanking You,

Gagneet Singh
K 2, SomDutt Towers
6th Floor, Sector 18,
NOIDA  201301
Phone : +91(120) 4516936 Extn. 231
Email : [EMAIL PROTECTED]


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