unneccessary diffs with $Header$

2004-06-07 Thread Johann Uhrmann
Hello,
there is a strange behaviour in the WinCVS command line client
(WinCVS 1.10.8):
If I use the command "cvs admin -sRel" to mark files as "Released",
the WinCVS client get a "Local Modified" message. It seems that cvs
thinks the windows clients changed the text in the header tag back
from "Rel" to "Exp".
Therefore, if a "cvs admin -sRel" is issued, all windows clients
think that their file state is "Locally modified" instead of "Up to date".
In my oppinion, a state change should not be reflected as a change.
(Eclipse seems to handle it that way, btw.)
Is there something I can change at the cvs server side?
Is this a bug in WinCVS?
Kind regards,
Johann Uhrmann
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


cvs with mysql

2004-06-07 Thread Ramanuj Singh








How can we store the cvs operations in RDBMS-MySQL. For eg- whenever
a tag or rtag command is executed the user name, name of tag ,module name, and
the date gets stored in MySQL.

We need to do it for each cvs operations. Is there any tool
or we have to write a script in perl for it

Thanks in advance

 









The information transmitted is intended only for the person or entity to whom it is addressed and may contain confidential and / or privileged Material. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Thank you for your understanding & co-operation. 


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


RE: reports

2004-06-07 Thread Jim.Hyslop
Alexander Taler wrote:
[...]
> > "Ramanuj" == Ramanuj Singh <[EMAIL PROTECTED]> writes:
[...]
>   Ramanuj>Ramanuj> xmlns:w="urn:schemas-microsoft-com:office:word"
>   Ramanuj> xmlns="http://www.w3.org/TR/REC-html40";>
etc.

OK, the only thing worse than posting HTML in this list is *QUOTING* the
HTML.

Ramanuj, please adjust your settings to post plain-text only. I'm surprised
Mark hasn't already yelled at you for this ;-)

Alexander, please refrain from top-posting, and *PLEASE* trim your posts.

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



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


RE: Attaching hooks

2004-06-07 Thread Jim.Hyslop
Ramanuj Singh wrote:
> Can we attach hooks in cvs i.e. whenever a cvs command is 
> given a particular script could be run.
> For eg. If we give cvs status then a script which performs 
> some functions related to status starts running.
> The script could be different for each cvs commands.
Ramanuj, I will repeat my advice of the other day: Read the manual. It's all
there.


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


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


RE: Running standard CVS and CVSNT on the same repository?

2004-06-07 Thread Carucci, Jason
Why not just keep the CVS installation the same on your server and install
CVSNT on your Windows machines?  This is the setup that I'm using and it
works just fine.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Doug Lee
Sent: Saturday, June 05, 2004 4:33 PM
To: [EMAIL PROTECTED]
Subject: Running standard CVS and CVSNT on the same repository?


I run a CVS server on FreeBSD, currently cvs v1.11.5 because that's what
came with my FreeBSD installation.  I access this server from the same
FreeBSD box, from another FreeBSD box, and from an assortment of Windows
machines, currently all using standard CVS under Windows.

I'm wondering if I can install CVSNT on the server FreeBSD box and start
letting Windows machines use that as their server instead of the standard
CVS on that box, without causing problems such as repository corruption,
incompatible repository changes made by one server and unreadable by the
other, etc.  I assume I'd be fine suddenly making everyone use the CVSNT
server, but then I'd be worried about updates to FreeBSD itself, which might
make use of the stock CVS.

Comments welcome.


-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
"Characters live to be noticed. People with character notice how they live."
-- Nancy Moser


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


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


Re: CVS corrupts binary files ...

2004-06-07 Thread Larry Jones
Mark D. Baushke writes:
> 
> If someone wants to write a patch that will run the
> equivalent of 'file' on new source files to determine that
> the file needs -kb by default, that would be a useful
> extension to cvs client mode for both 'cvs add' and 'cvs
> import' cases.

Note carefully that Mark said the *equivalent* of file -- the 'file'
command doesn't exist on many of the plaforms CVS runs on.

-Larry Jones

In short, open revolt and exile is the only hope for change? -- Calvin


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


RE: unneccessary diffs with $Header$

2004-06-07 Thread Jim.Hyslop
Johann Uhrmann wrote:
> there is a strange behaviour in the WinCVS command line client
> (WinCVS 1.10.8):
> 
> If I use the command "cvs admin -sRel" to mark files as "Released",
> the WinCVS client get a "Local Modified" message. It seems that cvs
> thinks the windows clients changed the text in the header tag back
> from "Rel" to "Exp".
> 
> Therefore, if a "cvs admin -sRel" is issued, all windows clients
> think that their file state is "Locally modified" instead of 
> "Up to date".
*All* windows clients? Be careful with your generalizations, please. The GNU
command-line client and SmartCVS both show the file as "up-to-date". The GNU
command-line client even shows no difference, i.e. 'cvs di' returns nothing
(SmartCVS, OTOH, flags the line as changed).

> In my oppinion, a state change should not be reflected as a change.
> (Eclipse seems to handle it that way, btw.)
This is a problem with WinCVS, not with the command-line client.

> Is there something I can change at the cvs server side?
> Is this a bug in WinCVS?
It would seem so.

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



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


Re: reports

2004-06-07 Thread Mark D. Baushke
Jim.Hyslop <[EMAIL PROTECTED]> writes:

> Alexander Taler wrote:
> [...]
> > > "Ramanuj" == Ramanuj Singh <[EMAIL PROTECTED]> writes:
> [...]
> >   Ramanuj>  >   Ramanuj> xmlns:w="urn:schemas-microsoft-com:office:word"
> >   Ramanuj> xmlns="http://www.w3.org/TR/REC-html40";>
> etc.
> 
> OK, the only thing worse than posting HTML in this list is *QUOTING* the
> HTML.
> 
> Ramanuj, please adjust your settings to post plain-text only. I'm
> surprised Mark hasn't already yelled at you for this ;-)

FYI. I am mostly just 'ignoring' all mailing list postings that have
non-public-use license statements pasted into them at the end of the
message. I just have to 'assume' the message is not intended for me and
delete them.

In a few cases (such as this one), I have sent e-mail to the postmaster
of the offending message to complain, but it seems to do little good. 

So, in this case, I have complained to the [EMAIL PROTECTED] along
with Ramanuj suggesting that a different e-mail address that does not
believe it owns the disposition of the text of an outoing message. I
doubt it will help. There are many other folks with reasonable questions
to help, why should I spend MY TIME with those who are using anti-social
company policies?

-- Mark


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


RE: cvs with mysql

2004-06-07 Thread Peter Connolly
Title: Message



Take a look at Bonsai:
 
http://www.mozilla.org/projects/bonsai/
 
or XCVS (if you're Windows 
only):
 
http://xcvs.sourceforge.net/
 
pc

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Ramanuj SinghSent: Monday, June 07, 2004 4:11 AMTo: 
  '[EMAIL PROTECTED]'Subject: cvs with mysql
  
  How can we store the cvs 
  operations in RDBMS-MySQL. For eg- whenever a tag or rtag command is executed 
  the user name, name of tag ,module name, and the date gets stored in 
  MySQL.
  We need to do it for each cvs 
  operations. Is there any tool or we have to write a script in perl for 
  it
  Thanks in 
  advance
   
  The information transmitted is intended only for 
  the person or entity to whom it is addressed and may contain confidential and 
  / or privileged Material. Any review, re-transmission, dissemination or other 
  use of or taking of any action in reliance upon, this information by persons 
  or entities other than the intended recipient is prohibited. If you received 
  this in error, please contact the sender and delete the material from your 
  computer. Thank you for your understanding & co-operation. 
  
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: reports

2004-06-07 Thread Peter Connolly
Take a look at Bonsai:

http://www.mozilla.org/projects/bonsai/

or XCVS (if you're Windows only):

http://xcvs.sourceforge.net/

pc

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ramanuj Singh
Sent: Saturday, June 05, 2004 7:33 AM
To: '[EMAIL PROTECTED]'
Subject: reports


How cvsgraph/cvsweb extract tags and branches from repository. I have
gone through their codes but I m harldly able to get some information
about the extraction of tags and branches. Or give me a script which
gives information about all the tags and branches along with the date of
creation  and name of author. This is really urgent as I m new in CVS
and working as cvs administrator. Don't tell me about the history
command as it generates reports only for the tags created with rtag
command.
Even CVSWeb also gives the graphical view of branch and tag. If u can
help me in this scenario , I will be grateful to u. Have to generate
this kind of report on urgent basis. 
I need the kind of report as history command generates for all tags. As
I have mentioned earlier the history command is not of great help as
generates report about the tags or branches created by rtag command. So
the tags created by simple tag command are not mentioned in this repor
 
I need to generate report from cvs reporsitory for a project which
displays the fields as I mentioned before. Don't need to just look up in
wincvs and get information. I have to generate report from cvs
repository. Not have to manually see those information and pen it down.
May be a script can do. There are many projects in our repository and
for each project looking at the graphical view and penning down the
information is not the stuff we have to do. I have to submit the reports
about the tags and branches on Monday. I m cvs newbee. So its really
urgent. 
The format for the report which will do is as follows, 
DateName of tag or branch Name of the author 
Right now have to generate report for the project of duration of three
months from march to may, on weekly basis 
So may be now u get the thing wat I want. 
 


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


RE: cvs with mysql

2004-06-07 Thread Peter Connolly
Reposting without all the Outlook formatting garbage...  As well as that
proprietary garbage at the end...

pc

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter Connolly
Sent: Monday, June 07, 2004 9:30 AM
To: Ramanuj Singh; [EMAIL PROTECTED]
Subject: RE: cvs with mysql


Take a look at Bonsai:

http://www.mozilla.org/projects/bonsai/

or XCVS (if you're Windows only):

http://xcvs.sourceforge.net/

pc
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ramanuj Singh
Sent: Monday, June 07, 2004 4:11 AM
To: '[EMAIL PROTECTED]'
Subject: cvs with mysql


How can we store the cvs operations in RDBMS-MySQL. For eg- whenever a
tag or rtag command is executed the user name, name of tag ,module name,
and the date gets stored in MySQL.
We need to do it for each cvs operations. Is there any tool or we have
to write a script in perl for it
Thanks in advance
 



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


Latest stable CVS binary

2004-06-07 Thread Ben Smith
All, 
I am trying to obtain the latest stable build of CVS for Solaris 8
(1.11.16?) but the FTP server at cvshome.org does not appear to be working.
Does anyone know of an alternative site that I can download this from? The
latest version available on the Sun website is 1.11.5.

Thanks,
Ben


General Dynamics United Kingdom Limited
Registered in England and Wales No. 1911653
Registered Office: 100 New Bridge Street, London, EC4V 6JA 


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


RE: Latest stable CVS binary

2004-06-07 Thread Conrad T. Pino
I can provide a Solaris 8 Intel binary.
Sorry but I don't have a SPARC machine.



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


RE: Latest stable CVS binary

2004-06-07 Thread Jim.Hyslop
Ben Smith wrote:
> I am trying to obtain the latest stable build of CVS for Solaris 8
> (1.11.16?) 

You'd probably be better off to build the binaries yourself from source. I
think the tarballs are available. It's not too painful - really ;=)

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


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


newbie question on initializing repository

2004-06-07 Thread Bret A Cooper

Hello,

This is a first time user question.

We have collected all of our source
files within a directory structure and are ready to initialize the cvs
repository.  There are a couple
thousand files.  Roughly 20% are binary type files and are scattered
around throughout various directories.

My original plan was to run the cvs
init command from the topmost directory and be done.  However,
I now believe its not that simple, as
the binary files(only) must be initialized with the -kb option.  
Is that correct? If so, any suggestions
on the simplest/easiest to go about this?

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


RE: newbie question on initializing repository

2004-06-07 Thread Christopher.Fouts
Title: Message



In 
this case, I'd import a blank project, and then use "cvs add" in a script to add 
the
files, 
using the -kb option accordingly. Here's a 
c-shell pseudo-code
 
# 
Assume *.h and *.cpp files are text files, and the rest are binary 
files...
for f 
in `find .`; then
    if [ -f $f ]; 
then
    # found a 
file, test if binary
    if [ $f == 
*.h || $f == *.cpp ]; then
   
# add binary file
   
cvs add -kb $f;
    
else
   
# add text file
   cvs 
add $f;
    else
   if [ -d $f ]; 
then
  
# add directory
  
cvs add $f;
   fi;
    fi;
done
   
 You get the idea. Gurus may have a better 
solution though
 
-chris
 

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf 
  Of Bret A CooperSent: Monday, June 07, 2004 4:47 
  PMTo: [EMAIL PROTECTED]Subject: newbie question on 
  initializing repositoryHello, This is a first time 
  user question. We have collected 
  all of our source files within a directory structure and are ready to 
  initialize the cvs repository. 
   There are a couple thousand files.  Roughly 20% are binary type 
  files and are scattered around 
  throughout various directories. My 
  original plan was to run the cvs init command from the topmost directory and 
  be done.  However, I now believe 
  its not that simple, as the binary files(only) must be initialized with the 
  -kb option.   Is that correct? If 
  so, any suggestions on the simplest/easiest to go about this? 
  Thanks, Bret Cooper
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: newbie question on initializing repository

2004-06-07 Thread Larry Jones
Bret A Cooper writes:
> 
> My original plan was to run the cvs init command from the topmost 
> directory and be done.

I think you mean cvs import -- init just creates a repository, it does
not populate it with user files.

> However,
> I now believe its not that simple, as the binary files(only) must be 
> initialized with the -kb option. 
> Is that correct? If so, any suggestions on the simplest/easiest to go 
> about this?

If you can distinguish the binary files from the text files by their
names (e.g., *.gif files are always binary), you can use the CVS
wrappers facility to automatically handle the files correctly -- see the
manual for details (and note that you can specify -W as many times as
you need to on the import command):



-Larry Jones

Oh yeah?  You just wait! -- Calvin


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


Any CVS tricks for creating patch files?

2004-06-07 Thread kynn




To create a patch, I could do this:

  % cvs co -d buggy -r Release_0_1 MyProj
  % cvs co -d fixed -r Release_0_1_Bugfixes MyProj

  % LC_ALL=C TZ=UTC0 diff -Naur buggy fixed > Release_0_1_Patch

...but I wonder if there are some CVS tricks to streamline the process
further.

Thanks!

kynn



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


Re: Any CVS tricks for creating patch files?

2004-06-07 Thread Larry Jones
[EMAIL PROTECTED] writes:
> 
> ...but I wonder if there are some CVS tricks to streamline the process
> further.

You mean like the "cvs patch" command?

-Larry Jones

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


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


password authentication problem

2004-06-07 Thread Jean LEE



Hello all,
 
There si one week that I try to make a WinCVS 
client (192.168.0.2)  working with a CVS server (192.168.0.1) on Linux 
but without success. I think there is something that I have really do not 
understood. Here is what I done with pserver (I know that it is not secure but 
it seems to be the easiest) :
 
installing CVS on Linux (Redhat 7.3) in 
/usr/local/cvs/
add to PATH : 
/usr/local/cvs/bin
 
cd /usr/local/cvs
mkdir cvsroot
set CVSROOT to /usr/local/cvs/cvsroot
 
cvs init
I tried somme things locally and it works (import, 
checkout, commit,)
chmod 777 -R /usr/local/cvs (not secure but to be 
sure I have the rights...)
create passwd file in 
/usr/local/cvs/cvsroot/CVSROOT which contains only :
 
station:
 
set SystemAuth=no in the 'config' file in /usr/local/cvs/cvsroot
 
in /etc/xinetd.d, I created the file cvspserver 
with the lines :
 
    service cvspserver
    {
        
port                
=2401
        
socket_type    =stream
        
protocol  =tcp
        
wait                
=no
        
user                
=root
        
passenv  =PATH
        
server         
=/usr/local/cvs/bin/cvs
        
server_args = -f 
--allow-root=/usr/local/cvs/cvsroot pserver
    }
 
restart xinetd service
verify that xinetd is listening on port 2401 with 
netstat
 
 
on WINCVS :
 
Admin -> Preferences -> 
    Authentication : 
pserver    Path: 
/usr/local/cvs/cvsroothost address: 
192.168.0.1
    user name: station
 
Admin -> login
When asking for a password, I type enter without 
any password
 
Then, I received the message :
 

CVSROOT: [EMAIL PROTECTED]:/usr/local/cvs/cvsroot (password 
authentication)
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on 
win32
CVSROOT: [EMAIL PROTECTED]:/usr/local/cvs/cvsroot (password 
authentication)
cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvs/cvsroot login 
Logging in to 
:pserver:[EMAIL PROTECTED]:2401:/usr/local/cvs/cvsroot
cvs [login aborted]: Error reading from server 192.168.0.1: 0: No such file 
or directory
* CVS exited normally with code 1 *
Which is the file or directory which is not found 
?
Any advice would be great..
Jean
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Any CVS tricks for creating patch files?

2004-06-07 Thread kynn

   Date: Mon, 7 Jun 2004 18:08:20 -0400 (EDT)
   From: [EMAIL PROTECTED] (Larry Jones)

   [EMAIL PROTECTED] writes:

   > ...but I wonder if there are some CVS tricks to streamline the process
   > further.

   You mean like the "cvs patch" command?

That'll probably do it.  :-)

kynn


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