Re: Newby : moving/renaming files loses version information?

2001-05-17 Thread Tanaka Akira

In article [EMAIL PROTECTED],
  [EMAIL PROTECTED] (Greg A. Woods) writes:

 One thing PCL-CVS doesn't have (which CVSweb does, for example) is a
 quick and dirty way of seeing the files in the Attic and thus being
 able to operate directly on them.  This would help PCL-CVS users not
 only with removed files, but with files existing only on branches that
 the current working directory is not viewing.  If cvs status had an
 option to show Attic files (actually any file from the repo that's not
 in the current working directory's view) then adding such a feature to
 PCL-CVS would be quite easy  It could use cvs ls, but that's
 rather hackish IMHO.

`cvs log -R' is not sufficient?
-- 
Tanaka Akira

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



e-Dea soft

2001-05-17 Thread dovaf

Dear Sirs,

e-Dea soft is a new international IT company with development base in Russia and 
representative offices in Ireland and Canada. Our activity is dedicated to developing 
and maintaining commercial applications. Due to our large software department in 
Russia with its motivated and highly qualified programmers and system engineers, our 
customers receive maximum care and consultation.

The services provided by our company for the commercial enterprise market:
Applications Development  Integration;
System porting and Re-engineering;
Internet / Intranet / Extranet technologies;
Mobile Computing/ Mobile Office / Mobile Internet.

We operate in the following industrial sectors: Education, Insurance, Banking, 
Manufacturing, Healthcare, Retail, Utilities, Travel  Leisure, Media  Publishing, 
Professional Service Providing, Telecom  Internet Service Providing.

Our certified professionals have vast experience in project management, software 
development, quality control and technical writing.

e-Dea soft is a system integrator of Sybase Eastern Europe B.V. company, a leader in 
enterprise portal, data warehousing, mobile and wireless solution development.

As a fast growing company e-Dea soft is seeking the opportunity for the cooperation in 
the field of software development. If you have any needs for a reliable partner and a 
professional team we would be glad to work with you.


Regards,

Andrey Dovjenok, CEO.

e-Dea soft
Andrey Dovjenok
[EMAIL PROTECTED]
tel. +7(095)962 06 88
fax. +7(095)737 55 77
www.e-deasoft.com

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



Problem with cvs

2001-05-17 Thread Marc Enrici



Hello,

I have the following problem with cvs :

I checkout the file "modules" from CVSROOT

I modify it and when I want to commit it, I have the following message :

cvs: [commit aborted]: Revision 1.1 is already locked by root

Do you have any idea?

Thanks in advance

--
Marc Enrici
INSA Toulouse
Service Informatique
Tel : 05 61 55 93 59
Fax : 05 61 55 93 60



RE: handling of MsWord-Documents in CVS ?

2001-05-17 Thread Echlin, Michael

The problem with binaries (and word files are binaries, saving as rtf is not
an option if you use any macros or advanced features at all) is that CVS
does not know how to diff them so each check in doubles the size of the file
(especially when people have tracking turned on)

Your options are 1: use cvs and after each checkin take a large hit in
performance (the larger the file the longer it takes to check in or out)
2: Use the tracking option within m$word and make sure you have saved the
file to a server that is backed up nightly (but tracking also saves each
edit to the file and so also causes performance problems, not only within
word but across the network to the backed up drive..)
3: make changes to cvs as to how the files are stored and implement archive
by reference as done in MKSSI.
4: use MKSSI (costly, $300+ at least.)
5: Switch to a non binary format word processor (tex comes to mind.)
6: hack cvs so that it uuencodes and decodes binary files on checkin and
checkout. (This could be done in the client possibly, but would be more
generic if in the server.)

I'd help do this but you know how it goes.

Mike. 

-Original Message-
From: Ferdinand Schaefer [mailto:[EMAIL PROTECTED]]
Sent: May 16, 2001 3:46 PM
To: [EMAIL PROTECTED]
Subject: handling of MsWord-Documents in CVS ?


Hello,

I'm looking for information, experiences on
handling of MsWord-Documents in CVS ?

In my opinion Msword Documents need to be
treated as binary files.

Every hints in this context are well appreciated.

Thanks,
Ferdi






__
Ferienklick.de - 225 Reisekataloge auf einen Blick!
Direkt zu Ihrem Traumurlaub: http://ferienklick.de/?PP=2-0-100-105-0


___
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 loginfo message output

2001-05-17 Thread McCann, Brian

Hi,

after I commit a file I've been getting Status: Needs Checkout  when this
file was just committed
usually the message states Status:Up-to-date.Also the message File: no
file MediaServerConsoleInterface.cpp   
appears even though the file was just worked on.

I put the perl script I'm using and the output from a recent commit below.
also here is the entry from my loginfo file which calls the perl script
^source_code /cvs/cvsroot/CVSROOT/log.pl %s -f
/cvs/cvsroot/CVSROOT/commitlog -m [EMAIL PROTECTED]

Thanks,
Brian


##


Date:   Tuesday May 15, 2001 @ 9:15
Author: bmccann

Update of
/cvs/cvsroot/source_code/internal_product/server/src/processes/ps_mgcp_agent
In directory scrumhalf.pactolus.com:/tmp/cvs-serv16298

Modified Files:
MediaServerConsoleInterface.cpp MediaServerConsoleInterface.h 
MediaServerRes.cpp MediaServerRes.h 
Log Message:
Console support for media server /endpoint disconnected status 
===
File: no file MediaServerConsoleInterface.cpp   Status: Needs
Checkout

   Working revision:1.9 Tue May 15 13:15:50 2001
   Repository revision: 1.9
/cvs/cvsroot/source_code/internal_product/server/src/processes/ps_mgcp_agent
/MediaServerConsoleInterface.cpp,v



##
#!/usr/bin/perl  
# -*-Perl-*-
#
# XXX: FIXME: handle multiple '-f logfile' arguments
#
# XXX -- I HATE Perl!  This *will* be re-written in shell/awk/sed soon!
#

# Usage:  log.pl [[-m user] ...] [-s] -f logfile 'dirname file ...'
#
#   -m user - for each user to receive cvs log reports
#   (multiple -m's permitted)
#   -s  - to prevent cvs status -v messages
#   -f logfile  - for the logfile to append to (mandatory,
#   but only one logfile can be specified).

# here is what the output looks like:
#
#From: [EMAIL PROTECTED]
#Subject: CVS update: testmodule
#
#Date: Wednesday November 23, 1994 @ 14:15
#Author: woods
#
#Update of /local/src-CVS/testmodule
#In directory kuma:/home/kuma/woods/work.d/testmodule
#
#Modified Files:
#   test3 
#Added Files:
#   test6 
#Removed Files:
#   test4 
#Log Message:
#- wow, what a test
#
# (and for each file the cvs status -v output is appended unless -s is
used)
#
#==
#File: test3Status: Up-to-date
#
#   Working revision:   1.41Wed Nov 23 14:15:59 1994
#   Repository revision:1.41
/local/src-CVS/cvs/testmodule/test3,v
#   Sticky Options: -ko
#
#   Existing Tags:
#   local-v2(revision: 1.7)
#   local-v1(revision: 1.1.1.2)
#   CVS-1_4A2   (revision: 1.1.1.2)
#   local-v0(revision: 1.2)
#   CVS-1_4A1   (revision: 1.1.1.1)
#   CVS (branch: 1.1.1)

$cvsroot = $ENV{'CVSROOT'};

# turn off setgid
#
$) = $(;

$dostatus = 1;

# parse command line arguments
#
while (@ARGV) {
$arg = shift @ARGV;

if ($arg eq '-m') {
$users = $users  . shift @ARGV;
} elsif ($arg eq '-f') {
($logfile)  die Too many '-f' args;
$logfile = shift @ARGV;
} elsif ($arg eq '-s') {
$dostatus = 0;
} else {
($donefiles)  die Too many arguments!\n;
$donefiles = 1;
@files = split(/ /, $arg);
}
}

# the first argument is the module location relative to $CVSROOT
#
$modulepath = shift @files;

$mailcmd = | Mail -s 'CVS update: $modulepath';

# Initialise some date and time arrays
#
@mos = (January,February,March,April,May,June,July,August,September,
October,November,December);
@days = (Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday);

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
$year = $year += 1900;

# get a login name for the guy doing the commit
#
$login = getlogin || (getpwuid($))[0] || nobody;

# open log file for appending
#
open(OUT,  . $logfile) || die Could not open( . $logfile . ): $!\n;

# send mail, if there's anyone to send to!
#
if ($users) {
$mailcmd = $mailcmd $users;
open(MAIL, $mailcmd) || die Could not Exec($mailcmd): $!\n;
}

# print out the log Header
# 
print OUT \n;
print OUT \n;
print OUT Date:\t$days[$wday] $mos[$mon] $mday, $year @ $hour: .
sprintf(%02d, $min) . \n;
print OUT Author:\t$login\n\n;

if (MAIL) {
print MAIL \n;
print MAIL Date:\t$days[$wday] $mos[$mon] $mday, $year @ $hour: .
sprintf(%02d, $min) . \n;
   

New to CVS

2001-05-17 Thread Lisa Gifford

I'm new to CVS.  I'm currently reading the manual, but I've yet to run 
across an answer to one of my questions.  Is CVS layered on top of 
RCS?  Thanks in advance for answering my question.





Lisa A. Gifford
NOAA/OAR/FSL
Aviation Division
325 Broadway R/FS5
Boulder, CO 80305-3328
PH: 303-497-4274
www.fsl.noaa.gov


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



Re: cvs update - d -P

2001-05-17 Thread Larry Jones

Pavan Seth writes:
 
 I did an cvs -update -d -Pduring the process...it
 prints
 
 a.jsp : it is on its way
 b.jsp : it is on its way
 
 what does that mean? I have never seen such kinda
 message

No, you haven't.  Expecially not from CVS.  If you want people to be
able to help you, it is critically important that you accurately
transcribe the exact messages you get, rather than reporting some half-
baked impression of the messages.  What you saw was most likely:

move away a.jsp; it is in the way
move away b.jsp; it is in the way

What that means is that update found new files in the repository (a.jsp
and b.jsp) that it wants to check out for you, but you already have
files with the same names in your working directory that are not checked
out from CVS.  CVS won't overwrite your local files, so it is asking you
to move them out of the way (e.g., rename them) so that it can check out
the new files.

-Larry Jones

Nobody knows how to pamper like a Mom. -- Calvin

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



Re: CVS security

2001-05-17 Thread Larry Jones

Mark Harrison writes:
 
 3.  Anonymous CVS is read-only.  You can't accidentally send
 data from your system over the connection.

This is not necessarily true -- one can allow anonymous read/write
access, although it probably isn't the brightest idea.

-Larry Jones

I hope Mom and Dad didn't rent out my room. -- Calvin

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



Re: CVS LOGIN

2001-05-17 Thread Larry Jones

Christian Robottom Reis writes:
 
 you could also use the new
 password syntax that pserver offers now

What new password syntax?!?

-Larry Jones

My C- firmly establishes me on the cutting edge of the avant-garde.
-- Calvin

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



How to track changes since a tag

2001-05-17 Thread eafritz

Is there any way I can get a list of files that have changed since a 
particular tag other than doing a massive status -v command and 
parsing through all the tags and current versions?


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



simbolic links

2001-05-17 Thread Juanjo Ruiz

Hello,

I have a simbolic link like this in my workingcopy: 
ln -s . dir
...
lrwxrwxrwx1 nsadmin  nsadmin 1 May  1 14:44 dir - ./
...
How can I handle this with CVS? How can add it? Is the recursivity a
problem?

Juanjo Ruiz

CLUSTER COMPETITIVENESS
Technology Park Valles
08290 Barcelona - Spain
http://www.clustercom.com
Direct tel.: +34 93 582 02 92   Fax: +34 93 582 01 59


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



Re: New to CVS

2001-05-17 Thread Larry Jones

Lisa Gifford writes:
 
 I'm new to CVS.  I'm currently reading the manual, but I've yet to run 
 across an answer to one of my questions.  Is CVS layered on top of 
 RCS?  Thanks in advance for answering my question.

Yes and no.  CVS uses the same file format as RCS does to store the
revision history.  It used to use RCS commands to manipulate the
history, but recent versions have equivalent functionality built-in
instead.

-Larry Jones

Pitiful.  Just pitiful. -- Calvin

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



CVS secure shell?

2001-05-17 Thread Infoman: Martin Kretschmar

Well, this looks like a FAQ. But searching the site for
secure shell wasn't 100% rewarding. With a search to
restricted cvs shell google brought up several items.
Specifically the CVSH looks as if it was what we would
like to have.

For e.g. disallowing logins via SSH combined with a rm
of specific files inside the repository it would be nice
to have a shell which accepts only cvs command and maybe
exit. This would be added to the family of the available
shells.

Further informations would be welcome.

Regards,
 Martin



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



Re: Newby : moving/renaming files loses version information?

2001-05-17 Thread Greg A. Woods

[ On , May 17, 2001 at 16:56:08 (+0900), Tanaka Akira wrote: ]
 Subject: Re: Newby : moving/renaming files loses version information?

 In article [EMAIL PROTECTED],
   [EMAIL PROTECTED] (Greg A. Woods) writes:
 
  One thing PCL-CVS doesn't have (which CVSweb does, for example) is a
  quick and dirty way of seeing the files in the Attic and thus being
  able to operate directly on them.  This would help PCL-CVS users not
  only with removed files, but with files existing only on branches that
  the current working directory is not viewing.  If cvs status had an
  option to show Attic files (actually any file from the repo that's not
  in the current working directory's view) then adding such a feature to
  PCL-CVS would be quite easy  It could use cvs ls, but that's
  rather hackish IMHO.
 
 `cvs log -R' is not sufficient?

Maybe!  I didn't realise that little trick would print all files, not
just those visible in the working directory

Thanks!

-- 
Greg A. Woods

+1 416 218-0098  VE3TCP  [EMAIL PROTECTED] [EMAIL PROTECTED]
Planix, Inc. [EMAIL PROTECTED];   Secrets of the Weird [EMAIL PROTECTED]

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



Re: simbolic links

2001-05-17 Thread Larry Jones

Juanjo Ruiz writes:
 
 I have a simbolic link like this in my workingcopy: 
   ln -s . dir
 ...
 lrwxrwxrwx1 nsadmin  nsadmin 1 May  1 14:44 dir - ./
 ...
 How can I handle this with CVS? How can add it? Is the recursivity a
 problem?

CVS ignores symbolic links.  The usual advice is to create them as part
of your build/install process.

-Larry Jones

The real fun of living wisely is that you get to be smug about it. -- Hobbes

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



synchronizing cvs repositories in realtime

2001-05-17 Thread Jan Dittberner
Title: synchronizing cvs repositories in realtime






is there a working solution for synchronizing two cvs repositories

in realtime?


I mean the following scenario:


- 2 servers running cvs in pserver mode

- a user commits his changes to one of them

- the change is automagically commited to the other server

- another user commits changes to the second server

- these are also send to the first server


if there's no such solution existing, can you give any hints how

to do something like this.



Regards


Jan Dittberner

newtron AG





RE: CVS setup

2001-05-17 Thread Echlin, Michael

Hi,

Have you tried importing the module with the dos command-line cvs client?
this would force it to use the 8.3 dos names for all files and directories,
(thus mangling the names to non-space for you.)

All of our archives so far have been created initially in the Linux world so
I have not tried this myself. Use a scratch monkey.

Mike.

-Original Message-
From: David H. Thornley [mailto:[EMAIL PROTECTED]]
Sent: April 5, 2001 1:55 PM
To: Rob Helmer
Cc: M Birch; [EMAIL PROTECTED]
Subject: Re: CVS setup




Rob Helmer wrote:
 
 Don't check files or directories that have spaces in the names
 into CVS. It'll cause nothing but trouble.
 
I was just asked a question about InstallShield.  I'm not
personally familiar with what it does, but apparently it
creates a set of files of which many have spaces in their
names, and it apparently cannot be set to do this as a
matter of routine from pre-existing source.

If there was an InstallShield script we could use, I'd say we
keep the sources under CVS control and not worry about the
InstallShield stuff.  That apparently is not the case.

There are too many filenames to make it practical to manually
insert underscores instead of spaces.  This being That Operating
System, I don't know if it's easy to automate this process, like
it would be in Unix.  Not that this would be the ideal solution,
since it would entail creating the files, mangling the names,
checking them in, checking them out, unmangling the names, and
sending to the user.

I don't know if WinCVS handles this well.  Nor do I know how it
handles merging between branches, which in our setup depends
partly on tag naming conventions, and therefore is not
straight out-of-the-box CVS.

The half-assed solution we're adopting right now is to zip
the files into a zip file without spaces in the file name, but
there's plenty of reasons why this is suboptimal.

Does anybody have any suggestions?

There are reasons why we're using CVS, so I'd rather not hear
why I should drop it in favor of something unspecified.  Diatribes
against proprietary Intel-based operating systems are unnecessary,
unless they contain something amusing I haven't seen (or said)
before.


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

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



Re: How to track changes since a tag

2001-05-17 Thread Gwen Park

 Is there any way I can get a list of files that have changed since a 
 particular tag other than doing a massive status -v command and 
 parsing through all the tags and current versions?

Try using:
cvs rdiff -s -r tag1 [-r tag2] module

Leaving off tag2 will diff between tag1 and HEAD.

gwen

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



Re: CVS LOGIN

2001-05-17 Thread Christian Robottom Reis

On Thu, 17 May 2001, Larry Jones wrote:

 Christian Robottom Reis writes:
 
  you could also use the new
  password syntax that pserver offers now

 What new password syntax?!?

Well, from http://www.cvshome.org/dev/NEWS-1.11.1p1.txt

* A password and a port number may now be specified in CVSROOT for pserver
connections.  The new format is:

:pserver:[[user][:password]@]host[:[port]]/path

Am I mistaken?

Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311


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



Re: CVS secure shell?

2001-05-17 Thread skyper

hi

 Well, this looks like a FAQ. But searching the site for
 secure shell wasn't 100% rewarding. With a search to
 restricted cvs shell google brought up several items.
 Specifically the CVSH looks as if it was what we would
 like to have.
 
 For e.g. disallowing logins via SSH combined with a rm
 of specific files inside the repository it would be nice
 to have a shell which accepts only cvs command and maybe
 exit. This would be added to the family of the available
 shells.

you may want to take a look at http://www.segfault.net/~skyper/chroot_cvssh.c
- chrooted
- only cvs server allowed
- installation guide :P


skyper
-- 
PGP: dig @segfault.net skyper axfr|grep TX|cut -f2 -d\|sort|cut -f2 -d\;

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



Re: CVS secure shell?

2001-05-17 Thread Noel L Yap

I don't understand your post.  Can you elaborate?

I've been able to use SSH to limit access to CVS only.  Is this what you're
asking?

Noel






Well, this looks like a FAQ. But searching the site for
secure shell wasn't 100% rewarding. With a search to
restricted cvs shell google brought up several items.
Specifically the CVSH looks as if it was what we would
like to have.

For e.g. disallowing logins via SSH combined with a rm
of specific files inside the repository it would be nice
to have a shell which accepts only cvs command and maybe
exit. This would be added to the family of the available
shells.

Further informations would be welcome.

Regards,
 Martin



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




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase  Co., its
subsidiaries and affiliates.


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



Re: problem with LF -- CRLF trasnlation

2001-05-17 Thread Eric Siegerman

On Wed, May 16, 2001 at 04:30:20PM -0400, Echlin, Michael wrote:
 Suggesting to a windows user to use VI???
 
 That's scary :-)

Almost as scary as suggesting that a Unix user *not* use vi (or
emacs, as the case may be) :-)

The Windows types where I work like TextPad.  I don't know
whether it'll auto-recognize line-endings the way, say, vim does;
but you can explicitly configure it to always use Unix format.  I
gather that pretty much works -- at least, once people configured
their TextPads that way, I pretty much stopped getting
bum-line-endings complaints.  (TextPad's actually not bad, as
gui-based editors go; I'd probably like it if I wasn't such a
dyed-in-the-wool vim fan.  It even has regexps...)

I'd still prefer it if people used a native CVS client for their
platform, of course, but as someone else said, they do insist on
living dangerously...

--

|  | /\
|-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

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



Re: handling of MsWord-Documents in CVS ?

2001-05-17 Thread Eric Siegerman

On Thu, May 17, 2001 at 09:16:31AM -0400, Echlin, Michael wrote:
 The problem with binaries (and word files are binaries [...])
 [...]
 6: hack cvs so that it uuencodes and decodes binary files on checkin and
 checkout.

This wouldn't help at all (the deltas would still be huge), and
it would probably be dangerous (you still couldn't do a
meaningful merge, but CVS might try anyway, and end up corrupting
the file).

Better would be to hack CVS so that it uses xdelta
(http://www.xcf.berkeley.edu/~jmacd/xdelta.html) as its
underlying storage format.  There was a thread here not too long
ago about the pros and cons of that.

--

|  | /\
|-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

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



Re: synchronizing cvs repositories in realtime

2001-05-17 Thread Patrick Salsbury

On Thu, May 17, 2001 at 05:22:36PM +0200, Jan Dittberner wrote:
 is there a working solution for synchronizing two cvs repositories
 in realtime?
 
 I mean the following scenario:
 
 - 2 servers running cvs in pserver mode
 - a user commits his changes to one of them
 - the change is automagically commited to the other server
 - another user commits changes to the second server
 - these are also send to the first server
 
 if there's no such solution existing, can you give any hints how
 to do something like this.
 
 
 Regards
 
 Jan Dittberner
 newtron AG

Hmm. I'm not sure that having two master sites is going to be
easy to sync, but there are programs like mirror for duplicating
machines, as well as rsync, which are quite powerful. 
If you could assure that the users on one repository only used
certain modules (they were master for those modules, and the other site
was master for different ones), you could always mirror the master
sub-directories to the slave repository. Otherwise, I'd probably just
dedicate one repository as the master, and mirror that as a backup. Why do
you need two different ones that both get committed to?

-- 
Pat
   ___Think For Yourself
 Patrick G. Salsbury - http://reality.sculptors.com/~salsbury/
  Interested in Airships? See http://reality.sculptors.com/lists.html
   -
A long memory is the most subversive idea in America.

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



RE: problem with LF -- CRLF trasnlation

2001-05-17 Thread Peter Ring

While there might be some good reasons for native ports, the idea of native
'text' formats seems completely bogus to me. At least, it should always be
an option, preferably per file (as is keyword expansion and merge
behaviour).

Kind regards,
Peter Ring

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Eric Siegerman
Sent: Thursday, 17 May, 2001 8:39 PM
To: info-cvs
Subject: Re: problem with LF -- CRLF trasnlation


snip

I'd still prefer it if people used a native CVS client for their
platform, of course, but as someone else said, they do insist on
living dangerously...

/snip


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



Re: Configuration Question

2001-05-17 Thread Peter Ajamian

Eric Siegerman wrote:
 
  Also, where can I find files to create a pserver? Either RPM or source will
  do.
 
 There are no extra files; the main CVS binary will suffice.
 Though someone's mentioned a program for maintainging pserver
 password files; search the mailing-list archives.

CVSPwd2 http://www.pajamian.dhs.org

Regards, Peter

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



Re: Passive Mode For CVS or other Options?

2001-05-17 Thread Peter Ajamian

Roger wrote:
 
  Roger wrote:
 
  Looks like with my ISP setup, I need to somehow enable Passive Mode.
 
  When I start a cvs download (a large one larger than approx. 1MB), the
  download stalls.  It stops at a file but does not drop back to console
  with
  an error.  As such, seems to be problems with not being in Passive mode.
 
  My isp (starband/satellite isp) recommends using Passive Mode when doing
  FTP.
 
  I'm in the process of checking out cvsup which does do passive mode
  (binary of course since it's not made with C).
 
 
 just tried it again, after a stall.  Now i've got the complete source off
 of the cvs server.  I'm sure passive mode option would probabely help out
 allot tho.

Someone correct me if I'm wrong (I'm not positive about this)...

This is assuming that you're using pserver, however, I don't know of any
remote repository method that uses FTP (but I could very well be wrong,
again, someone correct me here).

AFAIK, CVS pserver uses it's own file protocol when sending and
retrieving files, not FTP.  Active vs. Passive mode is a property
specific to FTP and has to do with who originates a data connection
(Active mode means the server originates the data connection, Passive
mode means the client originates the connection).  Passive mode is
generally used to make an FTP data connection through a firewall that
does not allow incoming connections on arbitrary ports.  This is a
property _specific_ to FTP and has nothing to do with CVS.

Even if it did have to do with CVS it would either work entirely or not
at all (you would not get part of the download if this were an Active vs.
Passive problem).

Now for your problem.  I'm far from a CVS expert but since this post has
gone for so long unanswered (probably because you sent the post to the
newsgroup rather than the mailing list), I'll take a crack at it.  From
other posts I've seen on this list your problem sounds like it may have
something to do with a limit set for inetd (or xinetd) check the info-cvs
list archives for more info on this as I really can't help you much at
all here.

Regards, Peter

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



Re: 'passwd' file creation Bug??

2001-05-17 Thread Peter Ajamian

Á¶¿Á±Ù wrote:
 
 local cvs add passwd
 local cvs commit passwd
 
 I managed to find out an anomaly in $CVSROOT/CVSROOT.
 passwd,v file was there, but No 'passwd' file itself!!
 
 That's the whole cause... when I copied passwd file
 ,which was checked
 out before, into $CVSROOT/CVSROOT, all problems had gone.

Some security feature, just create and maintain the file directly instead
of checkout/checkin/update, etc.  Better yet, use the CVSPwd2 utility
available at http://www.pajamian.dhs.org which will maintain the file for
you.

Regards, Peter

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



Re: Limiting cvs log

2001-05-17 Thread David Zaroski

On Tue, 15 May 2001, Richard Wesley wrote:

RWI am attempting to figure out what changes I made to a set of files I
RWgot from a vendor last year.  cvs log spits out waaay too much
RWuseless info including files I didn't modify, no matter what settings
RWI use.
RW
RWAll I really want is something like:
RW
RWRCS file
RWdate version comment
RWdate version comment
RW
RWRCS file 2
RW...
RW
RWbut ONLY for the changes I made in a date range on the main branch.

What options did you feed 'cvs log'? If you didn't use any options check
out 'cvs -H log'. With those options you can get pretty picky as to what
is output from 'cvs log'. :-)

.Dave



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



Assertion failed at setting branch tag using rtag

2001-05-17 Thread chaessig

Hi CVS-experts !

I've got a strange error while setting a branch tag using rtag :

when running the CVS command :
cvs -d repository rtag -b R1 IHM
(I'm using the :ext: connection protocol)

I get :

cvs [rtag aborted]: received abort signal
cvs: lock.c:178: lock_name:  the assertion `(__extension__
(__builtin_constant_p ( strlen (current_parsed_root-directory))  (
(__builtin_constant_p (repository)  strlen (repository)  ((size_t) (
strlen (current_parsed_root-directory || (__built
in_constant_p ( current_parsed_root-directory)  strlen (
current_parsed_root-directory)  ((size_t) ( strlen (current_pars
ed_root-directory) ? __extension__ ({ size_t __s1_len, __s2_len;
(__builtin_constant_p (repository)  __builtin_constant
_p ( current_parsed_root-directory)  (__s1_len = strlen (repository),
__s2_len = strlen ( current_parsed_root-directory),
(!((size_t)(const void *)((repository) + 1) - (size_t)(const void
*)(repository) == 1) || __s1_len = 4)  (!((size_t)(const
void *)(( current_parsed_root-directory) + 1) - (size_t)(const void *)(
current_parsed_root-directory) == 1) || __s2_len =
4)) ? memcmp ((__const char *) (repository), (__const char *) (
current_parsed_root-directory), (__s1_len  __s2_len ? __s1_l
en : __s2_len) + 1) : (__builtin_constant_p (repository) 
((size_t)(const void *)((repository) + 1) - (size_t)(const void *)
(repository) == 1)  (__s1_len = strlen (repository), __s1_len  4) ?
(__builtin_constant_p ( current_parsed_root-directory)
  ((size_t)(const void *)(( current_parsed_root-directory) + 1) -
(size_t)(const void *)( current_parsed_root-directory) =
= 1) ? (__extension__ ({ register int __result = (((__const unsigned
char *) (__const char *) (repository))[0] - ((__const uns
igned char *) (__const char *)( current_parsed_root-directory))[0]); if
( __s1_len  0  __result == 0) { __result = (((__co
nst unsigned char *) (__const char *) (repository))[1] - ((__const
unsigned char *) (__const char *) ( current_parsed_root-di
rectory))[1]); if ( __s1_len  1  __result == 0) { __result =
(((__const unsigned char *) (__const char *) (repository))[2]
- ((__const unsigned char *) (__const char *) (
current_parsed_root-directory))[2]); if ( __s1_len  2  __result ==
0) __re
sult = (((__const unsigned char *) (__const char *) (repository))[3] -
((__const unsigned char *) (__const char *) ( current_p
arsed_root-directory))[3]); } } __result; })) : (__extension__ ({
__const unsigned char *__s2 = (__const unsigned char *) (__
const char *) ( current_parsed_root-directory); register int __result =
(((__const unsigned char *) (__const char *) (reposit
ory))[0] - __s2[0]); if ( __s1_len  0  __result == 0) { __result =
(((__const unsigned char *) (__const char *) (repository
))[1] - __s2[1]); if ( __s1_len  1  __result == 0) { __result =
(((__const unsigned char *) (__const char *) (repository))[
2] - __s2[2]); if ( __s1_len  2  __result == 0) __result = (((__const
unsigned char *) (__const char *) (repository))[3] -
__s2[3]); } } __result; }))) : (__builtin_constant_p (
current_parsed_root-directory)  ((size_t)(const void *)(( current_pa
rsed_root-directory) + 1) - (size_t)(const void *)(
current_parsed_root-directory) == 1)  (__s2_len = strlen (
current_par
sed_root-directory), __s2_len  4) ? (__builtin_constant_p (repository)
 ((size_t)(const void *)((repository) + 1) - (size_
t)(const void *)(repository) == 1) ? (__extension__ ({ register int
__result = (((__const unsigned char *) (__const char *) (r
epository))[0] - ((__const unsigned char *) (__const char *)(
current_parsed_root-directory))[0]); if ( __s2_len  0  __res
ult == 0) { __result = (((__const unsigned char *) (__const char *)
(repository))[1] - ((__const unsigned char *) (__const cha
r *) ( current_parsed_root-directory))[1]); if ( __s2_len  1 
__result == 0) { __result = (((__const unsigned char *) (__c
onst char *) (repository))[2] - ((__const unsigned char *) (__const char
*) ( current_parsed_root-directory))[2]); if ( __s2_
len  2  __result == 0) __result = (((__const unsigned char *)
(__const char *) (repository))[3] - ((__const unsigned char *
) (__const char *) ( current_parsed_root-directory))[3]); } } __result;
})) : (__extension__ ({ __const unsigned char *__s1 =
 (__const unsigned char *) (__const char *) (repository); register int
__result = __s1[0] - ((__const unsigned char *) (__cons
t char *) ( current_parsed_root-directory))[0]; if ( __s2_len  0 
__result == 0) { __result = (__s1[1] - ((__const unsigne
d char *) (__const char *) ( current_parsed_root-directory))[1]); if (
__s2_len  1  __result == 0) { __result = (__s1[2] -
 ((__const unsigned char *) (__const char *) (
current_parsed_root-directory))[2]); if ( __s2_len  2  __result ==
0) __res
ult = (__s1[3] - ((__const unsigned char *) (__const char *) (
current_parsed_root-directory))[3]); } } __result; }))) : strc
mp (repository, current_parsed_root-directory; }) : strncmp
(repository, current_parsed_root-directory, strlen (current_
parsed_root-directory == 0' 

Re: tag protection

2001-05-17 Thread Shubhabrata Sengupta



Wondering if something can be done with the taginfo file - 
let me play around with it a bit and try to come up with something.

Thanks

Shubho

  -Original Message-From: 
  Nils Jakobson [EMAIL PROTECTED]To: [EMAIL PROTECTED] [EMAIL PROTECTED]Date: 
  Thursday, May 17, 2001 11:13 PMSubject: tag 
protection
  
  
  
  Hello!
  The branch security works great, 
  but there is the next danger 
  to CVS repository,
  anyone can delete a tag, alsothe name of branch (anyone who have write access),
  it can happen in large environment where 
  its not possible to control everyone. 
  The
  lock-branch script was very helpful, 
  maybe there is similar 
  script lying 
  arountto
  protect tags from delete 
  operation?
  
  Many thanks!
  
  -Nils Jakobson
  SWH Technology
  


help: passwd file

2001-05-17 Thread Andy Nuss

Hi,

I'm trying to figure out how to create entries
in the passwd file.  Somewhere a few days
ago I saw the hash-algorithm posted on the net,
but can't find it now.

Does anyone know this doc?  Or is there a script
that has been written?

Note: I can't seem to find the answer on my Linux 7.2
system, as I don't know the salt used by both
Linux and by CVS.

Thanks,
Andy


__
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: tag protection

2001-05-17 Thread Gwen Park

 Wondering if something can be done with the taginfo file - let me play around with 
it a bit and try to come up with something.

   -Original Message-
   lock-branch script was very helpful, maybe there is similar script lying arount to
   protect tags from delete operation?

Try writing something like:

#!/usr/local/bin/perl

($tag, $action, $repository, @files) = (@ARGV);
if ($action eq del) {
die Error:  Deleting tags not permitted;
}

You can call this script from taginfo as follows:
ALL path_to_script

gwen

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



Re: Assertion failed at setting branch tag using rtag

2001-05-17 Thread chaessig

Oups, I forgot to give the CVS version : I'm using the last version
(1.11.1p1).

Chris

chaessig wrote:

 Hi CVS-experts !

 I've got a strange error while setting a branch tag using rtag :

 when running the CVS command :
 cvs -d repository rtag -b R1 IHM
 (I'm using the :ext: connection protocol)

 I get :

 cvs [rtag aborted]: received abort signal
 cvs: lock.c:178: lock_name:  the assertion `(__extension__
 (__builtin_constant_p ( strlen (current_parsed_root-directory))  (
 (__builtin_constant_p (repository)  strlen (repository)  ((size_t) (
 strlen (current_parsed_root-directory || (__built
 in_constant_p ( current_parsed_root-directory)  strlen (
 current_parsed_root-directory)  ((size_t) ( strlen (current_pars
 ed_root-directory) ? __extension__ ({ size_t __s1_len, __s2_len;
 (__builtin_constant_p (repository)  __builtin_constant
 _p ( current_parsed_root-directory)  (__s1_len = strlen (repository),
 __s2_len = strlen ( current_parsed_root-directory),
 (!((size_t)(const void *)((repository) + 1) - (size_t)(const void
 *)(repository) == 1) || __s1_len = 4)  (!((size_t)(const
 void *)(( current_parsed_root-directory) + 1) - (size_t)(const void *)(
 current_parsed_root-directory) == 1) || __s2_len =
 4)) ? memcmp ((__const char *) (repository), (__const char *) (
 current_parsed_root-directory), (__s1_len  __s2_len ? __s1_l
 en : __s2_len) + 1) : (__builtin_constant_p (repository) 
 ((size_t)(const void *)((repository) + 1) - (size_t)(const void *)
 (repository) == 1)  (__s1_len = strlen (repository), __s1_len  4) ?
 (__builtin_constant_p ( current_parsed_root-directory)
   ((size_t)(const void *)(( current_parsed_root-directory) + 1) -
 (size_t)(const void *)( current_parsed_root-directory) =
 = 1) ? (__extension__ ({ register int __result = (((__const unsigned
 char *) (__const char *) (repository))[0] - ((__const uns
 igned char *) (__const char *)( current_parsed_root-directory))[0]); if
 ( __s1_len  0  __result == 0) { __result = (((__co
 nst unsigned char *) (__const char *) (repository))[1] - ((__const
 unsigned char *) (__const char *) ( current_parsed_root-di
 rectory))[1]); if ( __s1_len  1  __result == 0) { __result =
 (((__const unsigned char *) (__const char *) (repository))[2]
 - ((__const unsigned char *) (__const char *) (
 current_parsed_root-directory))[2]); if ( __s1_len  2  __result ==
 0) __re
 sult = (((__const unsigned char *) (__const char *) (repository))[3] -
 ((__const unsigned char *) (__const char *) ( current_p
 arsed_root-directory))[3]); } } __result; })) : (__extension__ ({
 __const unsigned char *__s2 = (__const unsigned char *) (__
 const char *) ( current_parsed_root-directory); register int __result =
 (((__const unsigned char *) (__const char *) (reposit
 ory))[0] - __s2[0]); if ( __s1_len  0  __result == 0) { __result =
 (((__const unsigned char *) (__const char *) (repository
 ))[1] - __s2[1]); if ( __s1_len  1  __result == 0) { __result =
 (((__const unsigned char *) (__const char *) (repository))[
 2] - __s2[2]); if ( __s1_len  2  __result == 0) __result = (((__const
 unsigned char *) (__const char *) (repository))[3] -
 __s2[3]); } } __result; }))) : (__builtin_constant_p (
 current_parsed_root-directory)  ((size_t)(const void *)(( current_pa
 rsed_root-directory) + 1) - (size_t)(const void *)(
 current_parsed_root-directory) == 1)  (__s2_len = strlen (
 current_par
 sed_root-directory), __s2_len  4) ? (__builtin_constant_p (repository)
  ((size_t)(const void *)((repository) + 1) - (size_
 t)(const void *)(repository) == 1) ? (__extension__ ({ register int
 __result = (((__const unsigned char *) (__const char *) (r
 epository))[0] - ((__const unsigned char *) (__const char *)(
 current_parsed_root-directory))[0]); if ( __s2_len  0  __res
 ult == 0) { __result = (((__const unsigned char *) (__const char *)
 (repository))[1] - ((__const unsigned char *) (__const cha
 r *) ( current_parsed_root-directory))[1]); if ( __s2_len  1 
 __result == 0) { __result = (((__const unsigned char *) (__c
 onst char *) (repository))[2] - ((__const unsigned char *) (__const char
 *) ( current_parsed_root-directory))[2]); if ( __s2_
 len  2  __result == 0) __result = (((__const unsigned char *)
 (__const char *) (repository))[3] - ((__const unsigned char *
 ) (__const char *) ( current_parsed_root-directory))[3]); } } __result;
 })) : (__extension__ ({ __const unsigned char *__s1 =
  (__const unsigned char *) (__const char *) (repository); register int
 __result = __s1[0] - ((__const unsigned char *) (__cons
 t char *) ( current_parsed_root-directory))[0]; if ( __s2_len  0 
 __result == 0) { __result = (__s1[1] - ((__const unsigne
 d char *) (__const char *) ( current_parsed_root-directory))[1]); if (
 __s2_len  1  __result == 0) { __result = (__s1[2] -
  ((__const unsigned char *) (__const char *) (
 current_parsed_root-directory))[2]); if ( __s2_len  2  __result ==
 0) __res
 ult = (__s1[3] - ((__const unsigned char *) (__const char *) (
 

Re: Assertion failed at setting branch tag using rtag

2001-05-17 Thread David Zaroski

On Thu, 17 May 2001, chaessig wrote:

cOups, I forgot to give the CVS version : I'm using the last version
c(1.11.1p1).

c Actually, I got this assertion error twice.
c
c I reproduce this behavior using the :local: connection protocol.
c
c But when I do a checkout of the IHM module, put the same tag in this
c module using the tag command, and then update -r R1, it works !
c The commands run are :
c cvs -d repository checkout IHM
c cd IHM
c cvs -d repository tag -b R1
c cvs -d repository update -r R1

I have seen this as well, but only when accessing a repository that is
actually a symlink. For instance if you have:

/cvsroot - /foo/cvs

If you do the above commands like this (for the above):

cvs -d /foo/cvs rtag -b R1 IHM

You will not get the assertion error. I believe this error will occur for
all the direct accesses (rtag, rlog, rannotate) of a repository *if* the
repository is a symlink.

BTW, don't confuse 'tag' and 'rtag', 'rtag' operates directly on the repository
where as 'tag' works on your working dir and the repository.

.Dave




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