Re: FW: Help w/ CVS

2002-05-21 Thread Matt Riechers

Caroline Neal wrote:
 
 I am working on a project that requires customer headers and footers and
 cannot find where to edit them in the CVS program.  Is it possible and if so
 how?

What headers and footers would those be? Are you trying to use keyword
expansion? Please be more specific.

-Matt

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



Re: cvs on MacOSX

2002-05-21 Thread Lee Fellows

Hi Valerio,

  I do not have MacOSX experience, but the problem your seeing is not
OS specific.  Inetd or xinetd are not listening for the cvspserver, or
you have a firewall or other software that is preventing outside
connections to port 2401.  If you changed inetd.conf or xinetd's
configuration (could be a .conf file or a directory containing service
definitions), then you need to signal the superserver to re-read its
configuration.  Check your man pages for the correct procedure. If
inetd/xinetd has re-read its configuration and you still cannot connect,
look for a firewall script on the host to see if that is causing
the problem.

HTH



On Thu, 2002-05-16 at 07:25, Valerio Ferrucci wrote:
 Does someone has experience on installing cvs server on MacOSX?
 I followed instructions at 
 http://www.geektimes.com/macintosh/os/x/and/cvs_install.html
 but when I login the server responds:
 
 cvs [login aborted]: connect to localhost:2401 failed: Connection refused
 
 Any idea or helpful links?
 
 Thanks
 
 ==
 Valerio FerrucciTabasoft Sas
 [EMAIL PROTECTED]http://www.tabasoft.it



___
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



Re: problem when using shell script to checkout huge binary files(70MB)

2002-05-21 Thread Frederic Brehm

At 12:54 -0500 5/20/02, Veronica Zhu wrote:

I use Java Runtime.getRuntime().exec() to execute a shell script.

...

It works great for all files EXCEPT huge binary files whose size is
about 70 Mega Bytes. The directory, which should contain those
large files, was checkout as an empty directory. (No errors observed.)
However, at the same time, other directories with smaller files
were checkout normally with expected files.

Here's a few things to try...

Make sure all files are on the same branch.

Try running the shell script from the command line of the client and 
watch for error messages. Try the same command line on the server 
(you might have to adjust CVSROOT).

Use the -t switch of CVS and watch what happens when traversing the 
directories with the large files.

Very large binary files can be a problem in CVS. Updates to binary 
files are not stored very efficiently in the repository (unlike text 
files where diff works well). CVS reads the entire repository file 
into virtual memory in order to process it. That means your 70M 
binary file might be much larger in the repository--too large for VM 
on your server. Check the file size of the repository file (if the 
file is named foo.gif, then the repository file will be named 
foo.giv,v).

Good Luck,
Fred
-- 
Fred Brehm, Sarnoff Corporation, [EMAIL PROTECTED]
http://www.sarnoff.com/digital_video_informatics/vision_technology/index.asp

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



Re: Need help

2002-05-21 Thread Lee Fellows

Hi Rohan,

  I would not recommend using rsh.  Having said that, what error do you
get?  Does the command 'rsh -l username ipof the server 'echo $PATH'' 
work?


On Tue, 2002-05-21 at 00:39, Rohan Bairat wrote:
 Hi
 I am trying to configure CVS...i am going through the manual 
 In the manual in exercise 3 i guess it talks abt rsh thing..
 
 i am not able to find .rhosts file i dont understand what to 
 do.. I created one and wrote the IP add of the other machine and 
 usrname in that  basically i am operating on user root.. so i 
 created that file ..
 
 and tried to run rsh from remote machine ie
 rsh -l username ipof the server 'echo $PATH'
 
 still it is not workin plz help
 
 rohan
 _
 Click below to visit monsterindia.com and review jobs in India or 
 Abroad
 http://monsterindia.rediff.com/jobs
 
 
 ___
 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: problem when using shell script to checkout huge binary files(70MB)

2002-05-21 Thread Joi Ellis

On 21 May 2002, Lee Fellows wrote:

 Hi Veronica,
 
   Have you tried the shell script from the command line, not calling
 it from inside Java?  What were the results?  In calling this shell
 script from java, is this an automated process (i.e., a cron job)?
 If so, have you tried running the java process from the command line? 
 What were the results?
 
   More questions then helpful suggestions, I know, but it would help
 to know what your environment is telling you.  I am suspicious of a 
 timeout, possibly being imposed by the java process, but your
 observations can help confirm or eliminate that possibility.

Check the default ulimit values for the shell the program is calling.
For instance, bash ulimit can specify maximum values for a number of
things which could cause your script to die while checking out very
large files.  

On my red hat box, there is a ulimit comment in the /etc/profile file
which limits the size of a core file.  There may also be ulimit commands
elsewhere, like in ~/.profile.

I've seen file operations fail for very large files using cygwin cvs ports
on Windows 2000.  If the file is over a certain size, the windows process
dies with an out-of-memory error.  I've seen this happen on a coworker's
win2k box, while I can manipulate the same file on my linux system without
problems.

-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


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



Re: log_accum.pl

2002-05-21 Thread Larry Jones

Azmat writes:
 
 How do I obtain the log_accum.pl script so I can receive e-mails on my
 commits?  Thanks.

It's in the contrib directory in the source distribution of CVS.  If you
don't have the source, you can get it from www.cvshome.org.

-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



Re: log_accum.pl

2002-05-21 Thread David Wheeler

On 5/21/02 8:32 AM, Larry Jones [EMAIL PROTECTED] claimed:

 Azmat writes:
 
 How do I obtain the log_accum.pl script so I can receive e-mails on my
 commits?  Thanks.
 
 It's in the contrib directory in the source distribution of CVS.  If you
 don't have the source, you can get it from www.cvshome.org.

FWIW, you might want to check out my activitymail script, instead. In fact,
if the CVS maintainers were willing to add it to the distribution, I would
have no objection, provided that the authors of log_accum.pl didn't.

  http://www.cpan.org/authors/id/D/DW/DWHEELER/activitymail-1.00

Regards,

David

-- 
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/  Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]



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



Re: Is this taginfo problem a permissions thing?

2002-05-21 Thread Larry Jones

Duane Morin writes:
 
 I create a /home/dmorin/localcheckout and do cvs co CVSROOT.  I add
 this
 line:
 ALL '/home/dmorin/tagger.sh $1 $2 $3 $4'

That is wildly incorrect.  You want just:

ALL /home/dmorin/tagger.sh

 The weird part is that when I look at /home/dmorin/repository/CVSROOT
 I see that taginfo has *not* changed at all, bit taginfo,v seems to
 indeed know about my change!  What's the scoop with that?

You did commit taginfo after modifying it, didn't you?  When you did,
you should have gotten a message from CVS saying that it was Rebuilding
administrative file database; it sounds like that didn't happen.  If
not, it's because you managed to confuse CVS and it didn't know you were
modifying files in CVSROOT -- what's in your working directory's
CVS/Root file?  To work around the problem, you can force a database
rebuild by doing cvs init.

-Larry Jones

When you're SERIOUS about having fun, it's not much fun at all! -- Calvin

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



Re: Info-cvs digest, Vol 1 #1831 - 14 msgs

2002-05-21 Thread Lee Fellows

Hi Rohan,

  Unfortunately, I am using pserver and have not investigated using
ssh with the authentication scheme you have in mind.  I know that others
on this list have used ssh successfully for this purpose.  Hopefully,
one or more of them can point you to good documentation.



On Tue, 2002-05-21 at 10:55, Rohan Bairat wrote:
 
 Hi Lee thanks for responding
 
 I know that rsh is bad ,i am going to use ssh for the same ... but 
 i have just started working on it and i need to know a lot...  my 
 target is to connect using ssh and authenticate using LDAP / 
 Kerberos /PAM
 
 But i am stuck. I am not able to understand how they work 
 together. I am going through the manuallets see.
 
 I dont know the exact syntax how to do it...So i started with rsh 
 first...
 
 Can u recommend me some more docs to read...
 
 Thanks
 ROhan



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



Problem with 1.11 and :local:

2002-05-21 Thread Vince Rice

I'm reposting this because I just noticed I stupidly forgot to put a 
subject on it the first time.  My apologies for the duplication.

I have a local repository (:local:) on my Win2K machine which I've had for
over a year.  I've been using the 1.10 client which was dl'd from
cvshome.org.  Everything has worked great.

This weekend, I noticed that 1.11 had been released, so I downloaded the
1.11-2 Win32 binary (the Win32 version of the command-line cvs, *not* 
WinCVS), again from cvshome.org.  Now when I try to commit, update, etc., 
I get this error.
   cvs [commit aborted]: your apparent username (vrice) is unknown to this
system

I don't have a passwd file in CVSROOT, because I'm using :local:.  I've
looked in the 1.11 version of the Cederqvist and the NEWS file, and I've
searched the last two or three months of the archive for local, but I
don't see any mention of changes to :local:, nor do I see any mention of
this error message.  I don't even find it in the source; the closest
thing I see is a You are unknown to the system in commit.c.

For the time being I've gone back to 1.10, but I'd like to find out what's
wrong either with 1.11 or with my configuration.  Does anyone have any
ideas?

Thanks,

Vince


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



why pserver and log_accum.pl sending multiple emails

2002-05-21 Thread Peter Lynch

Greetings,

I recently added log_accum.pl and commit_prep.pl via
loginfo. Everything works fine when commiting sources
from sandboxes on the cvs home machine where
CVSROOT=/cvsroot. However, when commiting changes via
pserver remotely, two emails are sent for evey commit,
the emails looking identical. Even if I use pserver
protocal on same machine as /cvsroot, I get the same
problem: two emails.

I am using server/client version 1.11.1p1.

Here is what I have in loginfo:

modulename (echo Exceuting loginfo...;
/usr/local/bin/perl $CVSROOT/CVSROOT/util/log_accum.pl
-d -m [EMAIL PROTECTED] %s)

And in a script called from commitinfo:

if $CVSROOT/CVSROOT/util/commit_prep.pl ${1+$@};
then
   exit 0
fi
exit 1

When I add a debugging line immediately before the
call to mail_notification inside log_accum.pl I see it
printed twice, as below:

---
Checking in README.txt;
/cvsroot/CVSROOT/util/README.txt,v  --  README.txt
new revision: 1.22; previous revision: 1.21
done
Debug turned on...
module - CVSROOT
dir- CVSROOT/util/
path   - CVSROOT:util
files  - CVSROOT/util:README.txt
id - 249
Searching for log file index... found log file at
0.249, now writing tmp files.
Checking current dir against last dir.
Current directory CVSROOT/util is last directory
/cvsroot/CVSROOT/util -- all commits done.
## Beginning the final log
message...format_lists(): CVSROOT/util/:README.txt
format_names(): dir = CVSROOT/util/; files =
README.txt.
main: pre-sort changed_files =
CVSROOT/util/:README.txt.
main: post-sort changed_files =
CVSROOT/util/:README.txt.
main(): doing 'cvs -nQq status -v README.txt'
cvs server: Rebuilding administrative file database
## Calling mail_notification from line 568..##
Calling mail_notification from line 568..
-

No other statements are being printed twice??
And log_accum cleans up the temp directory just fine
all the files it uses there.

Something else I noticed. When I pass -s to
log_accum.pl, preventing status from being reported,
only one email is sent.

So to review, :
1. I get two emails, using pserver protocol
2. I get two emails, from both remote client and
locally using pserver
3. temp files are cleaned up correctly despite two
emails.
4. the mail_notification function in log_accum is
called twice, but it appears no other code in
log_accum.pl is executed twice.
5. disabling the use of cvs status inside log_accum
results in one email being sent so everything appears
fine using pserver. 
6. when status is on using pserver two emails are
sent, but neither contains a status report.
7. I have a similar script that does a cvs diff. It
bahaves the same in that not using the diff part
results in one email, but using it means two.

I'm baffled. Anyone get these scripts to behave using
pserver? Ideas? Is it something to do with the shell
on the server using pserver? help

Thanks,

Peter
 


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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



RereadLogAfterVerify=always

2002-05-21 Thread Jeeva Sarma

Hi
When I give this option 
RereadLogAfterVerify=always
in config file,I get the error 
unrecognized keyword 'RereadLogAfterVerify'
at commit.
Any ideas?I am using cvs 1.11 server on unix and 1.10
client on windows.
I am running a script thro' verifymsg to check the log
message and re-format it in certain cases.

TIA,
Jeeva Sarma

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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