Setting up a CVS repository on the web

2001-06-01 Thread M. Edward Borasky

I want to set up a CVS repository on the web. I need to have access
controlled by a password. How do I do this? Is there code available to do it
already??
--
M. Edward (Ed) Borasky, Chief Scientist, Borasky Research
http://www.borasky-research.net  http://www.aracnet.com/~znmeb
mailto:[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]

If there's nothing to astrology, how come so many famous men were born on
holidays?


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



Re: Multiple repositories - how to setup inetd.conf ?

2001-06-01 Thread Peter Ajamian

Thomas Bednarz wrote:
> 
> Hello
> 
> If I like to have multiple repositories with different access rights (using
> pserver) do I have to make multiple entries in my inetd.conf file?
> 
> I like to have the following repositories:
> /cvs/Java
> /cvs/C++
> 
> for a single repository I would do:
> 
> cvspserver stream tcp nowait root /usr/sbin/tcpd
> /usr/bin/cvs --allow-root=/cvs/Java pserver
> 
> Do I have to add another line with a different --allow-root= parameter or
> can I add mulitple paths here or how does that work?

You only need one line with multiple --allow-root= entries.

Regards, Peter

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



Setting up CVS for web access

2001-06-01 Thread M. Edward Borasky

I want to set up a CVS repository on my web page. I need to have only
certain people allowed to access the repository, using a login and password.
They need to be able to check source in and out and do builds. Is there a
how-to on this? Any existing code?

--
M. Edward (Ed) Borasky, Chief Scientist, Borasky Research
http://www.borasky-research.net  http://www.aracnet.com/~znmeb
mailto:[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]

If there's nothing to astrology, how come so many famous men were born on
holidays?


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



Re: CVS & SSL

2001-06-01 Thread Greg A. Woods

[ On Friday, June 1, 2001 at 15:45:16 (-0400), Derek R. Price wrote: ]
> Subject: Re: CVS & SSL
>
> > Huh?  All I've seen are patches to CVS, not a proper stand-alone module!
> 
> Perhaps I don't understand.  What exactly are you proposing?

If you want to use SSL with CVS then write something that looks, feels,
and tastes, just like SSH or RSH, and that requires the user to point to
it by setting CVS_RSH in their environment and then using "-d :ext:".

That's stand-alone.

Just as you could hack SSH to listen on the pserver port and use
CVSROOT/passwd (though such a hack would be insecure in that it would
eliminate your ability to hold users accountable), so could you devise
something using SSL to do likewise.

Either way CVS does nothing with security, not even answer calls on the
pserver port; never runs as root; never calls setuid() or friends;
etc.; and thus can never be used to subvert repository security (at
least not so long as it's made plainly clear that without individually
accountable unix IDs there's only a shared account and no
accountability) and indeed.

Obviously access to CVS on the server still ipmlies possible access to
the shell, but since it'll never run as root you can chroot it much more
safely.

Beyond those inherent limitations all praise or blame for remote
security lies solely in the external module.

-- 
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: How to mirror a cvs repository?

2001-06-01 Thread Fabrice Gautier


On Sat, 02 Jun 2001 00:35:31 +0200
Fabrice Gautier <[EMAIL PROTECTED]> wrote:

> 
> On Fri, 01 Jun 2001 14:45:14 -0400
> "Derek R. Price" <[EMAIL PROTECTED]> wrote:
> 
> > You might look into CVSup & rdist.  Links for CVSup are available from
> > http://cvshome.org .
> 
> I don't think I can use rdist in this case, i don't have access at all
> to the server except for anonymous cvs.
> 
> I'll look how CVSup works...

CVSup won't worf for me neither since it doesn't support cvs server
remote protocol - or, to be exact, cvs protocol lacks features to make
cvsup work
(this is in the "Work to do" list at cvshome.org).


-- 
Fabrice Gautier <[EMAIL PROTECTED]>


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



Re: How to mirror a cvs repository?

2001-06-01 Thread Fabrice Gautier


On Fri, 01 Jun 2001 14:45:14 -0400
"Derek R. Price" <[EMAIL PROTECTED]> wrote:

> You might look into CVSup & rdist.  Links for CVSup are available from
> http://cvshome.org .

I don't think I can use rdist in this case, i don't have access at all
to the server except for anonymous cvs.

I'll look how CVSup works...

> Try the mail archives too.  This question comes up frequently.

Unfortunately the mail archive on cvshome.org is not searchable so i've
not looked very far. Are you aware of a searchable archive ?

Thanks,

-- 
Fabrice Gautier <[EMAIL PROTECTED]>


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



Re: tag dates

2001-06-01 Thread David Zaroski

On Thu, 24 May 2001, Matthew Riechers wrote:

MR>
MR>"McCann, Brian" wrote:
MR>>
MR>> Hi,
MR>>
MR>> Our build script tags our builds nightly, when I do a cvs log  on a file I
MR>> get output showing all the tags,  but there is no date associated with the
MR>> tag.
MR>>
MR>> Is there away to get the dates the tag was put on the source code?
MR>
MR>This won't tell you the date you made the tag, but the log tells you the
MR>tags associated w/ each revision number. Just look at that revision
MR>entry for its date. In the future you can put the date/time in the tag
MR>itself, or just log the tag name (build number) and date in a seperate
MR>file , and use that as a reference.

Another option would be to write a script to display the tags, revision and
date of that revision for a particular file. The benefit of doing so is that
there are no performance penalties that can occur if you log every tag
operation via taginfo. For instance (a snip of output from my script):

cvs_1_10_8 : 1.1.1.24 date: 2000/03/17 19:32:47  author: dez
cvs_1_11_1 : 1.1.1.26 date: 2001/04/27 04:36:10  author: dez

.Dave



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



Re: Put ".deps" directories in .cvsignore files?

2001-06-01 Thread Derek R. Price

Stephen Cameron wrote:

> Hi, I've checked out CVS sometime ago from cvs.cvshome.org,
> and now I do:
>
> [scameron@zuul ccvs]$ cvs -z3 -nq update
> ? lib/.deps/argmatch.Po
> ? lib/.deps/dup2.Po
> ? lib/.deps/fncase.Po
> [ ... loads more ? files...]
> ? src/.deps/[loads of ? files...]
>
> Should there be .cvsignore entries for these .deps directories?
> Or is there a reason not to?

These directories were briefly checked into CVS because of a mistake of
mine.  I've since deleted them from the repository, but for one reason
or another CVS kept checking out the empty directory, or perhaps, more
specifically, creating admin files for them when they already existed in
the workspace, despite -P being passed to cvs up.  This is probably a
bug but I never researched it fully enough to document it.

If you delete the .deps/CVS dir once and remove the .deps entry from
CVS/Entries, you shouldn't experience any further problems.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
89. A day without sunshine is like, you know, night.




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



CVS search

2001-06-01 Thread Olivier Schlatter



Hi,
 
I'm looking for a web interface which can be able 
to do a search inside each file of a CVS module.
I tried CVSSearch, but the query runs on the CVS 
comments and not inside the files.
Do you know something that can help 
me.
 
Thanks a lot in advance.
Olivier


Re: Put ".deps" directories in .cvsignore files?

2001-06-01 Thread Larry Jones

Stephen Cameron writes:
> 
> Should there be .cvsignore entries for these .deps directories?

There are.

-Larry Jones

I'm crying because out there he's gone, but he's not gone inside me. -- Calvin

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



Put ".deps" directories in .cvsignore files?

2001-06-01 Thread Stephen Cameron


Hi, I've checked out CVS sometime ago from cvs.cvshome.org,
and now I do:

[scameron@zuul ccvs]$ cvs -z3 -nq update   
? lib/.deps/argmatch.Po
? lib/.deps/dup2.Po
? lib/.deps/fncase.Po
[ ... loads more ? files...]
? src/.deps/[loads of ? files...]

Should there be .cvsignore entries for these .deps directories?
Or is there a reason not to?

thanks,

-- steve

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: CVS & SSL

2001-06-01 Thread Derek R. Price

"Greg A. Woods" wrote:

> [ On Friday, June 1, 2001 at 13:59:20 (-0400), Derek R. Price wrote: ]
> > Subject: Re: CVS & SSL
> >
> > "Greg A. Woods" wrote:
> > >
> > > So build your little "provider" as an external program that CVS can call
> > > and there'll be no problem!  (well, at least not within CVS! :-)
> >
> > That's exactly what I did.  I'm sorry, I thought that was clear.
>
> Huh?  All I've seen are patches to CVS, not a proper stand-alone module!

Perhaps I don't understand.  What exactly are you proposing?

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
You can't fool me, sonny!  It's turtles all the way down!




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



Re: CVS & SSL

2001-06-01 Thread Greg A. Woods

[ On Friday, June 1, 2001 at 13:59:20 (-0400), Derek R. Price wrote: ]
> Subject: Re: CVS & SSL
>
> "Greg A. Woods" wrote:
> >
> > So build your little "provider" as an external program that CVS can call
> > and there'll be no problem!  (well, at least not within CVS! :-)
> 
> That's exactly what I did.  I'm sorry, I thought that was clear.

Huh?  All I've seen are patches to CVS, not a proper stand-alone module!

-- 
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: CVS update, deleting files that are no longer current

2001-06-01 Thread Larry Jones

Christian Hargraves writes:
> 
> How do you do an cvs update that automatically purges the files that have
> since been removed?

cvs update

-Larry Jones

Summer vacation started!  I can't be sick! -- Calvin

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



Re: Linux security issues as they pertain to CVS

2001-06-01 Thread Greg A. Woods

[ On Friday, June 1, 2001 at 14:02:22 (-0400), Derek R. Price wrote: ]
> Subject: Re: Linux security issues as they pertain to CVS
>
> "Greg A. Woods" wrote:
> 
> > The problem is that I see it as if you're trying to say that CVS Pserver
> > plus SSL equals secure.  It most certainly does not.  You have no
> > provable authentication and thus no provable accountability.
> 
> Not on the server side, but it prevents sniffing.

Why bother?  You're gaining so little and adding yet more opportunities
for fatally wrong perceptions to creep in.

I.e. if something's worth doing then it's worth doing right (the first time!).

>  Server certificate checking can
> prove to the client that it got the correct server and this can prevent the user from
> sending her password to an imposter.

Have you implemented that?  Securely (i.e. with real Unix IDs)?

Why not just use SSH?  It can do that already, out-of-the-box even!

-- 
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: CVS & SSL

2001-06-01 Thread Larry Jones

Greg A. Woods writes:
> 
> My suggestion has *ALWAYS* been to only ever store just unix-format text
> files in CVS (even if your repository doesn't currently sit on a proper
> unix-like system).  How you do that is up to you.  My suggested
> implementation has (always, iirc) been to do the conversion when reading
> and writing the file from/to the client filesystem and to *always* do
> the network communications in unix format.

This is, in fact, the way CVS is currently intended to work.  Of course,
that doesn't stop people from subverting it by operating on files with
non-native line endings.

-Larry Jones

What this games needs are negotiated settlements. -- Calvin

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



CVS update, deleting files that are no longer current

2001-06-01 Thread Christian Hargraves

How do you do an cvs update that automatically purges the files that have
since been removed?



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



Re: lock/authorization fails

2001-06-01 Thread Derek R. Price

Jeffrey Bacon wrote:

> WinCVS Error (on remove command):
> cvs server: failed to create lock directory in repository `/home/cvsroot':
> Permission denied
> cvs server: failed to obtain dir lock in repository `/home/cvsroot'
> cvs [server aborted]: read lock failed - giving up

This is a permissions problem on the server.  You need write access to the
directory, even to read, unless LockDir is set on the server to some directory
you do have write access to.


> CVS Command Line Error: (on login command)
> $ cvs login
> (Logging in to jbacon@core)
> CVS password:
>  for user jbaconrization failed: server core rejected access to
> /home/cvsroot

The server rejected access.  This could be a bad cvsroot, a bad userid, or a
bad password.  If you update your CVS server to 1.11.1p1 you would get better
error reporting out of it.


> Using CYGWIN tools in Win2000.  I've tried deleting my .cvspass file and the
> only way we know how to fix this is delete the entire local copy of the
> source and re-check it out -- not great as I have changes not checked in.
>

If deleting the local copy of the source fixes the problem, then try overriding
your root using the -d option to CVS.  Sounds like you were using a different
cvsroot when you checked out the code.  If you want to edit all the CVS/Root
files in your local workspace to point at the correct repository that could
work too.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
I know of no safe depository of the ultimate powers of the society but the
people themselves, and if we think them not enlightened enough to exercise that
control with a wholesome discretion, the remedy is not to take it from them,
but to inform their discretion.

- Thomas Jefferson, 1820.




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



Re: Remove file from branch

2001-06-01 Thread Larry Jones

Chen, Susie writes:
> 
> If I remove a file from a branch, will the file be removed from HEAD after I
> merge the branch into HEAD?

Yes.

-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: Permission denied when using CVS remotely

2001-06-01 Thread Derek R. Price

Kris Thielemans wrote:

> I've set -up CVS on our Linux system (SuSE 6.3,cvs 1.10.7). It all works
> fine.
> Now I'm trying to access the archive remotely. I try this from both a Sun
> (solaris 2.7, cvs 1.10.7) and NT (4.0 sp5, using the cvs version 1.11
> distributed with cygwin).
>
> I get "Permission Denied" error messages when I try certain things, while it

These error messages are tough for me to interpret as well, but the /tmp
directory would be my first suspicion.  Check your
/usr/local/cvsroot[/module[/...]] and any LockDir you may have set as well.

Upgrading your server to 1.11.1p1 (available from http://cvshome.org ) might
help matters as well.  Many error messages have been improved and many bugs
have been fixed in the year or two since 1.10.7 was current.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
It is as useless to argue with those who have renounced the use and authority
of reason as to administer medication to the dead.

- Thomas Jefferson




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



Re: How to mirror a cvs repository?

2001-06-01 Thread Derek R. Price

Fabrice Gautier wrote:

> ould like to create a local cvs server which mirror another
> repository. I only have anonymous access to the original repository.

You might look into CVSup & rdist.  Links for CVSup are available from
http://cvshome.org .

Try the mail archives too.  This question comes up frequently.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
I will not expose the ignorance of the faculty.
I will not expose the ignorance of the faculty.
I will not expose the ignorance of the faculty...

  - Bart Simpson on chalkboard, _The Simpsons_




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



Re: Permission denied when using CVS remotely

2001-06-01 Thread Larry Jones

Kris Thielemans writes:
> 
> I've set -up CVS on our Linux system (SuSE 6.3,cvs 1.10.7). It all works
> fine.
> Now I'm trying to access the archive remotely. I try this from both a Sun
> (solaris 2.7, cvs 1.10.7) and NT (4.0 sp5, using the cvs version 1.11
> distributed with cygwin).
> 
> I get "Permission Denied" error messages when I try certain things, while it
> works when doing other things. Other things seem to go wrong as well.

Update to the most recent release (1.11.1p1), which you can get from
www.cvshome.org.  It has much better error reporting.

-Larry Jones

Fortunately, that was our plan from the start. -- Calvin

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



Re: CVS - SSH question

2001-06-01 Thread Greg A. Woods

[ On Friday, June 1, 2001 at 10:17:21 (-0400), Robert  Briggs wrote: ]
> Subject: CVS - SSH question
>
>   My question is how to get WinCVS to work with SSH without having to
> enter the password in the SSH window with every command that is executed.

That's an SSH question, the answer to which depends on which SSH client
and server implementations you are using and what security policies are
in effect on the server.

I'd susggest asking on the <[EMAIL PROTECTED]> mailing list.

You might also try reading the instructions written to help users of
sourceforge (under their "Site Docs" project):

http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1

There's a bit more basic stuff here:

http://sourceforge.net/docman/display_doc.php?docid=3602&group_id=1


While you're there you might want to read about SSH security issues too:

http://sourceforge.net/forum/forum.php?forum_id=89285

:-)

-- 
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: Reverting a module in a CVS repository

2001-06-01 Thread Larry Jones

Prouse, Dwight E writes:
> 
> I need help.  We currently have a module in our CVS repository that is no
> good, and would like to revert the repository to a previously tagged
> revision.  How do we do this?  Any suggestions would be helpful.

http://cvshome.org/docs/manual/cvs_5.html#SEC62

-Larry Jones

I don't need to improve!  Everyone ELSE does! -- Calvin

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



Re: How to mirror a cvs repository?

2001-06-01 Thread Mike Castle

On Fri, Jun 01, 2001 at 06:21:05PM +0200, Fabrice Gautier wrote:
> I would like to create a local cvs server which mirror another
> repository. I only have anonymous access to the original repository.

would cvsup work in this scenario?

mrc
-- 
 Mike Castle  [EMAIL PROTECTED]  www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

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



Re: CVS GUI (Solaris 2.8)

2001-06-01 Thread Derek R. Price

Federico Montesino Pouzols wrote:

> On Thu, May 31, 2001 at 03:45:09PM -0500, Lamar Seifuddin wrote:
> > Good Afternoon, All,
> >
> > I have CVS-1.11.1p installed on a Solaris 2.8 environment.
> > and converted our software from SCCS to CVS.
> >
> > This users list has been very helpful in enabling me to do this
> > effort.   Much Thanks
> >
> > Question:What gui-type packages are available and compatible
> > with the environment I've just set up?
>
> You can always use the web based interfaces. For instance, the
> tk based one (tkCVS or something like that) or the java based (smartCVS
> or something like that) both should work. look at www.cvwgui.org

jCVS is another java GUI as well.  cvsgui.org should have information on
gCVS a c or c++ X-based gui.  There are links to some of these projects
from cvshome.org.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
I will not do anything bad ever again.
I will not do anything bad ever again.
I will not do anything bad ever again...

  - Bart Simpson on chalkboard, _The Simpsons_




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



Re: CVS and assesment

2001-06-01 Thread Larry Jones

Thomas Tuft Muller writes:
> 
> I imagine a scenario where each
> programmer is forced to check in once a week (preferrably with a specific
> tag indicating that the files are possibly untested/uncompilable). Proper
> scripts could analyze the code regarding inter alia number of
> lines/words/bytes, commenting, commenting rules, coding-rules, class
> cohesion, method-length, class-length, parameter names, variable names, etc,
> etc. In addition the scripts should also take into account the state of the
> archive last time the scripts were run, and analyze/provide statistics about
> the change.
> 
> Combined with a weekly/monthly submitted timeplan from the programmers, this
> could be a valuable tool for managers to see the overall as well as
> individual progress/quality.
> 
> Does such analying scripts exist for the CVS archive format?

I sincerely hope not.

-Larry Jones

Hmph. -- Calvin

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



Re: Updating a branch

2001-06-01 Thread Larry Jones

Claire McGarry writes:
> 
> In CVS can you update the branch with the bug fix you just implemented on
> the mainline?

http://cvshome.org/docs/manual/cvs_5.html#SEC62

-Larry Jones

I never get to do anything fun. -- Calvin

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



Re: CVS & SSL

2001-06-01 Thread Greg A. Woods

[ On Saturday, June 2, 2001 at 07:42:50 (+0800), Mark Harrison wrote: ]
> Subject: Re: CVS & SSL
>
> Are you suggesting that we should not rely on our version control system
> to generate well-formed text files?

No, I'm suggesting that if you have to rely on using non-compatible text
file formats portably across some number of incompatible systems then
you'd better learn to deal with their differences in some way that does
*NOT* rely on your version control system!

My suggestion has *ALWAYS* been to only ever store just unix-format text
files in CVS (even if your repository doesn't currently sit on a proper
unix-like system).  How you do that is up to you.  My suggested
implementation has (always, iirc) been to do the conversion when reading
and writing the file from/to the client filesystem and to *always* do
the network communications in unix format.  I think this scheme would be
flawless, but it's elegance seems to escape many people.  This scheme is
of course easier to implement now that all of the other tools CVS uses
on the client side are now integrated directly into the program

However it's very important to note that such an implementation still
wouldn't excuse you from learning to properly deal with the different
formats outside of the version control system!

FYI I'm currently re-learning Smalltalk (with Squeak) and I'm still
struggling to understand why the Squeak VM doesn't always read and write
native-format files by default (except for, of course, binary platform-
independent files that are meant only for it to read and write).

Using this as an analogy I think one should consider the CVS repository
files to be a binary platform-independent file format that just happens
to also be compatible with unix-format text files.

-- 
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: CVS LockDir Help

2001-06-01 Thread Derek R. Price

Donald Sharp wrote:

> On Thu, May 31, 2001 at 08:28:24PM +0600, William Asquith wrote:
> > Sorry to kept this up.  The "" removal might
> > have made the difference.  It is now
> > apparently working for 'junkcvs', but checkout is not working for
> > 'fortworth'.  Here is CVSROOT (should permissions be stricter for
> > users?):
> >
> > [asquith@balrog txdotcvs]$ ls -l
> > total 16
> > drwxrwxr-x3 asquith  cvsadmin 4096 May 31 15:05 CVSROOT
> > drwxr-xr-x3 asquith  txdotcvs 4096 May 31 15:06 cvslocks
>
> The group txdotcvs doesn't have write permission in the cvslocks directory.

The usual UNIXy thing to do to support multiple users/groups using the same
lockdir is to set the sticky gid bit on the lockdir.  This enables BSD style
directory permission inheritance on many *nices.  That's uysually accomplished
through something like 'chmod g+s '

Of course if both users already have the same default group then you won't
need to do this.  Just set the group write permissions as Donald pointed out.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
I will not sleep through my education.
I will not sleep through my education.
I will not sleep through my education...

  - Bart Simpson on chalkboard, _The Simpsons_




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



Re: Linux security issues as they pertain to CVS

2001-06-01 Thread Derek R. Price

"Greg A. Woods" wrote:

> The problem is that I see it as if you're trying to say that CVS Pserver
> plus SSL equals secure.  It most certainly does not.  You have no
> provable authentication and thus no provable accountability.

Not on the server side, but it prevents sniffing.  Server certificate checking can
prove to the client that it got the correct server and this can prevent the user from
sending her password to an imposter.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
"My father often told me,
We have servants and machines
in order that our will may be carried out
beyond the reach of our own arms.
Machines are more powerful than servants
and more obedient and less rebellious,
but machines have no judgement
and will not remonstrate with us
when our will is foolish,
and will not disobey us
when our will is evil.
In times and places where people despise the gods,
those most in need of servants have machines,
or choose servants who will behave like machines.
I believe this will continue
until the gods stop laughing."

-Orson Scott Card, "Children of the Mind"




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



Re: deleting branches.

2001-06-01 Thread Derek R. Price

Donald Sharp wrote:

> I just tried using the admin -n command in a test repository.  I'm getting:
>
> donsharp-u5:27> cvs admin -nFOOZLE:1.5.0.2 bar
> RCS file: /nfs/swtrf/repository/test/c/bar,v
> cvs [admin aborted]: revision `1.5.0.2' does not exist
>
> I know 1.5.0.2 doesn't exist, but that's the branch revision number...

Actually, CVS still understands the original RCS file format, so you can attach the
tag to rev 1.5.2 and everything should work properly.  I'm not actually sure why
both branch specification formats are supported by CVS.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
I will not sleep through my education.
I will not sleep through my education.
I will not sleep through my education...

  - Bart Simpson on chalkboard, _The Simpsons_




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



Re: CVS & SSL

2001-06-01 Thread Derek R. Price

"Greg A. Woods" wrote:

> > Well, yeah.  I think this discussion started about the generic socket
> > provider hook I provided, initially with the idea that it would be useful
> > with an SSL provider.  This leaves CVS room to use authenticating and
> > non-authenticating channel providers now - a non-authenticating provider
> > (one which doesn't have/provide a useful user ID on the server) will use the
> > old authentication server, at the least for logging purposes.  If the
> > administrator desires something more secure, she can work that out for
> > herself - the hooks are there.
>
> So build your little "provider" as an external program that CVS can call
> and there'll be no problem!  (well, at least not within CVS! :-)

That's exactly what I did.  I'm sorry, I thought that was clear.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
"My father often told me,
We have servants and machines
in order that our will may be carried out
beyond the reach of our own arms.
Machines are more powerful than servants
and more obedient and less rebellious,
but machines have no judgement
and will not remonstrate with us
when our will is foolish,
and will not disobey us
when our will is evil.
In times and places where people despise the gods,
those most in need of servants have machines,
or choose servants who will behave like machines.
I believe this will continue
until the gods stop laughing."

-Orson Scott Card, "Children of the Mind"




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



Remove file from branch

2001-06-01 Thread Chen, Susie

If I remove a file from a branch, will the file be removed from HEAD after I
merge the branch into HEAD?

Thanks
-Susie
RSA Security Inc.
http://www.rsasecurity.com
Tel:6406210 ext 270
 

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



Re: CVS - SSH question

2001-06-01 Thread Gwen Park

>   My question is how to get WinCVS to work with SSH without having to
> enter the password in the SSH window with every command that is executed.

Following are instructions I wrote some time ago to get WinCVS and
passwordless ssh working. You can find ssh-1.2.14-win32bin.zip at:
http://opensores.thebunker.net/pub/mirrors/ssh/contrib/ssh-1.2.14-win32bin.zip

gwen


Requirements:
\\hal\software\sshcliwin32\ssh-1.2.14-win32bin.zip
\\hal\software\wincvs\wincvs.zip
account on cvs server with proper permissions

Steps:
1.  Install windows command line ssh client
a.  unzip ssh-1.2.14-win32bin.zip anywhere (e.g. C:\ssh);
make sure it is in its permanent location, as there is
no setup.exe to run afterwards.
b.  mkdir \etc located within directory used in last step
(e.g. C:\ssh\etc)
c.  add directory in Step 1a to %PATH% environmental
variable
--Note: At this point, you should be able to access the
ssh.exe and scp.exe from any location using the
command line.
d.  set %HOME% environmental variable to any location;
this location should be someplace specific to the
individual user (e.g. C:\home\username)
e.  mkdir %HOME%\.ssh (e.g. C:\home\username\.ssh)
f.  ssh -l username cvs_host (the next few commands will
be on the unix remote host)
g.  ssh-keygen1 (accept default locations and when
prompted for a password, leave blank)
h.  cat $HOME/.ssh/identity.pub >> $HOME/.ssh/authorized_keys
i.  chmod 644 .ssh/authorized_keys
--Note: You will need to ensure that there are no group or
other write permissions through $HOME/.ssh. If there
are, passwordless ssh will not work properly.
j.  logout (return back to local Windows command prompt)
k.  cd %HOME%\.ssh
l.  scp username@cvs_host:.ssh/* .
--Note: At this point, you should be able to log in to
cvs_host without using a password. This is critical
for WinCVS to operate properly. If this doesn't work,
go back and make sure you did all the steps properly.

2.  Install wincvs
a.  unzip wincvs.zip
b.  run setup.exe; all the default settings are fine
(alternatively, you may choose to run installer from
hal)
c.  launch wincvs.exe (it should be located under
Start/Programs)
d.  Enter ":ext:username@cvs_host:/usr/local/cvsroot" in
text box
e.  Select SSH server in Authentication drop box
f.  Press OK.
g.  Select Checkout Module under CVS Admin menu
h.  Choose an appropriate location to keep your cvs
working copy (e.g. %HOME%) and press OK
i.  Enter the module name in text box
j.  Press OK
k.  Select %HOME% as your home directory
l.  Press OK
--Note: At this point, you should see standard cvs checkout
output printing in the white area the the bottom
right. If nothing happens after a minute, you should
first check if cvs_host is having problems. If the
server seems okay, make sure passwordless ssh is
working. If you didn't set up passwordless ssh
correctly, WinCVS will not checkout files b/c it is
waiting for the user to enter a password (WinCVS
doesn't allow the user to interactively enter one). If
those things are fine, make sure you followed the steps
properly.
--Note: These next steps are optional.
m.  Select Change browser location under View menu.
n.  Select working copy location.
o.  Press OK.

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



Ambiguous Redirect

2001-06-01 Thread Brad Pfautsch

CVS Version: 1.10.7-7
Linux Version: Debian 2.2 r2

When I added the script
"^cyclic-pages  (date; cat; (sleep 2; cd /u/www/local-docs; cvs -q update -d)
&) >> $CVSROOT/CVSROOT/updatelog 2>&1" to the LogInfo file in
CVSROOT/CVSROOT, I get "sh:1 ambiguous redirect" when I commit changes to
the project.  I verified that the directory was there and had a checked out
copy of the project in it.  Also, the updatelog file is generated, but it's
empty.  Any ideas what I could be doing wrong?  Thanks.



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



Have you been hacked by f*ck PoizonBOx?

2001-06-01 Thread L@@K dont throw away!

I've created an online community called "Have you been hacked by f*ck 
PoizonBOx?". 

http://www.delphi.com/PoizonBOx/start/

Please join the discussion! 
With the message board, you can view discussion folders quickly in the 
left-hand column and read up to 20 messages at a time. You can even attach 
files (such as pictures and programs) directly to messages -- just like 
e-mail. It's fast, easy, and efficient. 

As the Forum "Host," I control the specific features of the Forum. The 
other options include real-time Chat, voice chat, and polls. I can also 
choose to make it public or private. 

I've chosen to make this Forum public so anyone can participate, so feel 
free to tell your friends. 

The best way into my Forum is at the following URL: 
http://www.delphi.com/PoizonBOx/start/

I'm eager to hear comments and suggestions. Let's get the conversation 
started! 

Best regards, 

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



Reverting a module in a CVS repository

2001-06-01 Thread Prouse, Dwight E

I need help.  We currently have a module in our CVS repository that is no
good, and would like to revert the repository to a previously tagged
revision.  How do we do this?  Any suggestions would be helpful.

Dwight Prouse



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



How to mirror a cvs repository?

2001-06-01 Thread Fabrice Gautier

Hi,

I would like to create a local cvs server which mirror another
repository. I only have anonymous access to the original repository.

If the files in the local repository doesn't have the same version
numbers and tags, this could be ok (though this would be better)...

I don't need to be able to commit to my local mirror .

Any ideas?

I first tought of creating a new repository, then checking out from original
server, then checking in to the mirror but i think this could be tricky
because of the CVS/ directories etc...

Thanks

-- 
Fabrice Gautier <[EMAIL PROTECTED]>


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



Re: CVS - SSH question

2001-06-01 Thread Mike Castle

On Fri, Jun 01, 2001 at 10:17:21AM -0400, Robert Briggs wrote:
> Greetings,
>   My question is how to get WinCVS to work with SSH without having to
> enter the password in the SSH window with every command that is executed.

This is more of an ssh question really, and might be better answered in an
ssh specific forum (say, the newsgroup comp.security.ssh).

But, one way is to use ssh-keygen to create a public/private key pair, and
put the public key on the remote side (don't use a passphrase, of course).

But this doesn't realy offer a lot of security.  Anyone with physical
access can then take your private key and use it wherever they like.

I'm not sure how useful something like ssh-agent is in this case, I have
no experience with it.  But maybe that's what you need.

mrc
-- 
 Mike Castle  [EMAIL PROTECTED]  www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

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



Re: make check fails on redhat 6.2

2001-06-01 Thread Derek R. Price

Larry Jones wrote:

> Derek R. Price writes:
> >
> > Larry, unfortunately, 'date +%z' doesn't appear to be portable, but 'date -u' is
> > defined to return UTC by SUS2.  Any objections to something like 'expr abs\(`date
> > +%M` - `date -u +%M`\)/10' to grab the minute differential?
>
> Other than the fact that most expr's don't understand abs()?

I didn't look that up.  I figured 'if x < 0 then x *= -1' is easy enough to write,
even in shell...


>  And that it doesn't work unless the offset is 0 or 30 minutes? (If the offset is
> negative, you need to add 60, not negate it.)

Good point, I was assuming that the only fractional timezones would be 0 or 30, but
that's easy enough to do if others exist... now 'if x < 0 then x+= 60'...  Okay, the
third timezone page I found actually lists some of the odd island states with 45
minute offsets for their zones, so I guess this would be the way to go.


>  Also, I'm not sure how
> common date -u is -- a quick check here didn't turn up any systems
> without it, but it's not in V7 Unix which is my touchstone for *real*
> portability.  Fractional timezones are rare enough that I'm not sure
> it's worth worrying about, other than noting in TESTS (which I've
> already done, but haven't checked in pending the outcome of this
> discussion).

Well, if we add this and get too many complaints, we could back it out.  The other
option is to fall back on the old code if 'date -u' fails...  it would be a net gain.


> > We could probably get the hours exact this way too with a little bit of effort.
> > I don't know if that's important to this particular test.
>
> It's somewhat important -- the point of that test (and some of its
> neighbors) is to ensure that imported files get timestamped correctly in
> the repository.  Right now, they make sure it's at least in the right
> ballpark (assuming you're not in a fractional timezone), but it would be
> better to check it exactly if there's a highly portable way to do that
> that isn't too complicated.

Well, I say the above might add 50 lines of code so far.  Not so bad.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
I am not a dentist.
I am not a dentist.
I am not a dentist...

  - Bart Simpson on chalkboard, _The Simpsons_




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



RE: Checking out new directory

2001-06-01 Thread Andy Baker

cvs update -d

Andy

-Original Message-
From: McCann, Brian [mailto:[EMAIL PROTECTED]]

I know how to create a new directory in the repository by
cvs add
cvs commit
but how can I have the other developers get this directory without checking
out the whole repository again?



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



Checking out new directory

2001-06-01 Thread McCann, Brian

Hi,

I know how to create a new directory in the repository by
cvs add
cvs commit
but how can I have the other developers get this directory without checking
out
the whole repository again?

Thanks,
Brian

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



RE: deleting branches.

2001-06-01 Thread Andy Baker

Nah. ISTR that admin -n will only work if it can latch on to something that
already exists

-Original Message-
From: Donald Sharp [mailto:[EMAIL PROTECTED]]

> I just tried using the admin -n command in a test repository.  I'm
getting:




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



CVS - SSH question

2001-06-01 Thread Robert Briggs

Greetings,
My question is how to get WinCVS to work with SSH without having to
enter the password in the SSH window with every command that is executed.

Thanks,
Bob



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



RE: -jHEAD:yesterday

2001-06-01 Thread Stephen Cameron

Tony Mantler wrote:
> basically I type...
> 
> cvs update -jHEAD -jHEAD:yesterday

and it doesn't do what he expects.

Well, I don't know what to say about that, but at the very least, you did lead
me to find a gaping hole in my ".trunk" patch.  I tried

cvs update -j.trunk -j.trunk:yesterday 

to see if that would work any better...well, it cores... yikes.

I suspect that may happen with any branch + date construct where
branch == ".trunk"

The patch I'm refering to is here:
http://www.geocities.com/dotslashstar/branch_patch.html

-- steve




__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



RE: Help for Locking the repository

2001-06-01 Thread Andy Baker

A key point of CVS is the Concurrency. If you need to lock like that then
CVS isn't the tool for you.

As for permissions on specific directories - this has been discussed quite
recently here. Either group your users and set the permissions on the
directories accordingly, or write some sort of script to be called by
commitinfo

Andy

-Original Message-
From: Pushpa Jesu Rajah [mailto:[EMAIL PROTECTED]]

I would like to know how to lock the repository.  My requirement is, if one
person has checked out other person should not be able to check out.  How to
do in CVS pserver.

Another requirement I have is, I would like to give permission of some
directories inside the repository only for few people? How to do that.



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: Skipping directories in "checkout"

2001-06-01 Thread Andy Baker

My experience with cvs would suggest that it's always a good idea to trap
stdout and stderr and examine for potential problems. I've seen situations
where I get a 0 status returned even though something I consider to be a
problem has occurred. That's not a criticism of cvs btw, just that I see
somethings differently cos of the way we work here.

Andy 

-Original Message-
From: Reinstein, Shlomo [mailto:[EMAIL PROTECTED]]

I expect to know from CVS (through its
exit status, and perhaps also through an error message) that something went
wrong. Otherwise the only way for me to intercept it is to capture the
errors from the standard error (or output). 



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 GUI (Solaris 2.8)

2001-06-01 Thread Shubhabrata Sengupta

There's another effort called SmartCvs at www.smartcvs.com - needs JDK 1.3
though - which should come bundled with Solaris 2.8

Thanks

Shubho

-Original Message-
From: Federico Montesino Pouzols <[EMAIL PROTECTED]>
To: Lamar Seifuddin <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, June 01, 2001 5:10 PM
Subject: Re: CVS GUI (Solaris 2.8)


>On Thu, May 31, 2001 at 03:45:09PM -0500, Lamar Seifuddin wrote:
>> Good Afternoon, All,
>>
>> I have CVS-1.11.1p installed on a Solaris 2.8 environment.
>> and converted our software from SCCS to CVS.
>>
>> This users list has been very helpful in enabling me to do this
>> effort.   Much Thanks
>>
>> Question:What gui-type packages are available and compatible
>> with the environment I've just set up?
>
> You can always use the web based interfaces. For instance, the
>tk based one (tkCVS or something like that) or the java based (smartCVS
>or something like that) both should work. look at www.cvwgui.org
>
>
>>
>>
>> ___
>> 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
>


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



Re: CVS & SSL

2001-06-01 Thread Mark Harrison

From: Greg A. Woods <[EMAIL PROTECTED]> wrote:
> I'd suggest looking deeper into what SSH can really do; and also into
> better ways of dealing with inter-platform end-of-line issues that don't
> rely on your version-control tool to do the translation!

Are you suggesting that we should not rely on our version control system
to generate well-formed text files?

--
Mark Harrison   [EMAIL PROTECTED] "the arms merchant of choice
Chief Software Architect [EMAIL PROTECTED]  for virtually every combatant
AsiaInfo Holdings, Inc.   +86-1390-138-3470  in China's network wars..."
Beijing/Santa Clara/Hong Kong icq:106821430 - Wall Street Journal



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



Re: CVS GUI (Solaris 2.8)

2001-06-01 Thread Federico Montesino Pouzols

On Thu, May 31, 2001 at 03:45:09PM -0500, Lamar Seifuddin wrote:
> Good Afternoon, All,
> 
> I have CVS-1.11.1p installed on a Solaris 2.8 environment.
> and converted our software from SCCS to CVS.
> 
> This users list has been very helpful in enabling me to do this
> effort.   Much Thanks
> 
> Question:What gui-type packages are available and compatible
> with the environment I've just set up?

You can always use the web based interfaces. For instance, the 
tk based one (tkCVS or something like that) or the java based (smartCVS
or something like that) both should work. look at www.cvwgui.org


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



Permission denied when using CVS remotely

2001-06-01 Thread Kris Thielemans

Hi,

I've set -up CVS on our Linux system (SuSE 6.3,cvs 1.10.7). It all works
fine.
Now I'm trying to access the archive remotely. I try this from both a Sun
(solaris 2.7, cvs 1.10.7) and NT (4.0 sp5, using the cvs version 1.11
distributed with cygwin).

I get "Permission Denied" error messages when I try certain things, while it
works when doing other things. Other things seem to go wrong as well.

Examples:
- on the SUN, a first 'cvs checkout parapet' failed to produce the
parapet/CVS directory. I got a message about CVS/Entries, but unfortunately
can't recall what it was (I tried it again after creating a subdirectory,
and then it was there). On NT this worked fine.
- The 2nd time I try the 'cvs checkout parapet' (while in the same place), I
get "Permission denied" on NT. On the Sun, in the location parapet/CVS
exists, I also get permission denied. In the other location, it works but
get all mesasges like
"cvs checkout: move away parapet/recon_test_pack/test_image_5.v; it is in
the way". This is probably because the first checkout was broken.
(I'm not really sure if doing a checkout twice is 'legal' though).
- cd parapet;cvs update gives permission denied
- cvs release parapet gives permission denied
etc.

Things which work:
- cvs log
- cvs edit, unedit

What puzzles me is that some things do work.
(And yes, 'rsh parapet ls' works as well).


What can I do to find out what generates the 'permission denied' message? (I
think a more useful error message would have been handy).


screenshots from NT
---
$ cvs -t checkout parapet
cvs checkout: notice: main loop with CVSROOT=parapet:/usr/local/cvsroot
 -> Starting server: rsh parapet cvs server
S-> do_module (parapet, Updating, , )
Permission denied

kris@PETNT1 ~
$ cd parapet

kris@PETNT1 ~/parapet
$ cvs -t update
cvs update: notice: main loop with CVSROOT=parapet:/usr/local/cvsroot
 -> Starting server: rsh parapet cvs server
Permission denied

$ cd ..

kris@PETNT1 ~
$ cvs -t release -d parapet
cvs release: notice: main loop with CVSROOT=parapet:/usr/local/cvsroot
 -> Starting server: rsh parapet cvs server
 -> run_popen(cvs -n -q -d parapet:/usr/local/cvsroot update,r)
Permission denied
cvs release: unable to release `parapet'

$ rsh parapet pwd
/home/kris

Kris Thielemans
([EMAIL PROTECTED])
Imaging Research Solutions Ltd
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom

Phone on :   +44 (020)8383 3731
FAX on : +44 (020)8383 2029

web site address:
http://www.irsl.org/~kris


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



CVS and assesment

2001-06-01 Thread Thomas Tuft Muller

Hi,

Excuse me if I'm totally off-topic; this is my first posting to this
mailing-list.

I wonder if anybody have som experience with using CVS to follow up
work-quality, project progress, individual measurement of work amount done
over specific periods of time etc, etc. I imagine a scenario where each
programmer is forced to check in once a week (preferrably with a specific
tag indicating that the files are possibly untested/uncompilable). Proper
scripts could analyze the code regarding inter alia number of
lines/words/bytes, commenting, commenting rules, coding-rules, class
cohesion, method-length, class-length, parameter names, variable names, etc,
etc. In addition the scripts should also take into account the state of the
archive last time the scripts were run, and analyze/provide statistics about
the change.

Combined with a weekly/monthly submitted timeplan from the programmers, this
could be a valuable tool for managers to see the overall as well as
individual progress/quality.

Does such analying scripts exist for the CVS archive format?

--

Thomas





*
Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved. 
Confidential. No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

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



Re: Updating a branch

2001-06-01 Thread Matthew Riechers


Claire McGarry wrote:
> 
> Assume you have a branch for long term development.
> 
> A bugfix is required, and you fix the bug in the main line code.
> 
> In CVS can you update the branch with the bug fix you just implemented on
> the mainline?
> 
> Thanks
> 
> Claire

The usual method is to make the fix at the revision where the bug first
appeared (on a branch). If the bug still exists in the HEAD (mainline),
a merge will fix the bug in the current revision. I believe you can
reverse the technique to merge the mainline into a branch. See the
following for details:

http://www.cvshome.org/docs/manual/cvs_5.html#SEC54
http://cvsbook.red-bean.com/cvsbook.html#Branches

-Matt

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



Updating a branch

2001-06-01 Thread Claire McGarry


Assume you have a branch for long term development.

A bugfix is required, and you fix the bug in the main line code. 

In CVS can you update the branch with the bug fix you just implemented on
the mainline?

Thanks

Claire

 winmail.dat


subscribe

2001-06-01 Thread Claire McGarry




 winmail.dat