Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Samba CVS at NetLabs - Not Enough Info

1 view
Skip to first unread message

Michael Lueck

unread,
Jan 31, 2006, 1:13:42 PM1/31/06
to
At this page:

http://samba.netlabs.org/?show=cvs

I can't very well guess what module one is suppose to check out to get the code. Could someone please advise, and update the web page as well.

TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

Paul Ratcliffe

unread,
Jan 31, 2006, 7:50:27 PM1/31/06
to
On Tue, 31 Jan 2006 13:13:42 -0500, Michael Lueck
<Nmlu...@SlueckPdataAsystemsM.com> wrote:

> At this page:
>
> http://samba.netlabs.org/?show=cvs
>
> I can't very well guess what module one is suppose to check out to get the code. Could someone please advise, and update the web page as well.

:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba

Dave Parsons

unread,
Feb 1, 2006, 2:34:32 AM2/1/06
to
On Tue, 31 Jan 2006 18:13:42 UTC, Michael Lueck <Nmlu...@SlueckPdataAsystemsM.com> wrote:

> At this page:
>
> http://samba.netlabs.org/?show=cvs
>
> I can't very well guess what module one is suppose to check out to get the code.
> Could someone please advise, and update the web page as well.

Most cvs servers will accept a dot for the default module.
I haven't tried it with the samba project but it works for other
netlabs projects which I have tried.

--
Cheers,
Dave

Michael Lueck

unread,
Feb 1, 2006, 7:48:46 AM2/1/06
to
Dave Parsons wrote:

> Most cvs servers will accept a dot for the default module.
> I haven't tried it with the samba project but it works for other
> netlabs projects which I have tried.

Seems '.' is not the answer either...

Z:\Dev>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: no repository

Michael Lueck

unread,
Feb 1, 2006, 7:49:20 AM2/1/06
to
Paul Ratcliffe wrote:

> :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba

Had that part from the web site, see my other post about the missing detail...

Paul Ratcliffe

unread,
Feb 1, 2006, 2:33:21 PM2/1/06
to
On Wed, 01 Feb 2006 07:48:46 -0500, Michael Lueck
<Nmlu...@SlueckPdataAsystemsM.com> wrote:

>> Most cvs servers will accept a dot for the default module.
>> I haven't tried it with the samba project but it works for other
>> netlabs projects which I have tried.
>
> Seems '.' is not the answer either...
>
> Z:\Dev>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .
> cvs checkout: cannot open CVS/Entries for reading: No such file or directory
> cvs [checkout aborted]: no repository

It is the answer, but you need to login first - password readonly.

cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login


cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .

After that, you can drop the -d stuff when working in your sandbox.

Michael Lueck

unread,
Feb 1, 2006, 5:05:32 PM2/1/06
to
Paul Ratcliffe wrote:

> It is the answer, but you need to login first - password readonly.

I had logged in, here is the full process...

cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login

cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co samba
Z:\Dev>cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login
Logging in to :pserver:gu...@www.netlabs.org:2401/netlabs.cvs/samba
CVS password:

Z:\Dev>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: no repository

It says "No such file or directory"... not something about authentication.

Also on dropping the -d, only true it seems if I set an env var, which I don't intend to do for as little as I do with cvs.

Z:\Dev>cvs co .
cvs checkout: No CVSROOT specified! Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.

Dave Parsons

unread,
Feb 2, 2006, 2:08:43 AM2/2/06
to
On Wed, 1 Feb 2006 22:05:32 UTC, Michael Lueck <Nmlu...@SlueckPdataAsystemsM.com> wrote:

> Paul Ratcliffe wrote:
>
> > It is the answer, but you need to login first - password readonly.
>
> I had logged in, here is the full process...
>
> cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login
> cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co samba
> Z:\Dev>cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login
> Logging in to :pserver:gu...@www.netlabs.org:2401/netlabs.cvs/samba
> CVS password:
>
> Z:\Dev>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .
> cvs checkout: cannot open CVS/Entries for reading: No such file or directory
> cvs [checkout aborted]: no repository
>
> It says "No such file or directory"... not something about authentication.
>
> Also on dropping the -d, only true it seems if I set an env var,
> which I don't intend to do for as little as I do with cvs.
>
> Z:\Dev>cvs co .
> cvs checkout: No CVSROOT specified! Please use the `-d' option
> cvs [checkout aborted]: or set the CVSROOT environment variable.
>

It does work, I've just done so to confirm it.

Paul is right about not having to use the -d, but only after you have
had a successful checkout.

Looking at your quoted transaction, the only differences that I can
see are that I always use a space between the -d and the :pserver:...
and I don't use the compression.

--
Cheers,
Dave

Michael Lueck

unread,
Feb 2, 2006, 6:20:00 AM2/2/06
to
Dave Parsons wrote:

> Looking at your quoted transaction, the only differences that I can
> see are that I always use a space between the -d and the :pserver:...
> and I don't use the compression.

Tried w/o compression, same result.

Added a space between -d and :, nadda...

I use this client against sf.net frequently w/o issue.

Z:\Dev>cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .


cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: no repository

Z:\Dev>cvs -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .


cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: no repository

Z:\Dev>cvs --version

Concurrent Versions System (CVS) 1.11.20 (client)

Copyright (C) 2005 Free Software Foundation, Inc.

Senior active maintainers include Larry Jones, Derek R. Price,
and Mark D. Baushke. Please see the AUTHORS and README files from the CVS
distribution kit for a complete list of contributors and copyrights.

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS

Paul Ratcliffe

unread,
Feb 2, 2006, 12:13:20 PM2/2/06
to
On Thu, 02 Feb 2006 06:20:00 -0500, Michael Lueck
<Nmlu...@SlueckPdataAsystemsM.com> wrote:

> Concurrent Versions System (CVS) 1.11.20 (client)
>
> Copyright (C) 2005 Free Software Foundation, Inc.
>
> Senior active maintainers include Larry Jones, Derek R. Price,
> and Mark D. Baushke. Please see the AUTHORS and README files from the CVS
> distribution kit for a complete list of contributors and copyrights.
>
> CVS may be copied only under the terms of the GNU General Public License,
> a copy of which can be found with the CVS distribution kit.
>
> Specify the --help option for further information about CVS

Is this an OS/2 client? There is an update to 1.12.0.1, but I doubt this is
the problem.
Where is your HOME enviroment variable pointing and is there a .cvspass
file in that location? Does it contain a string for the Samba repository?

What is the output of:
cvs -t -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co -l .

Is there anything in your Z:\dev directory? Is it otherwise writable?

Andreas Schnellbacher

unread,
Feb 2, 2006, 1:26:10 PM2/2/06
to
On 01.02.06 23:05, Michael Lueck wrote:

> Paul Ratcliffe wrote:
>
>> It is the answer, but you need to login first - password readonly.
>
> I had logged in, here is the full process...
>
> cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login
> cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co samba

Why that?

> Z:\Dev>cvs -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba login
> Logging in to :pserver:gu...@www.netlabs.org:2401/netlabs.cvs/samba
> CVS password:
>

Ok. Apparently %HOME% is set and an entry is made to %HOME%\.cvspass

> Z:\Dev>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .
> cvs checkout: cannot open CVS/Entries for reading: No such file or directory
> cvs [checkout aborted]: no repository

You have to create your local repositority fist:

md samba

Always checkout from the root dir:

cd samba
cvs -z9 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .

Why not use highest compression?

--------------------------------
Here an alternative, that I use:

Ensure that %HOME% points to your home directory and that it exists.

Create a file %HOME%\.cvsrc in order to set compression rate (optional):

echo cvs -z9>>%HOME%\.cvsrc

Set CVSROOT. You can omit that step, if you don't checkout the first
time:

set cvsroot=:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba

Create your local repository, if it doesnot exist already:

md \dev\samba

Change to your local repository:

cd \dev\samba

Checkout the entire project repositority:

cvs co .

--
Andreas Schnellbacher

Michael Lueck

unread,
Feb 2, 2006, 2:56:18 PM2/2/06
to
Paul Ratcliffe wrote:

> Is this an OS/2 client?

No, Win32 on Win2K SP4.

> There is an update to 1.12.0.1, but I doubt this is
> the problem.

And I've lost the link I downloaded it from. Nice clean free standing cvs.exe that does not depend on any *nix type libraries being installed.

> Where is your HOME enviroment variable pointing and is there a .cvspass
> file in that location? Does it contain a string for the Samba repository?

HOME=I:\ And .cvspass is there.

> What is the output of:
> cvs -t -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co -l .

Z:\Dev>cvs -t -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co -l .
-> main loop with CVSROOT=:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba
-> safe_location( where=(null) )
-> Connecting to www.netlabs.org(212.12.41.77):2401
S-> do_module (., Updating, , )


cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: no repository

-> Lock_Cleanup()

> Is there anything in your Z:\dev directory? Is it otherwise writable?

Yes, that is the root area for all development work. Lots there, writable for sure.

Michael Lueck

unread,
Feb 2, 2006, 2:59:32 PM2/2/06
to
Andreas Schnellbacher wrote:

>>Paul Ratcliffe wrote:
>>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co samba
>
> Why that?

Because that was an initial guess... did not mean to copy/paste that dir name. I was trying "." dot.

> Ok. Apparently %HOME% is set and an entry is made to %HOME%\.cvspass

Yes, that is all working fine.

>>Z:\Dev>cvs -z3 -d:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co .
>>cvs checkout: cannot open CVS/Entries for reading: No such file or directory
>>cvs [checkout aborted]: no repository
>
> You have to create your local repositority fist:
>
> md samba

Never had to do that yet, trying... Nope, same error.

> Why not use highest compression?

Just starting with the default syntax sf.net had listed on their site. Already had to tweak that to download from a port 80 server they host as their "normal" CVS server is down a LOT. So much for
defaults.

Andreas Schnellbacher

unread,
Feb 2, 2006, 3:11:15 PM2/2/06
to
On 02.02.06 20:59, Michael Lueck wrote:

> Andreas Schnellbacher wrote:
>
>> You have to create your local repositority fist:
>>
>> md samba
>
> Never had to do that

? Here it's required (just tried it).

> yet, trying... Nope, same error.

From which dir did you check out? Here I have to go to my samba dir
first.

--
Andreas Schnellbacher

Michael Lueck

unread,
Feb 2, 2006, 3:25:04 PM2/2/06
to
Andreas Schnellbacher wrote:

> From which dir did you check out? Here I have to go to my samba dir
> first.

I am sitting in Z:\dev and what usually happens, take ooRexx for example, I go and checkout oorexx and it automatically makes Z:\dev\oorexx if it does not exist and places the files under there.
(Thus I tried checking out "samba" but as I have been informed "." is correct for NetLabs projects.)

Even if changing into Z:\dev\samba were "required" it should still try to dump files just in Z:\dev since that is where I am sitting.

Andreas Schnellbacher

unread,
Feb 2, 2006, 4:20:00 PM2/2/06
to
On 02.02.06 21:25, Michael Lueck wrote:

> Andreas Schnellbacher wrote:
>
>> From which dir did you check out? Here I have to go to my samba dir
>> first.
>
> I am sitting in Z:\dev and what usually happens, take ooRexx for
> example, I go and checkout oorexx and it automatically makes
> Z:\dev\oorexx if it does not exist and places the files under there.
> (Thus I tried checking out "samba" but as I have been informed "."
> is correct for NetLabs projects.)
>
> Even if changing into Z:\dev\samba were "required"

It is. Then use

cvs co .

Just read Ulrich Moeller's http://www.xworkplace.org/cvs.html

> it should still try to dump files just in Z:\dev since that is where
> I am sitting.

Checking out to Z:\dev works, but you probably don't like the CVSROOT,
CVS and src subdirs out of the Samba repository in that main dir.
Moreover, that should lead to problems when checking out the 2nd
repository. Maybe that's what occurs in your case, regarding the msg
"cannot open CVS/Entries for reading: No such file or directory".

--
Andreas Schnellbacher

Michael Lueck

unread,
Feb 2, 2006, 4:40:42 PM2/2/06
to
Andreas Schnellbacher wrote:

> Just read Ulrich Moeller's http://www.xworkplace.org/cvs.html

Thanks for the link, more details of NetLab's configuration than on the NetLabs Samba page.

> Checking out to Z:\dev works, but you probably don't like the CVSROOT,
> CVS and src subdirs out of the Samba repository in that main dir.
> Moreover, that should lead to problems when checking out the 2nd
> repository. Maybe that's what occurs in your case, regarding the msg
> "cannot open CVS/Entries for reading: No such file or directory".

OK, lost me here. Folks said to just check out "."... not you seem to suggest that doing so might throw the error message... because there are multiple directories there or something. OK, so what in
the world should I check out and actually get Samba source files to come down?

2nd repository... ??? Do you mean other NetLabs projects, or is Samba in a couple of places on their CVS server...???

Paul Ratcliffe

unread,
Feb 2, 2006, 8:48:39 PM2/2/06
to
On Thu, 02 Feb 2006 14:56:18 -0500, Michael Lueck
<Nmlu...@SlueckPdataAsystemsM.com> wrote:

>> Is this an OS/2 client?
>
> No, Win32 on Win2K SP4.

Then I suggest you ask in the appropriate place. As several people have
pointed out, it works fine with an OS/2 client.

>> What is the output of:
>> cvs -t -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co -l .
>
> Z:\Dev>cvs -t -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co -l .
> -> main loop with CVSROOT=:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba
> -> safe_location( where=(null) )
> -> Connecting to www.netlabs.org(212.12.41.77):2401
> S-> do_module (., Updating, , )
> cvs checkout: cannot open CVS/Entries for reading: No such file or directory
> cvs [checkout aborted]: no repository
> -> Lock_Cleanup()

I get this:

-> parse_cvsroot ( :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba )


-> main loop with CVSROOT=:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba

-> safe_location ( where=(null) )


-> Connecting to www.netlabs.org(212.12.41.77):2401
S-> do_module (., Updating, , )
S-> do_module (., Updating, , )

-> Create_Admin (., ., /netlabs.cvs/samba/., , , 0, 1, 1)
-> unlink(./CVS/Tag)
-> Create_Admin
-> unlink(CVS/Entries.Static)
CVS.EXE server: Updating .
S-> fopen(/netlabs.cvs/samba/CVSROOT/history,a)
S-> unlink(./CVS/Entries.Static)
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink(CVS/Entries)
-> chmod(CVS/Entries,100666)
-> unlink(CVS/Entries.Log)
-> chmod(CVS/Entries.Log,100666)
-> Lock_Cleanup()

As a desperate last resort, you could try creating the files manually.
Make a new sandbox directory e.g. z:\dev\samba
Make the CVS directory e.g. z:\dev\samba\CVS
In this CVS directory, create 3 files:
One called "Entries" containing a "D" character followed by a CR/LF
One called "Repository" containing a "." character followed by a CR/LF
One called "Root" containing:
:pserver:gu...@www.netlabs.org:/netlabs.cvs/samba
followed by a CR/LF.
Then change back to the z:\dev\samba directory and do a "cvs co ."
If it still doesn't work, then boot OS/2 and stop wasting time.

Michael Lueck

unread,
Feb 2, 2006, 9:52:11 PM2/2/06
to
Paul Ratcliffe wrote:

> Then I suggest you ask in the appropriate place. As several people have
> pointed out, it works fine with an OS/2 client.

Oh don't you DARE start that kind of trash! NetLabs site says to NOT contact them, to use THIS GROUP for issues with their project. cvs is cvs is cvs... 'tis a CROSS PLATFORM project. 'nough said.

> If it still doesn't work, then boot OS/2 and stop wasting time.

Not an option right now... have the OS/3 HDD in the box that can boot OS/2. Ah, now there is a thought... use OS/3! Indeed, cvs talks to the NetLabs server on that platform. So either it is their
server or the Win32 client I have, but the client is tried and true against other cvs servers... thus I have my opinion...

Michael Lueck

unread,
Feb 2, 2006, 9:54:57 PM2/2/06
to
Michael Lueck wrote:

> So either it is their server or the
> Win32 client I have, but the client is tried and true against other cvs
> servers... thus I have my opinion...

Ah, and since all of the code was under /src/

cvs -z9 -d :pserver:gu...@www.netlabs.org:/netlabs.cvs/samba co src

happens to work perfect on Win32. Was is SO HARD to say the stink'n directory name!?

Will Honea

unread,
Feb 3, 2006, 3:48:58 AM2/3/06
to
It's probably like my repository - multiple "projects" under one
CVSROOT main directory with deny all permissions on the root of the
repository so that you have to specify a specific project
(subdirectory) for check in/out.

Just for fun, have you tried the java based jCVS? It seems to handle
all that stuff pretty cleanly, makes the setup of a new server/project
simple, and is a pretty decent browser for the projects you check out
with it. With my aging memory, I'll take all the help I can get!

On Thu, 2 Feb 2006 21:40:42 UTC Michael Lueck
<Nmlu...@SlueckPdataAsystemsM.com> wrote:

> Andreas Schnellbacher wrote:
>
> > Just read Ulrich Moeller's http://www.xworkplace.org/cvs.html
>
> Thanks for the link, more details of NetLab's configuration than on the NetLabs Samba page.
>
> > Checking out to Z:\dev works, but you probably don't like the CVSROOT,
> > CVS and src subdirs out of the Samba repository in that main dir.
> > Moreover, that should lead to problems when checking out the 2nd
> > repository. Maybe that's what occurs in your case, regarding the msg
> > "cannot open CVS/Entries for reading: No such file or directory".
>
> OK, lost me here. Folks said to just check out "."... not you seem to suggest that doing so might throw the error message... because there are multiple directories there or something. OK, so what in
> the world should I check out and actually get Samba source files to come down?
>
> 2nd repository... ??? Do you mean other NetLabs projects, or is Samba in a couple of places on their CVS server...???
>


--
Will Honea

Andreas Schnellbacher

unread,
Feb 3, 2006, 11:18:33 AM2/3/06
to
On 03.02.06 09:48, Will Honea wrote:

> It's probably like my repository - multiple "projects" under one
> CVSROOT main directory with deny all permissions on the root of the
> repository so that you have to specify a specific project
> (subdirectory) for check in/out.

...but apparently Michael likes it cluttered. ;-)

> Just for fun, have you tried the java based jCVS?

Both mostly-used W$ GUI CVS paks (one is Tortoise CVS) work as well
with Netlabs repositories.

--
Andreas Schnellbacher

0 new messages