How can an Unix CVS client access a CVSNT Server?

2001-11-29 Thread pansz


I'm sorry to post the message again, but I really need help about some
problem with CVS,

I found that an Unix CVS Client can't access a WinNT CVS server.
because WinNT CVS server's CVSROOT is somewhat like
:pserver:pansz@sdcver:e:/cvs
where you must specify the absolute path as "e:/cvs"
but in a Unix CVS Client you must begin the repository path with '/', like
:pserver:pansz@sdcver:/local/cvs
or CVS will treat "e:" as an illegal port number.
I've tried to modify "client.c" and "root.c", but in vain. Maybe I haven't
understand the program.

who can help me about modifing the CVS Unix Client to connect to a WinNT CVS
server? or there's other way to specify the connection parameter?

I really need to use the server in WinNT, so if someone can help me on
this, I'll be appreciated.



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



Your fortune of the week

2001-11-29 Thread Anne Collins
Title: : Your Weekly Fortune is Here. : 12ji.com :






  
 
  
 
  
  

 
  
   

  
  


   
 

FREE Weekly Fortune Delivery

 
NEW Oriental Philosophy Service

 
SIMPLE & EASY Registration

  




   
To learn more about 12ji, please visit 12ji.com
  12ji.com Management Team
  Email: [EMAIL PROTECTED]
  

  

 
   
   
 
  Click here 
if you prefer not to receive future email from 12ji.com.
Copyright ©2001 Interwiz. All 
rights reserved.



  

  

  





RE: How do you get a log between tag1 and tag2 on a branch?

2001-11-29 Thread Jerry Nairn


> From: Tim Kemp [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 3:35 AM

> Does anyone know of a way of getting all the log messages for a module
> between tag1 and tag2 on branch1

Assuming both tag1 and tag2 are on branch1, won't

cvs log -rtag1:tag2 module

or rather

cvs rlog -rtag1:tag2 module

do it?

Jerry

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



RE: CVS commitinfo trigger question

2001-11-29 Thread Shubhabrata Sengupta









I get the branch information out by
parsing the CVS/Entries file on the server side. Though it exposes me to the
innards of the Entries file, I don’t think the format will change from
one release of CVS to the other. So, I am okay with the risk that entails.

 

Shubho

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Bill
Buie
Sent: Thursday, November 29, 2001
11:11 PM
To: [EMAIL PROTECTED]
Subject: CVS commitinfo trigger
question

 



So far I have not found anyone who can answer the
question below.  If you can answer the question, I would greatly
appreciate it, or if you can't then I would also appreciate a pointer to
someone who could.





 





I want to use a commitinfo trigger that will require a
script of my design to complete with zero status before permitting checkins to
certain branches.  The most obvious way to tell what branch a file is
being committed to would be with the cvs status subcommand, but I have run into
a catch.  The cvs commit subcommand locks the repository such that the
commitinfo script hangs when it tried to invoke the cvs status subcommand.





 





I have found a way to do this which I don't like:
modify the source on the client and the server such that the sticky tag and
version is passed on the command line to the script invoked by
commitinfo.  However, I would much prefer to use unmodified CVS with its
standard protocol for communications between client & server and
permit my users some flexibility with regards to their favorite CVS
client.  Note that I explicitly want the script to run on the server,
which will be running Linux, and not the client, which may be running
Linux or Windows.
 
Surely I am not the only CVS user to attempt this. What is the standard
way of doing it?





Thanks very much,





 





    --Bill










Re: question about Permission denied

2001-11-29 Thread Larry Jones

Deaver, Carl writes:
> 
> cvs -z9 checkout -P rmcqh (in directory C:\ccc)
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs [server aborted]: can't chdir(/root): Permission denied

Either you forgot the -f global option in /etc/inetd.conf or you've got
a defective inetd and you're not running the latest release of CVS
(1.11.1p1), which you can get from , should you
need it.

-Larry Jones

But Mom, frogs are our FRIENDS! -- Calvin

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



Re: cvs admin -k ??

2001-11-29 Thread Larry Jones

Moises Zanabria writes:
> 
> Larry attachment is the CVS_CLIENT_LOG.in and CVS_CLIENT_LOG.out, I not have 
> configurated the ~/.cvsrc, is this file necessary ?.

Hmmm, everything looks fine, I can't imagine why you're having a
problem.  What version of CVS is the server?  (If your client is
reasonably recent, you can do "cvs version" to find out.  If that
doesn't work, you'll have to logon to the server and do "cvs -v".)

-Larry Jones

Oh, now YOU'RE going to start in on me TOO, huh? -- Calvin

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



Re: nonmergeable file needs merge

2001-11-29 Thread Larry Jones

David Everly writes:
> 
> So I tried:
> 
> * -k 'b' -m 'MERGE'
> 
> However, the problem still happens...possibly because all the files
> were checked in on the earlier configuration.

Binary mode forces nomerge.  As you already discovered, the correct way
to do this is to use -ko.

-Larry Jones

Isn't it sad how some people's grip on their lives is so precarious
that they'll embrace any preposterous delusion rather than face an
occasional bleak truth? -- Calvin

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



Re: question about cvsignore

2001-11-29 Thread Larry Jones

[EMAIL PROTECTED] writes:
> 
> currently, my $CVSROOT/CVSROOT dir does not contains a cvsignore file.  Is
> it sufficient to simply create the file in the directory,
> or do I need to checkout CVSROOT, and 'cvs add' the cvsignore file?

Simply creating the file is sufficient, but checkout and add is more
correct.

> Also, will listing directory names in cvsignore work?  ie, can I put
> 'debug' and 'release' in cvsignore, to ignore my build directories?

Maybe -- try it and see.

-Larry Jones

I told her to expect you to deny everything. -- Calvin

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



RE: Safe Repository Backup

2001-11-29 Thread Chris Knight

Howdy,

Have a look at cvsup at http://www.polstra.com/projects/freeware/CVSup/. The
FreeBSD project uses it for worldwide mirroring of their CVS repositories.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Alex Rodelius
> Sent: Friday, 30 November 2001 17:56
> To: [EMAIL PROTECTED]
> Subject: Safe Repository Backup
>
>
> Hello,
> I need to back up/mirror a CVS repository to a diffrent server.
> Can anybody recommend a standard way for doing this or will I have to
> write my own scripts?
> I thought about using rsync, but there is the problem that the CVS
> must be in a consistent state (ie nobody commiting) during
> the copy process.
>
> Thank you
>
> ___
> 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



dirq v1.0-beta is available

2001-11-29 Thread Paul Sander

Sorry for the off-topic posting, but as CVS admins are often interested
in storage management issues, this could be of use to many of you.

The dirq package provides a couple of tools that help with storage
management by implementing queues of directories.  Directories may also
have state assigned to them, and some of their state values can implement
measures of quality (e.g. build is good/bad, test passed/failed/n-a).
When queues fill, the quality of each directory is assessed based on its
state, and the "worst" directory is removed to make room for new ones.
Directories may also be preserved (i.e. made immune from removal via the
normal mechanism).

In addition to the usual queueing operations, the package provides tools
to query and modify the state of individual directories, and to query the
state of the queue as a whole.  A locking mechanism minimizes race
conditions due to concurrent updates.  The package is also general and open
enough to be incorporated into larger systems.

The package is available at http://www.wakawaka.com/source.html and
feedback is welcome.

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



Safe Repository Backup

2001-11-29 Thread Alex Rodelius

Hello,
I need to back up/mirror a CVS repository to a diffrent server.
Can anybody recommend a standard way for doing this or will I have to
write my own scripts?
I thought about using rsync, but there is the problem that the CVS
must be in a consistent state (ie nobody commiting) during the copy process.

Thank you

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



question about Permission denied

2001-11-29 Thread Deaver, Carl

I was able to import module and I see that the files are in there, but when
I try to check out module I get:

cvs -z9 checkout -P rmcqh (in directory C:\ccc)
cvs server: cannot open /root/.cvsignore: Permission denied
cvs [server aborted]: can't chdir(/root): Permission denied

I'm lost, I do not see where my permission problem exists?
can someone help point me to where this problem is?

Carl


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



How to bring a branch back on a file when the tag has been moved

2001-11-29 Thread Prabhu Ram (InfoSpace Inc)
Title: How to bring a branch back on a file when the tag has been moved





Hi,
We have a branch on which dev. was taking place and someone accidentally moved the tag (which is also the branch name) to the tip of the branch.  Is there a "nice" way of setting the branch back to the branch point ?  I managed to do the right thing by going to the RCS file but I would rather not.

Some more details:
Before mess up:
 foo.c (1.1) -> BRANCH_NEW
  |    |
  |   V
  |  1.1.2.1
  |    |
  |   V
    1.1.2.2


After mess up:
 foo.c ->    1.1
  |    |
  |   V
  |  1.1.2.1
  |    |
  |   V
  |  1.1.2.2 (BRANCH_NEW)


Question is how to get back to before the mess up ?  Thanks in anticipation of the response.
-Prabhu
[EMAIL PROTECTED]





NewbeeQ: WinCVS & CVS server on Red Hat 7.2 box

2001-11-29 Thread Sigurður Reynisson

Hi!

I'm new to CVS/WinCVS so pls bear with me ;)

I keep getting the "classic" (*blush*)
"Cannot access /home/cvsroot/CVSROOT
Permission denied"
from WinCVS when I log in with a regular user id
and try to do an Import or a Checkout.

When I log in as cvsroot all is well, ie. I can Import,
Checkout and Commit.

"cvs init" runs without any errors.

My setup is:

- WinCVS 1.2/Netbeans 3.2.1 on Win2k

- CVS (1.11.1p1) on Red Hat 7.2 (xinetd)
  (out of the box install)

- CVSHOME=/home/cvsroot (put that in manually)

- output from "ll -las" in CVSHOME
total 16
   4 drwx--4 cvsroot  cvsroot  4096 Nov 29 22:44 .
   4 drwxr-xr-x8 root root 4096 Nov 29 21:26 ..
   0 -rw-r--r--1 cvsroot  cvs 0 Nov 29 22:17 .cvspass
   4 drwxrwxr-x3 root root 4096 Nov 29 22:36 CVSROOT
   4 drwxrwxr-x7 cvsroot  cvs  4096 Nov 29 22:44 examples

I have tried to set "chown cvsroot.cvs -R CVSROOT" with same results.
Also tried running "cvs init" as reguser and cvsroot.

- reguser is linked to cvs as (this I did manually using vim):
passwd entry:cvsroot:x:505:198::/home/cvsroot:/bin/bash
group  entry:cvs:x:198:cvsroot,reguser
 cvsroot:x:505:

(cvsroot is a user and cvs a group, no user defined for cvs that is)
and I've tried to define groups for the modules (groupname=modulename)
and put cvsroot and reguser in them.

When I start WinCVS I get:
CVSROOT: cvsroot@server:/home/cvsroot (password authentication)
is that correct? (I'm using authentication: "passwd" file on
the cvs server, I did "touch .cvspass" in CVSHOME)

- cat /etc/xinetd.d/cvspserver:
service cvspserver
{
socket_type =   stream
protocol=   tcp
wait=   no
user=   root
server  =   /usr/bin/env
server_args =   -i cvs -f --allow-root=/home/cvsroot pserver
}

This cvspserver file is "out of the box". If I skip the "-i cvs" the server
does not listen on the cvs port.

I can telnet cvs port (as in the trouble shooter), besides, I can login
both as reguser and cvsroot.

I tried to set the HOME variable in /etc/rc.d/init.d/xinetd to /, but
xinetd seems to handle this, the start section contains:
export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC
LC_MONETARY LC_COLLATE
unset HOME MAIL USER USERNAME

I've read lot's in the mail archive, cvs faq, trouble shooter etc,
all to no avail. I must be overlooking something very simple here,
I'm beginning to feel...

Do I just use cvsroot for everything?

Am I not supposed to use regular Linux users with CVS?

Any hints or help welcome pls, Thx.

I now this is your typical FAQ material, but I've had
no luck with it. Sorry for bugging you with this!
--
sr

[EMAIL PROTECTED]
remove all three x's for email



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



Re: nonmergeable file needs merge

2001-11-29 Thread David Everly

Thanks...this fixed it...

On Thu, Nov 29, 2001 at 04:12:05PM -0800, Paul Sander wrote:
> Have you looked into using -ko for this purpose?
> 
> --- Forwarded mail from [EMAIL PROTECTED]
> 
> By the way, the reason I'm using -k 'b' is so that there is no
> substitutionbut these should be all mergeable text files.
> 
> --- End of forwarded message from [EMAIL PROTECTED]
> 

-- 
[EMAIL PROTECTED]
V-Net:   622-3286
Phone: 1-719-535-3286
Pager: 1-800-724-3624 # 140-1311

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



Re: nonmergeable file needs merge

2001-11-29 Thread Paul Sander

Have you looked into using -ko for this purpose?

--- Forwarded mail from [EMAIL PROTECTED]

By the way, the reason I'm using -k 'b' is so that there is no
substitutionbut these should be all mergeable text files.

--- End of forwarded message from [EMAIL PROTECTED]


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



Re: cvs admin -k ??

2001-11-29 Thread Moises Zanabria

Larry attachment is the CVS_CLIENT_LOG.in and CVS_CLIENT_LOG.out, I not have 
configurated the ~/.cvsrc, is this file necessary ?.

Thanks for your help
Moises.

>From: [EMAIL PROTECTED] (Larry Jones)
>To: [EMAIL PROTECTED] (Moises Zanabria)
>CC: [EMAIL PROTECTED]
>Subject: Re: cvs admin -k ??
>Date: Thu, 29 Nov 2001 13:48:14 -0500 (EST)
>
>Moises Zanabria writes:
> >
> > thanks Larry, actually I tried to execute "cvs admin -kb" to change a 
>file
> > to binary, but I get the below error.
>
>The code works correctly -- if you're getting that error, you must be
>specifying some option in addition to -k.  Did you check your ~/.cvsrc
>file?  Please try running the command with CVS_CLIENT_LOG defined and
>post the contents of the .in file.
>
>-Larry Jones
>
>Apparently I was misinformed. -- Calvin


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Root /home/p4cvs/src
Valid-responses ok error Valid-requests Checked-in New-entry Checksum 
Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode 
Mod-time Removed Remove-entry Set-static-directory Clear-static-directory 
Set-sticky Clear-sticky Template Set-checkin-prog Set-update-prog Notified 
Module-expansion Wrapper-rcsOption M Mbinary E F MT
valid-requests
UseUnchanged
Case
Argument -kb
Directory .
/home/p4cvs/src/backends/mlm/docs/kmmap
Entry /ks_backend_class.gif/1.5//-kb/
Unchanged ks_backend_class.gif
Argument ks_backend_class.gif
admin




CVS_CLIENT_LOG.out
Description: Binary data


nonmergeable file needs merge

2001-11-29 Thread David Everly

My cvswrappers has:

* -k 'b'

Then I started getting cvs update: nonmergeable file needs merge.

So I tried:

* -k 'b' -m 'MERGE'

However, the problem still happens...possibly because all the files
were checked in on the earlier configuration.

What is the setting I really want here, and how do I make sure
everything in my repsitory now has it?

Thanks,
Dave.

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



question about cvsignore

2001-11-29 Thread prhodes

Regarding cvsignore the Cederqvist manual says

 "The per-repository list in `$CVSROOT/CVSROOT/cvsignore' is appended to
the list, if that file exists."

currently, my $CVSROOT/CVSROOT dir does not contains a cvsignore file.  Is
it sufficient to simply create the file in the directory,
or do I need to checkout CVSROOT, and 'cvs add' the cvsignore file?

Also, will listing directory names in cvsignore work?  ie, can I put
'debug' and 'release' in cvsignore, to ignore my build directories?

Thanks in advance

Phillip Rhodes
Application Designer
Voice Data Solutions
919-571-4300 x225
[EMAIL PROTECTED]

America is at war with Afghanistan.  America has always been at war with
Afghanistan.  Russia is our ally.  Russia has always been our ally.

Read Orwell's 1984.  Read a newspaper.  Fear the future.

The history of liberty is a history of resistance. The history of liberty
is a history of limitations of governmental power, not the increase of it.
- Woodrow Wilson Speech in New York, September 9, 1912

Those who are willing to sacrifice essential liberties for a little order,
will lose both and deserve neither. - Benjamin Franklin



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



Re: nonmergeable file needs merge

2001-11-29 Thread David Everly

By the way, the reason I'm using -k 'b' is so that there is no
substitutionbut these should be all mergeable text files.

On Thu, Nov 29, 2001 at 04:12:18PM -0700, David Everly wrote:
> My cvswrappers has:
> 
> * -k 'b'
> 
> Then I started getting cvs update: nonmergeable file needs merge.
> 
> So I tried:
> 
> * -k 'b' -m 'MERGE'
> 
> However, the problem still happens...possibly because all the files
> were checked in on the earlier configuration.
> 
> What is the setting I really want here, and how do I make sure
> everything in my repsitory now has it?
> 
> Thanks,
> Dave.

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



Re: commit answers with cvs commit: authorization failed: server xyz rejected access to /home/cvsroot for user manfred

2001-11-29 Thread Larry Jones

Manfred =?iso-8859-1?q?Jan=DFen?= writes:
> 
> I can import files to the projekt, I can checkout files, but its impossible 
> for me to commit files.
> I have two files, passwd and writers where everything seems ok.
> But what can I do else to bring it to work??

You could try telling us exactly what you do and exactly what CVS does
in response.  You could also tell us what platform you're running on,
whether you're using a local repository or client/server, and what
release(s) of CVS you're running.  "Doesn't work" isn't very much to go
on.

-Larry Jones

Rats.  I can't tell my gum from my Silly Putty. -- Calvin

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



commit answers with cvs commit: authorization failed: server xyz rejected access to /home/cvsroot for user manfred

2001-11-29 Thread Manfred Janßen

Hi,

now I tried for three days to bring CVS to work;-((

I can import files to the projekt, I can checkout files, but its impossible 
for me to commit files.
I have two files, passwd and writers where everything seems ok.
But what can I do else to bring it to work??

Best regards
-- 
___
Manfred Janßen



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



Re: who merges? cvs client or server?

2001-11-29 Thread Larry Jones

jak writes:
> 
> In a client/server cvs setup, which portion actually performs the
> merge? Specifically for cvs update -j A -j B.

The server.  Essentially all of the real work is done by the server when
running client/server.

-Larry Jones

Geez, I gotta have a REASON for everything? -- Calvin

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



minimizing merge conflicts

2001-11-29 Thread jak

Is anyone aware of an open source tool that can reformat C++ source
per some definable standard? Ideally, this could be something executed
by make as part of the build process.

I work on a multideveloper team and invariably code gets reformatted
as developers are using different editors or simply like to move
things around whenever they get into a file. My assumption is that
this will make cvs' work more complicated when merging resulting in it
reporting a conflict when there really isn't one. Admittedly, I
haven't actually seen this happen yet, but believe that it was alluded
to as a possibility in this news group. 

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



who merges? cvs client or server?

2001-11-29 Thread jak

In a client/server cvs setup, which portion actually performs the
merge? Specifically for cvs update -j A -j B.

The basis for this question is that working through the news group,
I've noticed that 1.11 and earlier versions of cvs have a couple of
merge bugs. Additionally, I've a very large merge to perform from head
to a development branch and obviously need that to go as smoothly as
possible. Unfortunately, our cvs server is 1.10 vintage and upgrading
it may take a couple of weeks at least (lrg co.) and I need to merge
before then. 

My hope is that the merge takes place in the client in which case I
could use the latest client and move on. Or am I off base completely?

Thanks for any info,

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



[±¤°í]°¡Àå Àú·ÅÇÑ Ç×°ø±ÇÀº Ç×°ø±Ç°æ¸Å¸¦ ÀÌ¿ëÇϼ¼¿ä....

2001-11-29 Thread ÁÖ
Title: ¡Ø ÀÌ ¸ÞÀÏÀº °Ô½ÃÆÇ¿¡¼­ ÀÓÀÇ·Î »ÌÀº °ÍÀÌ¿À´Ï,À̸ÞÀÏ ÀÌ¿Ü´Â ¾î¶°ÇÑ °³ÀÎÀÚ·áµµ ¾ËÁö ¸ø













  ¡Ø ÀÌ ¸ÞÀÏÀº °Ô½ÃÆÇ¿¡¼­ ÀÓÀÇ·Î »ÌÀº °ÍÀÌ¿À´Ï,À̸ÞÀÏ ÀÌ¿Ü´Â ¾î¶°ÇÑ °³ÀÎÀÚ·áµµ ¾ËÁö ¸øÇÕ´Ï´Ù.ÀÓÀÇÀûÀ¸·Î ó¸®ÇÑ ¸ÞÀÏ¿¡ ´ëÇؼ­´Â 
¼ö½Å°ÅºÎÇÏ¿© ÁÖ½Ã¸é ¸ÞÀÏÀ» ¹ß¼ÛÇÏÁö ¾Êµµ·ÏÇÏ°Ú½À´Ï´Ù. 


¢Ñ ¼ö½Å°ÅºÎ 




 




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


RE: CVS commitinfo trigger question

2001-11-29 Thread Andy Baker

cvs -n status works fine in my commitinfo script. Are you running the latest
version of CVS?

-Original Message-
From: Bill Buie [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 17:41
To: [EMAIL PROTECTED]
Subject: CVS commitinfo trigger question


So far I have not found anyone who can answer the question below.  If you
can answer the question, I would greatly appreciate it, or if you can't then
I would also appreciate a pointer to someone who could.
 
I want to use a commitinfo trigger that will require a script of my design
to complete with zero status before permitting checkins to certain branches.
The most obvious way to tell what branch a file is being committed to would
be with the cvs status subcommand, but I have run into a catch.  The cvs
commit subcommand locks the repository such that the commitinfo script hangs
when it tried to invoke the cvs status subcommand.
 
I have found a way to do this which I don't like: modify the source on the
client and the server such that the sticky tag and version is passed on the
command line to the script invoked by commitinfo.  However, I would much
prefer to use unmodified CVS with its standard protocol for communications
between client & server and permit my users some flexibility with regards to
their favorite CVS client.  Note that I explicitly want the script to run on
the server, which will be running Linux, and not the client, which may be
running Linux or Windows.
 
Surely I am not the only CVS user to attempt this. What is the standard way
of doing it?

Thanks very much,

--Bill



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



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



Re: cvs admin -k ??

2001-11-29 Thread Larry Jones

Moises Zanabria writes:
> 
> thanks Larry, actually I tried to execute "cvs admin -kb" to change a file 
> to binary, but I get the below error.

The code works correctly -- if you're getting that error, you must be
specifying some option in addition to -k.  Did you check your ~/.cvsrc
file?  Please try running the command with CVS_CLIENT_LOG defined and
post the contents of the .in file. 

-Larry Jones

Apparently I was misinformed. -- Calvin

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



CVS commitinfo trigger question

2001-11-29 Thread Bill Buie



So far I have not found anyone who can answer the question below.  If 
you can answer the question, I would greatly appreciate it, or if you can't then 
I would also appreciate a pointer to someone who could.
 
I want to use a commitinfo trigger that will require a script of my design 
to complete with zero status before permitting checkins to certain 
branches.  The most obvious way to tell what branch a file is being 
committed to would be with the cvs status subcommand, but I have run into a 
catch.  The cvs commit subcommand locks the repository such that the 
commitinfo script hangs when it tried to invoke the cvs status subcommand.
 
I have found a way to do this which I don't like: modify the source on the 
client and the server such that the sticky tag and version is passed on the 
command line to the script invoked by commitinfo.  However, I would much 
prefer to use unmodified CVS with its standard protocol for communications 
between client & server and permit my users some flexibility with 
regards to their favorite CVS client.  Note that I explicitly want the 
script to run on the server, which will be running Linux, and not the client, 
which may be running Linux or Windows. Surely I am not the 
only CVS user to attempt this. What is the standard way of doing 
it?
Thanks very much,
 
    --Bill


Re: cvs admin -k ??

2001-11-29 Thread Moises Zanabria

thanks Larry, actually I tried to execute "cvs admin -kb" to change a file 
to binary, but I get the below error.
Moises


>From: [EMAIL PROTECTED] (Larry Jones)
>To: [EMAIL PROTECTED] (Moises Zanabria)
>CC: [EMAIL PROTECTED]
>Subject: Re: cvs admin -k ??
>Date: Thu, 29 Nov 2001 11:47:01 -0500 (EST)
>
>Moises Zanabria writes:
> >
> > But if I try to use the "cvs admin -k" command on a file in the XXX
> > repository,I get the error message:
> >
> > cvs [server aborted]: usage is restricted to members of the group 
>cvsadmin
>
>The special dispensation only applies if there are no options other than
>-k.  You must be specifying some other option in addition to -k (perhaps
>in ~/.cvsrc).
>
>-Larry Jones
>
>All this was funny until she did the same thing to me. -- Calvin


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



Re: How do you get a log between tag1 and tag2 on a branch?

2001-11-29 Thread Paul Sander

I don't know of a way to do it with the CVS command line, other than to
parse the output of "cvs log".  But if you have a list of RCS files and
direct access to the repository then you could use rinfo to get the
commit commentary for a range of versions within each file, then use
lmerge to eliminate duplicated text.

Both programs are available at http://www.wakawaka.com/source.html

>--- Forwarded mail from [EMAIL PROTECTED]

>Does anyone know of a way of getting all the log messages for a module
>between tag1 and tag2 on branch1

>--- End of forwarded message from [EMAIL PROTECTED]


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



Re: Red Hat 7.2

2001-11-29 Thread Larry Jones

Chris Hall writes:
> 
> Previously I have set up CVS on older versions of Red Hat, but I'm
> having trouble with version 7.2 and the new xinetd settings.

>From the current development version of the manual:


If your system uses xinetd instead of inetd, the procedure is slightly
different.  Create a file called '/etc/xinetd.d/cvspserver' containing
the following:

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

(If cvspserver is defined in '/etc/services', you can omit the port
line.)

-Larry Jones

What a waste to be going to school on a morning like this. -- Calvin

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



Re: cvs admin -k ??

2001-11-29 Thread Larry Jones

Moises Zanabria writes:
> 
> But if I try to use the "cvs admin -k" command on a file in the XXX 
> repository,I get the error message:
> 
> cvs [server aborted]: usage is restricted to members of the group cvsadmin

The special dispensation only applies if there are no options other than
-k.  You must be specifying some other option in addition to -k (perhaps
in ~/.cvsrc).

-Larry Jones

All this was funny until she did the same thing to me. -- Calvin

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



cvs admin -k ??

2001-11-29 Thread Moises Zanabria

Hi Guys:

According to the CVS manual:
"On unix, if there is a group named cvsadmin, only members of that group can 
run cvs admin (except for the cvs admin -k command, which can be run by 
anybody). This group should exist on the server, or any system running the 
non-client/server CVS. To disallow cvs admin for all users, create a group 
with no users in it. On NT, the cvsadmin feature does not exist and all 
users can run cvs admin."

But if I try to use the "cvs admin -k" command on a file in the XXX 
repository,I get the error message:

cvs [server aborted]: usage is restricted to members of the group cvsadmin

If I check the membership of the group cvsadmin, I find that it does in fact 
have users in it. So it appears that the CVS manual is wrong , or 
there's something else a foot.

Is there a way to restrict access to cvs admin in general, but still allow 
all developers to modify the keyword substitution mode?

Thanks.
Moises.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



Red Hat 7.2

2001-11-29 Thread Chris Hall

Hi (I just joined the list).

Previously I have set up CVS on older versions of Red Hat, but I'm
having trouble with version 7.2 and the new xinetd settings.

Has anyone done this and if so can you help shed some light on this for
me?


Thanks.

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



Re: Command line tool for CVS under win NT?

2001-11-29 Thread Lee Sau Dan

> "Michael" == Michael Großer <[EMAIL PROTECTED]> writes:

Michael> I don't have a command shell. I need a "cvs.exe" or
Michael> similar, but I do not fint such tool in the internet. Who
Michael> knows a source where I can get such tool for windows NT?

It  comes  with WinCVS,  and  I suppose  WinCVS  uses  cvs.exe as  the
backend.


-- 
Lee Sau Dan 李守敦(Big5)~{@nJX6X~}(HZ) 

E-mail: [EMAIL PROTECTED]
Home page: http://www.informatik.uni-freiburg.de/~danlee
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



How do you get a log between tag1 and tag2 on a branch?

2001-11-29 Thread Tim Kemp

Does anyone know of a way of getting all the log messages for a module
between tag1 and tag2 on branch1

Thanks

Tim

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



RE: CVS Checkout problem

2001-11-29 Thread Seamus Donohue

Larry,
thanks for your help - it is fixed, I looked into server settings - its
Linux - but there were no problems there.
It turned out to be one of the modules that we had specified contained a
directory that 
no longer existed. The error message could indeed be improved.

thanks for your help,
Seamus Donohue
CapeClear, Dublin, Ireland
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 7:12 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: CVS Checkout problem


Seamus Donohue writes:
>  
> C:\source>cvs co cmp
> cvs server: cannot open current directory: Too many open files
> cvs [checkout aborted]: end of file from server (consult above messages if
> any)

It would appear that you have a problem on your server.  There are
limits on the number of files a single process can have open at one
time, as well as an overall system limit.  It would seem that you are
running into one of those limits.

-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: Command line tool for CVS under win NT?

2001-11-29 Thread Erik Corry

Anders Truelsen <[EMAIL PROTECTED]> wrote:

> cvs.exe is distributed along with WinCvs 1.2

And the nice thing is, it works with plink.exe which is
a command line ssh which is distributed with Putty.

-- 
Erik Corry [EMAIL PROTECTED]   Ceterum censeo, Microsoftem esse delendam!
  Interviewer:  "Real programmers use cat as their editor."
  Bill Joy: "That's right! There you go! It is too much trouble to say ed,
 because cat's smaller and only needs two pages of memory."
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Command line tool for CVS under win NT?

2001-11-29 Thread Anders Truelsen

Hi Michael

cvs.exe is distributed along with WinCvs 1.2

regards
anders

> -Original Message-
> From: Michael Großer [mailto:[EMAIL PROTECTED]]
> Sent: 28. november 2001 19:38
> To: [EMAIL PROTECTED]
> Subject: Re: Command line tool for CVS under win NT?
> 
> 
> 
> 
> Matt Riechers schrieb:
> > 
> > Michael Großer wrote:
> > >
> > > Hi!
> > >
> > > I'm looking for a smart command line tool for CVS under 
> Windows NT.
> > > I don't want use tools like winCVS, TkCVS or jCVS. I want simply
> > > input some plain CVS commands into a line.
> > 
> > What's wrong with the command shell?
> I don't have a command shell. I need a "cvs.exe" or similar,
> but I do not fint such tool in the internet. Who knows a source
> where I can get such tool for windows NT?
> 
> greets
> Michael
> ___
> 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



problem in assigning permissions....

2001-11-29 Thread Thirumal Raj

hey
I am new to cvs ...
First ,tell me in what way we can assign permissions to group members in the
project.If so tell whether its depend on the operating system or the CVS.For
example I have set up my repository in server as /usr/local/cvs under which
all the projects reside.As explained in cederquist I formed a group for each
project whichas ADMIN and GROUP MEMBERS and I want to define the separate
permissions for both of them.I want to make all the commit operations via
the ADMIN..Tell me how can it be resolved?.How to configure the LOCKDIR
in CVSROOT/Config file if I want set permissions in file level.

Thanks in advance

rgds raj


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