RE: Newbie cvs question - large project

2005-04-11 Thread Jim.Hyslop
[EMAIL PROTECTED] wrote:
 Thanks for the replies. Regarding the 'millions of source 
 files' remark
 - sorry, but what I meant was my project has thousands (2000+) of
 source files, with a combined size (including bitmap resources etc) of
 hundreds of megabytes.
Ah, that sounds much more sane and manageable.

 That said, could you give a tip on what's the
 best way for the programmers to modify the project?
Same as I said the other day - try to break it down into smaller modules
that can be compiled independently.

Also keep in mind that you don't have to do a full checkout every time
someone checks in a file - you only have to update the file(s) that changed.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Newbie cvs question - large project

2005-04-10 Thread [EMAIL PROTECTED]
Hi Jim, Alan
Thanks for the replies. Regarding the 'millions of source files' remark
- sorry, but what I meant was my project has thousands (2000+) of
source files, with a combined size (including bitmap resources etc) of
hundreds of megabytes. That said, could you give a tip on what's the
best way for the programmers to modify the project?
Thanks!

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Newbie cvs question - large project

2005-04-08 Thread [EMAIL PROTECTED]
1.We are currently working on a large project now. As the project is
currently under way, we are constantly making changes to the codes,
with different people changing different part of the codes. In this
situation, what is the best way to start implementing CVS? I was
thinking of establishing a reference version, create a new module in
CVS for this version, and have everybody checks out the version and
start working from there. Is there a better way to do this?

2. As our project is very large, with millions of source files
(literally), performing cvs release and checking out the whole project
everytime are certainly not feasible. To overcome this, I was thinking
of letting each programmer works on his/her own part of the code, so
after the initial checking out of the whole project (as described in my
first question), each programmer will only modify/commit his/her own
codes. The drawback of this is of course nobody will have the complete
newest version of the project. Is there a better way to do this?

Thanks!

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: Newbie cvs question - large project

2005-04-08 Thread Jim.Hyslop
[EMAIL PROTECTED] wrote:
 1.We are currently working on a large project now. As the project is
 currently under way, we are constantly making changes to the codes,
 with different people changing different part of the codes. In this
 situation, what is the best way to start implementing CVS? I was
 thinking of establishing a reference version, create a new module in
 CVS for this version, and have everybody checks out the version and
 start working from there. Is there a better way to do this?
That's the general way of working.

 2. As our project is very large, with millions of source files
 (literally), performing cvs release and checking out the whole project
 everytime are certainly not feasible. To overcome this, I was thinking
 of letting each programmer works on his/her own part of the code, so
 after the initial checking out of the whole project (as 
 described in my
 first question), each programmer will only modify/commit his/her own
 codes. The drawback of this is of course nobody will have the complete
 newest version of the project. Is there a better way to do this?
The mind boggles. *Millions* of source files? May I ask what kind of project
this is?

Your project sounds like it is completely out of control - and that's not
something CVS, nor any other source control tool, is going to help you
overcome. You're going to need some serious project management disciplines
in place. Start by partitioning this into sub-projects which can be checked
out and worked on independently of the other sub-projects.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )



___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Newbie cvs question - large project

2005-04-08 Thread Alan Dayley
Jim.Hyslop wrote:
[EMAIL PROTECTED] wrote:
--[clip]--
2. As our project is very large, with millions of source files
(literally), performing cvs release and checking out the whole project
--[clip]--
The mind boggles. *Millions* of source files? May I ask what kind of project
this is?
Yes, please.  Do tell.  I am very curious.
Alan

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: CVS question

2004-02-05 Thread Arno Schuring
See http://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_18.html#SEC160

Add the following line to your CVSROOT/modules file:

PackAPackA PackB

Hope this is what you are looking for

Arno Schuring

 - Original Message - 
From: Sophie Coon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 2:28 AM
Subject: CVS question


 Hi,
 I have the following problem.

 Lets assume that the top level repository contains a directory PackA which
 contains 2 files: afile1 and afile2.

 The repository also contains another directory at the same level, PackB
 which contains 1 file, bfile1.

 I'd like to know if CVS provides a mechanism that will create the
following
 files:
 PackA/afile1
 PackA/afile2
 PackA/PackB/bfile1
 when executing cvs co PackA.

 and
 PackB/bfile1
 when executing cvs co PackB.

 I'd like to keep PackB independent from PackA under CVS, but have it
checked
 out as a subdir of PackA if checking out PackA.

 Thanks in advance for any information.
 Best regards
 Sophie
 -- 
 
 Sophie COON   The Scripps Research Institute
 Research Programmer III   Molecular Graphics Laboratory
   10550 North Torrey Pines Road
 Phone: (858) 784-9556La Jolla, CA 92037
 Fax  : (858) 784-2860
 




 ___
 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


chrooted-ssh-cvs question

2004-02-05 Thread Keyser Soze
I have implemented the solution as documented here: 
http://www.idealx.org/doc/chrooted-ssh-cvs-server.en.html

I have a couple of questions and am hoping someone here can answer.

1) how do I create passwords for users in {base}/{project}/chrooted/etc/passwd?  Do I 
use passwd and then copy the test from the /etc/shadow to the chrooted etc/shadow?

2) It appears that one user can not be a 'member' of more then one project.  Is this 
correct?

Thanks,

-Eric
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



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


CVS question

2004-02-04 Thread Sophie Coon
Hi,
I have the following problem.
Lets assume that the top level repository contains a directory PackA which
contains 2 files: afile1 and afile2.
The repository also contains another directory at the same level, PackB
which contains 1 file, bfile1.
I'd like to know if CVS provides a mechanism that will create the following
files:
PackA/afile1
PackA/afile2
PackA/PackB/bfile1
when executing cvs co PackA.
and
PackB/bfile1
when executing cvs co PackB.
I'd like to keep PackB independent from PackA under CVS, but have it checked
out as a subdir of PackA if checking out PackA.
Thanks in advance for any information.
Best regards
Sophie
--

Sophie COON   The Scripps Research Institute
Research Programmer III   Molecular Graphics Laboratory
  10550 North Torrey Pines Road
Phone: (858) 784-9556La Jolla, CA 92037
Fax  : (858) 784-2860



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


CVS question

2003-09-10 Thread Mark Jaffe
Is this an appropriate forum for questions on WinCVS? I need to know how it stores 
individual customisations, such as which menu items are applied to the customized 
right-click menu. We would like to share a default set of menu customizations among 
members of the team..

=
Mark Jaffe| (408) 972-9638 (home)
Chief Wizard  | (408) 807-1530 (cell)
Computer Wizards  | (425) 795-6421 (FAX)


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


Re: CVS question

2003-09-10 Thread Larry Jones
Mark Jaffe writes [in one very long line]:
 
 Is this an appropriate forum for questions on WinCVS? I need to know
 how it stores individual customisations, such as which menu items are
 applied to the customized right-click menu. We would like to share a
 default set of menu customizations among members of the team..

No.  WinCVS specific questions like that should go to the CvsGui list:

http://groups.yahoo.com/group/cvsgui/

-Larry Jones

Everything's gotta have rules, rules, rules! -- Calvin


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


Java/CVS question

2003-03-11 Thread Eric C. Hein




I'm using the java Runtime class to update files 
from a CVS repository and in some cases it is hanging (see comment in 
code). I think this may have something to do with the buffer sizefor 
the standard input and output streams of the OS (Win2k). If I close 
my java app the files do update correctly.Any ideas on how to resolve 
this? 

Thanks


public String execute(String[] args) {

StringBuffer result = new 
StringBuffer();String str;Process 
m;

try {

String [] cmd = 
{"cmd.exe","/c",args[0]};m = 
Runtime.getRuntime().exec(cmd);

BufferedReader in 
=new BufferedReader(new 
InputStreamReader( 
m.getInputStream()));

while((str = in.readLine()) != 
null) 
{System.out.println(str);result.append("\n" 
+ str);}

// *** code hangs before it gets here 
**

m.waitFor();System.out.println("Process 
exit code is:" + m.exitValue());
}catch(Exception ex) 
{ex.printStackTrace 
();}return 
result.toString();}
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


CVS-question

2003-03-05 Thread Erik Andersson
I am sorry if this is a newbie question and easy to answer, but I don't get it.. I 
need help and I hope you can help me out.

I have done a cvs co -r revision number modulenname of one of our modules.
Since that revision new files have been created and I need to make a build of the 
files from the first checkout only some of the new files.
I then do a cvs co filename and get following error message:
cvs checkout: warning: new-born filename has disappeared

Why is this and is this approach wrong? Is there another way that you are supposed to 
do this? Am I not thinking right?

I am running on HP-UX 11 and cvs -version results in following:
cvs -version
Concurrent Versions System (CVS) 1.11.2 (client/server)
Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS

Please help me.

Best Regards / Erik Andersson


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


Re: CVS-question

2003-03-05 Thread Larry Jones
Erik Andersson writes:
 
 I have done a cvs co -r revision number modulenname of one of our modules.
 Since that revision new files have been created and I need to make a build of the 
 files from the first checkout only some of the new files.
 I then do a cvs co filename and get following error message:
 cvs checkout: warning: new-born filename has disappeared

Try cvs up -rHEAD filename instead.

-Larry Jones

TIME?!  I just finished the first problem! -- Calvin


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


Re: A not-so-CVS question

2002-07-14 Thread Norberto Meijome

yup, and you can even point the .htaccess to read the CVS password file 
, so your users only have 1 password to remember for each repository 
they need to access.
Beto

Lee Fellows wrote:

On Wed, 2002-07-10 at 06:06, Isaac Claymore wrote:
  

Hi, CVS folks.
My question is not strictly related to CVS itself, but I think
this list is the right place to ask.
I've set up ViewCVS for my team, but then everyone on our LAN
gets read access to the repository through it, which is not 
desired.
So is there any tool or mechanism that's able to add authentication
functionality to ViewCVS without hacking its code? Or, do you
folks have similar experience?
Thanks~~

-Clay




  If you are using apache as the web server, have you looked at
.htaccess and .htpasswd?




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

  


-- 
Norberto Meijome
If you were supposed to understand it, we wouldn't call it 'code'. 




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



Re: A not-so-CVS question

2002-07-11 Thread Isaac Claymore

On Wed, Jul 10, 2002 at 08:31:44AM -0400, Lee Fellows wrote:
 On Wed, 2002-07-10 at 06:06, Isaac Claymore wrote:
  Hi, CVS folks.
  My question is not strictly related to CVS itself, but I think
  this list is the right place to ask.
  I've set up ViewCVS for my team, but then everyone on our LAN
  gets read access to the repository through it, which is not 
  desired.
  So is there any tool or mechanism that's able to add authentication
  functionality to ViewCVS without hacking its code? Or, do you
  folks have similar experience?
  Thanks~~
  
  -Clay
  
 
   If you are using apache as the web server, have you looked at
 .htaccess and .htpasswd?
I've set up apache for authentication using various 'Auth*' tags.
Thanks for your hints ;)
 
 
 
 
 ___
 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



A not-so-CVS question

2002-07-10 Thread Isaac Claymore

Hi, CVS folks.
My question is not strictly related to CVS itself, but I think
this list is the right place to ask.
I've set up ViewCVS for my team, but then everyone on our LAN
gets read access to the repository through it, which is not 
desired.
So is there any tool or mechanism that's able to add authentication
functionality to ViewCVS without hacking its code? Or, do you
folks have similar experience?
Thanks~~

-Clay

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



Re: A not-so-CVS question

2002-07-10 Thread Lee Fellows

On Wed, 2002-07-10 at 06:06, Isaac Claymore wrote:
 Hi, CVS folks.
 My question is not strictly related to CVS itself, but I think
 this list is the right place to ask.
 I've set up ViewCVS for my team, but then everyone on our LAN
 gets read access to the repository through it, which is not 
 desired.
 So is there any tool or mechanism that's able to add authentication
 functionality to ViewCVS without hacking its code? Or, do you
 folks have similar experience?
 Thanks~~
 
 -Clay
 

  If you are using apache as the web server, have you looked at
.htaccess and .htpasswd?




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



Re: shared working directories and advisory locks (Was: quick cvs question)

2002-06-03 Thread Noel Yap

--- Paul Tomsic [EMAIL PROTECTED] wrote:
 Hi, Noel.
 Sorry to email you directly, but I was going thru
 the
 archive of the CVS mailing list and found an answer
 that you posted on 24.may.2002 regarding reserved
 locks

Please send requests to [EMAIL PROTECTED] in the
future.  (Also, a more specific Subject: would be
nice; I typically delete email with very general
subjects).

 I think that we need to use reserved locks b/c
 we've
 got multiple developers using the same workspace
 b/c
 it's a web project.  It doesnt' seem to make sense
 (to
 me) to have each developer use their own workspace,
 b/c to see their changes, they'd have to have a
 virt.web server pointing to their workspace, no?
 
 Am I way off the mark here?   
 
 I'm new to the CVS implementation, so I'm open for
 suggestion.  We're developing a web-app using
 JSPs/APACHE/Tomcat and beans.

CVS is horrendous when sharing working directories.  I
think it has something to do with file ownership and
possibly permissioning.

One can view working directories as virtual branches. 
If one has a working directory per task, one can
separate each change set from the others.  So, my
usual advice is to have one separate working directory
for each task or change set (and thereby use a form of
the Branch Per Task Pattern as described at
http://www.enteract.com/~bradapp/acme/branching/patterns.html#BranchPerTask).

Since you're using Apache/Tomcat, it shouldn't be too
difficult for each developer to have their own web/app
servers running and pointing to their own working
directories.

Going back to reserved locks, the patch has been
renamed to the more appropriate advisory locks
since:
1. It's up to the users to place advisory locks.
2. Users can override advisory locks.

whereas, IMHO, reserved locks are forced by the server
and cannot be overridden by the user.

HTH,
Noel

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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



Re: shared working directories and advisory locks (Was: quick cvs question)

2002-06-03 Thread Paul Tomsic

thank you, and I appreciate your quick reply.
Cheers,

Paul
--- Noel Yap [EMAIL PROTECTED] wrote:
 --- Paul Tomsic [EMAIL PROTECTED] wrote:
  Hi, Noel.
  Sorry to email you directly, but I was going thru
  the
  archive of the CVS mailing list and found an
 answer
  that you posted on 24.may.2002 regarding reserved
  locks
 
 Please send requests to [EMAIL PROTECTED] in the
 future.  (Also, a more specific Subject: would be
 nice; I typically delete email with very general
 subjects).
 
  I think that we need to use reserved locks b/c
  we've
  got multiple developers using the same workspace
  b/c
  it's a web project.  It doesnt' seem to make sense
  (to
  me) to have each developer use their own
 workspace,
  b/c to see their changes, they'd have to have a
  virt.web server pointing to their workspace, no?
  
  Am I way off the mark here?   
  
  I'm new to the CVS implementation, so I'm open for
  suggestion.  We're developing a web-app using
  JSPs/APACHE/Tomcat and beans.
 
 CVS is horrendous when sharing working directories. 
 I
 think it has something to do with file ownership and
 possibly permissioning.
 
 One can view working directories as virtual
 branches. 
 If one has a working directory per task, one can
 separate each change set from the others.  So, my
 usual advice is to have one separate working
 directory
 for each task or change set (and thereby use a form
 of
 the Branch Per Task Pattern as described at

http://www.enteract.com/~bradapp/acme/branching/patterns.html#BranchPerTask).
 
 Since you're using Apache/Tomcat, it shouldn't be
 too
 difficult for each developer to have their own
 web/app
 servers running and pointing to their own working
 directories.
 
 Going back to reserved locks, the patch has been
 renamed to the more appropriate advisory locks
 since:
 1. It's up to the users to place advisory locks.
 2. Users can override advisory locks.
 
 whereas, IMHO, reserved locks are forced by the
 server
 and cannot be overridden by the user.
 
 HTH,
 Noel
 
 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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



newbie cvs question for windows

2002-05-25 Thread Daniel

I am using Windows 2000 to host cvs as a server. I am also using WinCVS as
the client. Both are working and I can check things in and out. Currently, I
set the server to run with the pserver protocol and the pserver
impersonation.

(1) I understand that pserver is a protocol that transmits the
username/password/data in the clear, but what exactly is pserver
impersonation?

(2) I do not have ntserver or ntserver impersonation checked. If I read the
information correctly (and it's very brief), ntserver protocol only works
with NT/2000 client machines, so that if I use this protocol on the server,
Linux/Unix machines won't be able to access the cvs server. Is this correct?
I also was not clear on whether ntserver encrypts
username/password/transmission of data.

(3) When I use pserver, I need to type in a username and password. Just for
fun, I switched pserver off, and turned on ntserver. On the command line of
the server itself, I tried to login but could not (because that's for
pserver), so I did a checkout without entering username/password. (a) How is
it authenticating me? (b) If I wanted to use the command line from another
machine to connect, what would be the syntax? That is, would I have to
change the CVSROOT variable on the other machine, and if so, to what? (c)
Assuming that the CVSROOT on the other machine does not contain a
username/password, again, how is it authenticating me? Is it looking to see
if I am a Windows user of the server machine?

WINCVS:

(1) In admin, preferences, what does the use version box represent? There
are two options: standard or nt server. Is nt server mean that the cvs
server is using the ntserver protocol? I wasn't sure because my cvs server
was only using pserver and impersonation, and I was still able to do a log
of a file while my wincvs client was set to using ntserver.

What is the best way to encrypt username/password/data while using the cvs
server on Windows and using WinCVS as a client?

Sorry for all the questions.

Thanks in advance.




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



Re: CVS Question ?

2002-05-21 Thread Oliver Fischer

Hi,

you have to lock the branch - if you have one. A tag is not what you
are looking for.

Bye

Oliver

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 16, 2002 4:38 PM
Subject: CVS Question ?



Is there a way to lock a tag so that no one can make
any commits into that tag?

After the release, we need to kind of freez that tag.

Thanx, Sean


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



CVS Question ?

2002-05-20 Thread salai

Is there a way to lock a tag so that no one can make 
any commits into that tag?

After the release, we need to kind of freez that tag.

Thanx, Sean

CVS question

2002-05-05 Thread Paul Lundberg


Hi:

I can't seem to find out how to post a question via a web page.

My question is this: When you commit a change to a CVS repository does CVS
care about the time and date on the client machine? Or does it just time
stame it with the servers time and date?

The reason I ask is this, we are presently using Visual SS which gets very
upset if the time and date is not synchronised with the server. I want to
change over to a different source control system and CVS seems to do the
job. However I cannot find out what commit does with the time and
date.

Paul Lundberg



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



Re: CVS question

2002-04-12 Thread Pierre Asselin

In [EMAIL PROTECTED] =?iso-8859-1?q?Nicolas=20PEZRON?= 
[EMAIL PROTECTED] writes:

I thought that to you use CVS, you had to copy the
source of your first version of your program and
after, you will be able to retrieve all the versions
of your program

More or less.  You clean up your source tree of compiled objects
and other generated files and you import it into CVS.  You can then
delete the sources (!) but most people get a bit nervous at this point
and prefer to tar or zip the tree into an archive before blowing it
away.

You then check out a new copy (sandbox) from CVS and work on it
forevermore, never going close to the original source tree or its
archive.

but, if you want to add a new file to your CVS tree,
do you have to copy first the source of this file in
order to be able to retrieve its versions after ?

Copy it from where?  Normally you will have created the new file
right in the sandbox, since that's where you normally work.  You
do need to tell CVS about the new file with the 'cvs add' command,
but that's about it.  The next time you commit, the first revision
of your new file will be created in the repository.

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



CVS question

2002-04-11 Thread Nicolas PEZRON

Hello,

I am a french student and I have to work on CVS during
my internship
I have a question : 
I thought that to you use CVS, you had to copy the
source of your first version of your program and
after, you will be able to retrieve all the versions
of your program
but, if you want to add a new file to your CVS tree,
do you have to copy first the source of this file in
order to be able to retrieve its versions after ? or
is it not necessary ?
thanks a lot for your answer

Nicolas Pezron.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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



CVS question

2002-03-30 Thread renu kumar

Hello,

I have installed cvs for linux.  Added the CVSROOT and
did the 'cvs init' command.

It created the CVSROOT directory and now I want to
just add a completely new directory to the cvs.  So, I
created a test directory.  When I  try to do 'cvs add
test' I am getting the following error:

cvs add: in directory.:
cvs [add aborted}: there is no version here; do 'cvs
checkout'  first.

So, when I do 'cvs checkout' the I get the following
error:


cvs checkout: cannot find module 'test' -ignored

Please suggest something as to what I am doing wrong. 
Also if its is creating the 'module' then please
suggest how to do that.

Thanks,
Renu Kumar





__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

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



Re: CVS question

2002-03-30 Thread Larry Jones

renu kumar writes:
 
 It created the CVSROOT directory and now I want to
 just add a completely new directory to the cvs.  So, I
 created a test directory.  When I  try to do 'cvs add
 test' I am getting the following error:
 
   cvs add: in directory.:
   cvs [add aborted}: there is no version here; do 'cvs
 checkout'  first.

Please read the manual:

http://www.cvshome.org/docs/manual/cvs_3.html#SEC38

-Larry Jones

I can feel my brain beginning to atrophy already. -- Calvin

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



CVS Question

2001-12-13 Thread heather . lakeman

I receive the following when I try and commit the files I have locked.  I
have tried one at a time and all together.  I have also tried to update
before committing.

Checking in dtmf.c;
/prj/cvs/Firm/dtmf.c,v  --  dtmf.c
cvs server: /prj/cvs/Firm/dtmf.c,v: multiple revisions locked by lp; please
specify one
cvs server: could not check in dtmf.c
cvs server: /prj/cvs/Firm/dtmf.c,v: multiple revisions locked by lp; please
specify one
cvs server: could not unlock /prj/cvs/Firm/dtmf.c,v

*CVS exited normally with code 1*

Any suggestions would be great.  Thanks!


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



sourceforge cvs question

2001-12-12 Thread Koos Jan Niesink

Hello all, 

When I cvs to sourceforge with the following command cvs -z3
-d:ext:[EMAIL PROTECTED]:/cvsroot/terraform co modulename

I can log in, then some messages appear... 
cvs server: Updating project/po
cvs server: Updating project/src

after project/src it stops (there is no possibility to type any commands), does anyone
know how it is possible to delete or modify file after typing that command?

thanks in advance,
Koos Jan Niesink
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs question

2001-05-23 Thread Hem Bapat

I have a question regarding how CVS can be configured to work with multiple
development sites. Let's say there are three development sites in the US,
Russia and India. US site has the source code repository and developers
here have access to all of the source code(C/C++/java). Russians can only
access C++ source code and cannot access C or java source code. Whereas
Indians can only access java source code(checkin checkout etc) and cannot
access C++ or C source code. Is it possible to implement a model like this
using CVS?

Your reply is appreciated.

Thanks,
Hem




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



Re: cvs question

2001-05-23 Thread Rob Helmer

Yes, the simplest way is to create seperate modules with
seperate group permissions.

I know the names below are dumb, they are just for the sake
of example :)

groups :
c
cpp
java

The modules are named c, cpp and java and are read/write/setgid
to their individual group.

US users are members of all three groups, Indian users are a member
of the Java group and Russians are members of the cpp group.



HTH,
Rob Helmer

On Wed, May 23, 2001 at 05:11:10PM -0400, Hem Bapat wrote:
 I have a question regarding how CVS can be configured to work with multiple
 development sites. Let's say there are three development sites in the US,
 Russia and India. US site has the source code repository and developers
 here have access to all of the source code(C/C++/java). Russians can only
 access C++ source code and cannot access C or java source code. Whereas
 Indians can only access java source code(checkin checkout etc) and cannot
 access C++ or C source code. Is it possible to implement a model like this
 using CVS?
 
 Your reply is appreciated.
 
 Thanks,
 Hem
 
 
 
 
 ___
 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



CVS Question..

2001-05-11 Thread Pavan Seth

Here is my situation...

Using CVS under Unix... I have created a scratch
folder. I need to commit in CVS. This scratch folder
is a sub-folder of a important folder (A). Many people
are using A.. but I dont want to give my private
folder scratch which is under (A) to everybody who
does cvs update -d -P under A folder. Only when I do
a cvs update -d -P under A folder , I should be
getting scratch folder.. 

Is there any way to do that..

Ted


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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



Re: CVS Question..

2001-05-11 Thread Larry Jones

Pavan Seth writes:
 
 Using CVS under Unix... I have created a scratch
 folder. I need to commit in CVS. This scratch folder
 is a sub-folder of a important folder (A). Many people
 are using A.. but I dont want to give my private
 folder scratch which is under (A) to everybody who
 does cvs update -d -P under A folder. Only when I do
 a cvs update -d -P under A folder , I should be
 getting scratch folder.. 

Put your scratch directory somewhere in the repository other than
under A -- your working directory hierarchy doesn't have to match the
repository directory hierarchy.

-Larry Jones

I've never seen a sled catch fire before. -- Hobbes

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



CVS Question

2001-03-27 Thread Richard Abbott

Maybe this is a silly question, but is there any way to check out a single
file that is in a module (rather than the whole module)?

- Rich


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



Re: CVS Question

2001-03-27 Thread Szabó Tamás

By specifing the file as a parameter

$cvs co filename

Tamas


Richard Abbott wrote:
 
 Maybe this is a silly question, but is there any way to check out a single
 file that is in a module (rather than the whole module)?
 
 - Rich
 
 ___
 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 Question

2001-03-27 Thread Michael Thiele

Hi Rich,

it is possible.
Try it :-)

cvs co module-name/path/file

cu

Michael



 -Original Message-
 From: Richard Abbott [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 27, 2001 4:31 PM
 To: [EMAIL PROTECTED]
 Subject: CVS Question
 
 
 Maybe this is a silly question, but is there any way to check 
 out a single
 file that is in a module (rather than the whole module)?
 
 - Rich
 

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



Re: CVS Question

2001-03-27 Thread irina sturm

[EMAIL PROTECTED] wrote:
 
 Maybe this is a silly question, but is there any way to check out a single
 file that is in a module (rather than the whole module)?
 
 - Rich
 

cvs co module/file
should do what you want: it creates
directory module with only file in
it. 

However, you might don't want an
extra directory module on top of the
file, and I think (please anybody
correct me if I am wrong) this is
not possible as CVS is based on
directory management.

Irina.


 ___
 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 Question

2001-03-27 Thread Larry Jones

irina sturm writes:
 
 cvs co module/file
 should do what you want: it creates
 directory module with only file in
 it. 
 
 However, you might don't want an
 extra directory module on top of the
 file, and I think (please anybody
 correct me if I am wrong) this is
 not possible as CVS is based on
 directory management.

It's possible by using -d. in the checkout command, but that's usually
not a good ideas since that puts your current directory under CVS
control, which you probably don't want.  It also won't work if your
current directory is already under CVS control.

-Larry Jones

I've got more brains than I know what to do with. -- Calvin

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



Re: CVS Question

2001-03-27 Thread Alexander Kamilewicz

Richard Abbott wrote:
 
 Maybe this is a silly question, but is there any way to check out a single
 file that is in a module (rather than the whole module)?

I believe:

$cvs get -d put_it_here_directory
module/foo/bar/zap/zing/dong/ding/dang/gork.htm

should work.

I hope that helps!

Alex

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



CVS question

2000-12-07 Thread Vinh Pham

Hi,
 For example, if there are 2 persons working on a project.  If one
person add a file or directory, how can the other person know that a new
file or directory is added?  Of course if the second person does an update
(-d) , he or she will get that file/directory but are there any way to know
this before doing the update.

Thank you,

Vinh N. Pham



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



Re: CVS question

2000-12-07 Thread Laird Nelson

Vinh Pham wrote:
 
 Hi,
  For example, if there are 2 persons working on a project.  If one
 person add a file or directory, how can the other person know that a new
 file or directory is added?  Of course if the second person does an update
 (-d) , he or she will get that file/directory but are there any way to know
 this before doing the update.

http://www.cvshome.org/docs/manual/cvs_toc.html

Cheers,
Laird

--
W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED]
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.

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



RE: CVS question

2000-12-07 Thread Vinh Pham


That's a good idea.  Unfortunately, that means we have to get into the
whole cvs watch on/off, cvs edit things.  For me, it maybe OK but most of
my co-workers are not software-oriented.  Adding that level of complexity
may not work well for them.  I've been advising people to use the command
cvs status | grep Need.
However, this doesn't work with newly added file.  Do you have any other
ideas?  I wonder whether adding an additional flag to the status command
would be a good feature to add (if nothing equivalent existed yet.)

Thank you,
Vinh N. Pham



Raghu Nair [EMAIL PROTECTED] on 12/07/2000 03:46:34 PM

To:   Vinh Pham/Fishkill/IBM@IBMUS
cc:
Subject:  RE: CVS question



You can add  cvs watch on files which you are intrestead in.

Raghu K
Software Engineer
Pretzel Logic Sofware Inc.
Cupertino, California
email : [EMAIL PROTECTED]
phone: 408-366-9010 extn 338


-Original Message-
From: Vinh Pham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 12:15 PM
To: [EMAIL PROTECTED]
Subject: CVS question


Hi,
 For example, if there are 2 persons working on a project.  If one
person add a file or directory, how can the other person know that a new
file or directory is added?  Of course if the second person does an update
(-d) , he or she will get that file/directory but are there any way to know
this before doing the update.

Thank you,

Vinh N. Pham



___
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 question

2000-12-07 Thread David H. Thornley



Vinh Pham wrote:
 
 That's a good idea.  Unfortunately, that means we have to get into the
 whole cvs watch on/off, cvs edit things.  For me, it maybe OK but most of
 my co-workers are not software-oriented.  Adding that level of complexity
 may not work well for them.  I've been advising people to use the command
 cvs status | grep Need.
 However, this doesn't work with newly added file.  Do you have any other
 ideas?  I wonder whether adding an additional flag to the status command
 would be a good feature to add (if nothing equivalent existed yet.)
 
This is not exactly intuitive, but the best way I've found
is

cvs -nq update

which lists what would happen if cvs did do an update.  The -n
means "Don't do anything!" and is useful if you are just looking
for the output of a command, and -q suppresses some lines I
don't find useful.

It will list files, one line per file.  If the file begins with
a ?, cvs knows nothing about it (and it isn't in .cvsignore).
If it begins with U, somebody's added it.  If it begins with a
P, somebody's changed it.  If it begins with an M, you changed
it; if somebody has checked in a change, you'll get a message
about the changes being merged.  If it begins with a C, then
your version is incompatible for some reason with the version
in the repository, usually because both you and somebody else
have made conflicting changes.

-- 
David H. Thornley  Software Engineer
at CES International, Inc.:  [EMAIL PROTECTED] or (763)-694-2556
at home: (612)-623-0552 or [EMAIL PROTECTED] or
http://www.visi.com/~thornley/david/

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



Re: Another CVS Question or two.

2000-10-11 Thread Derek R. Price

David Keith wrote:

 I understand how to import, checkout, and commit.  At least I think I
 do.  What is not clear to me is how do you set the version number for a
 given project for the first time?

Don't.  Those version numbers are for CVS internal use and generally vary
greatly between files.  Use tags when you want a way to specify old
releases and branches and the like for an entire project.  There's a whole
section in the manual on version numbers and tags:

http://cvshome.org/docs/manual/cvs_4.html#SEC44

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com )
--
Smash forehead on keyboard to continue.




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



[Info-cvs] Question about a CVS Option

2000-09-20 Thread bk

Hello list,

i like CVS very much, but i have a question i can not solve.
If i take a look at this site: http://www.kernelnotes.de/2/2.2.15-changes.html

there is a (CVS?) listing of the linux kernel like this:

net/irda/irttp.c  |  543 -
 net/irda/parameters.c |  577 +
 net/irda/qos.c|  748 +
 net/irda/timer.c  |  148
 net/irda/wrapper.c|  260
 net/packet/af_packet.c|2
 net/socket.c  |2
 net/sunrpc/sched.c|   11
 net/sunrpc/svcauth.c  |8
 net/unix/af_unix.c|4
 net/wanrouter/wanmain.c   |2
 net/x25/af_x25.c  |6
 net/x25/x25_link.c|9
 scripts/Menuconfig|2

 800 files changed, 102682 insertions, 38952 deletions


 I want to make exactly such a list, it is very important to me. Can
 this list be made with a cvs option or a tool, if so, what do i need?

 I really would be pleased for any infos.


-- 
Best regards,
 bk  mailto:[EMAIL PROTECTED]


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



Re: CVS question (fwd)

2000-08-10 Thread Archie Cobbs

Hello,

I didn't see a bug submission form on http://www.cvshome.org so
hopefully it's OK to report a bug here.

Apologies if this is inappropriate or already known/old news.

The problem is described in the email dialogue below. In short,
CVS expects that an imported file will have identical dates
set on revisions 1.1 and 1.1.1.1, but apparently in actuality
it doesn't guarantee this at import time.

Thanks,
-Archie

P.S. Please CC: me as I'm not on this email list

- Forwarded message from John Polstra -

From [EMAIL PROTECTED] Wed Aug  9 08:56:52 2000
Delivered-To: [EMAIL PROTECTED]
From: John Polstra [EMAIL PROTECTED]
Date: Wed, 9 Aug 2000 08:54:58 -0700 (PDT)
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: CVS question
In-Reply-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
Organization: Polstra  Co., Seattle, WA
Sender: [EMAIL PROTECTED]
X-Loop: FreeBSD.ORG
Precedence: bulk
Content-Length:  2611

In article [EMAIL PROTECTED],
Archie Cobbs  [EMAIL PROTECTED] wrote:
 Consider this source file:
 
   http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/xntpd/lib/Attic/ranny.c
 
 Question: what version should this command checkout?
 
   $ cvs co -D 'January 18, 1999 0:00' freebsd/src/usr.sbin/xntpd/lib/ranny.c
 
 Perhaps version 1.1.1.2 would be correct, but instead you get 1.1.

CVS is really screwy in this area.  I remember I had to add some
special cases to CVSup long ago to try to mimic CVS's behavior in
odd cases.

 It seems CVS is being inconsistent:

 - If you had done a 'head' checkout on that date you would have
 gotten 1.1.1.2

That makes sense, because on that date the file had not yet left the
vendor branch, and its default branch attribute still pointed to the
vendor branch.

 - If you later do a 'head' checkout, and specify that date, you get 1.1

CVS has a heuristic that does the wrong thing for this particular
file.  The code is around line 3252 of src/contrib/cvs/src/rcs.c in
the function RCS_getdate():

if (! STREQ (cur_rev, "1.1"))
return (xstrdup (cur_rev));
   
/* This is 1.1;  if the date of 1.1 is not the same as that for the
   1.1.1.1 version, then return 1.1.  This happens when the first
   version of a file is created by a regular cvs add and commit,
   and there is a subsequent cvs import of the same file.  */
p = findnode (rcs-versions, "1.1.1.1");
if (p)
{
vers = (RCSVers *) p-data;
if (RCS_datecmp (vers-date, date) != 0)
return xstrdup ("1.1");
}

It compares the dates on the theory that an import will set
identical dates in revisions 1.1 and 1.1.1.1.  But in the file you
mentioned, they are off by 1 second.  So CVS doesn't recognize it as
an import.

revision 1.1
date: 1993/12/21 18:36:22;  author: wollman;  state: Exp;

revision 1.1.1.1
date: 1993/12/21 18:36:23;  author: wollman;  state: Exp;  lines: +0 -0

Probably the import straddled the seconds boundary.  I hope current
versions of CVS force the dates to be the same on an import.  I
haven't checked to see whether that's the case or not.

John
-- 
  John Polstra   [EMAIL PROTECTED]
  John D. Polstra  Co., Inc.Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

- End of forwarded message from John Polstra -
___
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com




Re: CVS question

2000-04-13 Thread Donald Sharp


Read the manual.  Specifically section 12 keyword substitution.
Starting on page 73.  The manual should come with your version 
of cvs.

donald
On Thu, Apr 13, 2000 at 11:40:34AM -0600, David A. Hite wrote:
 Hi,
 
 I'm using CVS and I can't find any info on making CVS automatically
 update my source files. I have seen a few examples but would like a full
 list of available options.
 
 Here's the examples I've seen:
 
 // Version: $Revision: $
 // Version Date:$Date: $
 
 If you can help me or send me to some web pages that have this info I
 would appreciate it.
 
 Thanks,
 -Dave-
 




RE: CVS Question

2000-03-21 Thread Chris Cameron

On Wednesday, March 22, 2000 6:40 AM, Russell A Hoffman 
[SMTP:[EMAIL PROTECTED]] wrote:
 Hi, I was wondering if anyone could help me out with a CVS question I 
had?
 Well, what I'm trying to do is manage a fairly large website using CVS.
 I've managed to successfully import and test checking it out (can you 
tell
 I'm a newbie? :), but now I'm wondering what to do to keep the original
 website files up to date.  For instance, the repository is in
 /cvsroot/html, and the original files are in /home/httpd/html, and I'm
 wondering how to keep the original files "in-sync" with the cvs (updated)
 version?  I'm probably not wording it right, or not explaining it
 correctly, but I'm just hoping someone out there will be able to decipher
 what I'm trying to say, and let me know if/how this can be done ;)

This is described by cederqvist in the loginfo section.  I posted the 
excerpt from our loginfo file that does this job last week (from memory).


***
Chris CameronOpen Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]   P.O.Box 10-388
  +64 4 495 8403 (DDI)  The Terrace
fax:  +64 4 495 8419 Wellington
cell: +64 21 650 680New Zealand
Life, don't talk to me about life (Marvin - HHGTTG)





Re: CVS Question

2000-03-21 Thread |}avid (opeland

This will only work if your repository is on the same machine as your webserver
and if your webserver is only one one machine.

For something more flexible, you essentially have to have a cronjob do periodic
cvs updates.

One of our projects does this.  The website is huge and changes are pushed live
4 times a day.  If changes aren't made by the time of an update, they have to
wait until the next one.

What turned out to be more of a problem is making sure files get comitted,
added, and deleted as necessary where people are editing.  Typical HTML person
doesn't know UNIX and can't understand how CVS works and typically gets
confused due to CVSs cryptic error messages and subtle behavior (no slight on
CVS; it's a programmer's tool).  We built a web interface that abstracts CVS's
necessities away from the HTML person.


Dave

On Wed, Mar 22, 2000 at 10:46:27AM +1200, Chris Cameron wrote:
 On Wednesday, March 22, 2000 6:40 AM, Russell A Hoffman 
 [SMTP:[EMAIL PROTECTED]] wrote:
  Hi, I was wondering if anyone could help me out with a CVS question I 
 had?
  Well, what I'm trying to do is manage a fairly large website using CVS.
  I've managed to successfully import and test checking it out (can you 
 tell
  I'm a newbie? :), but now I'm wondering what to do to keep the original
  website files up to date.  For instance, the repository is in
  /cvsroot/html, and the original files are in /home/httpd/html, and I'm
  wondering how to keep the original files "in-sync" with the cvs (updated)
  version?  I'm probably not wording it right, or not explaining it
  correctly, but I'm just hoping someone out there will be able to decipher
  what I'm trying to say, and let me know if/how this can be done ;)
 
 This is described by cederqvist in the loginfo section.  I posted the 
 excerpt from our loginfo file that does this job last week (from memory).
 
 
 ***
 Chris CameronOpen Telecommunications NZ Ltd
 Software Development Team Leader
 [EMAIL PROTECTED]   P.O.Box 10-388
   +64 4 495 8403 (DDI)  The Terrace
 fax:  +64 4 495 8419 Wellington
 cell: +64 21 650 680New Zealand
 Life, don't talk to me about life (Marvin - HHGTTG)
 
 

-- 
David Copeland
Software Engineering Director
NOVO
Relationship Architects for e-Business

Voice 415 646 7026 | Fax 415 646 7001
http://www.novocorp.com