Re: The CVSROOT field & WinCVS

2001-10-19 Thread James Knowles

> So I don't really know what to do. There is no other explanations...
> And there is nothing about that in the CVS online doc.

It is not well-explained. I have a document to explain WinCVS setup that I
am writing. It's not very good right now, but it is slowly improving. I can
give some help if you can give feedback on my bad document. :-)

http://www.ifm-services.com/people/jamesk/papers/cvs/cvs-win32-client.html

-- 
It is from the power of taxation being in the hands of those who can throw
so great a part of it from their own shoulders, that it has raged without a
check. 
- Thomas Paine, The Rights of Man, Pt.II, 1792.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS and Delphi

2001-10-19 Thread James Knowles

> Is anyone using CVS to store Borland Delphi source code, 

Yes, Delphi, Kylix, and cross-platform Delphi/Kylix code. 

Using WinCVS+TortoiseCVS on Windows, command-line on Linux. 

> as I am unsure how
> to link our versions of components with versions of source code ?

??? I'm not sure what you mean. 

Do you mean third-party components? Put those in their own modules. 

Do you mean home-brew components? Handle those either as separate modules or
subsets of your projects. 

-- 
Never underestimate the power of human stupidity.
- Lazarus Long
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Organizing many CVS projects: How to?

2001-10-30 Thread James Knowles

We have a large number of different projects for different clients as well
as in-house development.

I've struggled a bit to figure out how to best set up CVS to handle these. I
can create a zillion projects under a single CVSROOT location, but that very
quickly gets messy. However, it does have the nice benefit of only one
$CVSROOT environment variable. 

Is it advisable to organize these into separate directory hierarchies, doing
a "cvs init" on each? Does this do bad things? 

Are there any specific strategies? I'll admit that I'm used to Visual Source
Safe organizing projects in a single-rooted hierarchy. 

Any ideas welcome. 

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



Re: Organizing many CVS projects: How to?

2001-10-30 Thread James Knowles

> Why do you say it gets messy?  

What was previous organized into a hierarchy now needs to be
flattened_through_very_long_project_names. While, yes, this can be done, I
already have, what, 30? projects. 

What about when it reaches 50? 100? I still need to go back to old projects
at random on a reasonably regular basis. Archiving and restoring does
nothing to alleviate organizational hell. It only addresses the symptoms. 

I feel like I've gone from OOP back to C. I can throw up my hands and just
live with it, I guess. It's better than making a daily .tgz file.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Organizing many CVS projects: How to?

2001-10-31 Thread James Knowles

> You can use the CVSROOT/modules file to have aliases 

Another feature I forgot about. CVS is just too flexible. ;-) (just
kidding!)

> More importantly (in a multi-user enviroment at least) for different access
> rights/policies. The way I look at repositories is as a unit of
> authorship/authority, where as a module is a unit of logic or (domain)
> functionality.

Duh! Good point. I was struggling with that one a little. Man, does my brain
need a reboot!
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Unable to find cvserver software 4 Linux

2001-11-20 Thread James Knowles

> I cant find a server for linux, 

Any major distro should have cvs. For example, on my RedHat CVS server:

jamesk@sage:~ :-) rpm -qi cvs
Name: cvs   Relocations: /usr
Version : 1.11  Vendor: Red Hat, Inc.
Release : 3 Build Date: Mon 29 Jan 2001 01:09:08 PM MST
[...]

-- 
The office of government is not to confer happiness, but to give men the
opportunity to work out happiness for themselves. 
- William Ellery Channing
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Making a file writeable

2001-10-11 Thread James Knowles

> In a sane and normal source control
> system, 

Do you mean a "we can't figure out how to implement parallel development so
we'll put a straightjacket on our customers and convince them that it's
superior" source control system? 

> files stay read only until you check them out.  

Bad Bad Bad Bad Bad 
Oh how many times I've wanted to smack somebody up side the head for this. 

This is OK only in some development environments. 

> CVS seems to be
> neither and lets people change files at will.  This is quite bad and counter
> productive.

Have you attempted to understand the theory of operation? I've spent a
weekend giving myself a crash course in CVS. Yes, it's different than, say
Visual Source Safe, but it's neither wrong, bad, nor counterproductive. I
rather like it. Sadly it's freaking another developer out in a big way --
and I have to deal with him. 

CVS requires a mental adjustment to client-oriented parallel development.
The straightjacket is off. 

I guess it's like freedom. Freedom scares the living daylights out of people
conditioned to living under tight controls. 

-- 
Practice makes permanent. Perfect practice makes perfect.
- Seville
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Module directory nameing....

2001-10-11 Thread James Knowles

> now if I can just add locking to CVS

Try understanding client-oriented parallel development. It will cause less
heartburn, reduce your stress, and reduce the rate of hair loss. 

Locking exists as an administrative option. However...

I would seriously discourage trying to make CVS behave like Visual Source
Safe. Much unhappiness. CVS is a tool designed to do a task well. Don't try
to force it to be a different tool. Happiness => False.

-- 
The program isn't debugged until the last user is dead.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



WinCVS: Dates on files

2001-10-13 Thread James Knowles

A WinCVS question; I guess actually a general CVS question:

Is it possible to preserve the date/time on files when doing an update? I
have files that I modified a few months ago, checked them into a new
repository, and did an update in a different directory. The dates/times are
the current date/time. 

This isn't a huge deal; it's more a convenience as I consolidate several
versions of the project into CVS. 

Thnx in advance!

-- 
The only thing that helps me retain my fragile grasp on reality is the
friendship that I share with my collection of singing potatoes.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Handling project documentation using CVS

2001-10-16 Thread James Knowles

I'm in a similar situation.

> I am debating whether or not it makes sense to put this stuff into my CVS
> repository.  

What is your alternative? If you don't have any other approach, then DO IT!
Better CVS on binary data than nothing at all. I can't count how many times
I've said, "OOPS!" and lost something forever. Once is excusable. Twice
isn't. 

> Just
> create a
> subdir called "docs" in my source tree, 

That's what I do for each project. Each project has a bin, obj, doc, src,
and test subdirectory. Only things in doc, src, and test are actually
checked in. The others are for automatically creating the directories. 

This works fine for our purposes. We don't have any need to check out the
documentation divorced from the rest of the project. If you do, then a
second module may be appropriate.

> On one level, I have a feeling that CVS isn't the best way to handle
> versioning these documents.  

What are you looking for? Of course, one can't do a diff between versions.
If you don't make lots of small changes, CVS is fine as a repository. If you
do, things may get big and slow over time. In this case you'll have to adopt
a strategy, such as a secondary repository for milestones, and wiping out
the incremental repository. 

> I can't think of any really, really, solid reasons why NOT 

As opposed to doing what? 

-- 
Only the future is certain; the past is always changing.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: RedHat 7.1

2001-10-16 Thread James Knowles

> Does anybody have it working on RedHat7.1 ?

I've installed CVS as part of the normal RH7.1 install several times. No
problems, ever. I've also installed CVS as an afterthough. No problems,
again. 

-- 
Maybe this world is another planet's Hell.
- Aldous Huxley
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Update/merge conflict question

2001-12-01 Thread James Knowles

When I do a 'cvs update' and there are conflicts, diff-like text is put into
the text.

Is there some way to prevent this without preventing the normal update
merge, which is very nice? I don't always catch these conflicts on a large
project until I try to compile and the compiler barfs on the diff text. 

It'd also be nice to use a visual merge tool to resolve these rather than
hack the text. 


-- 
Time has slipped away. / Your life is stolen. / You tarried with trifles, /
Victim of your folly.
- "Dirge for Jamis on the Funeral Plain," from "Songs of Muad'Dib" by the
Princess Irulan
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: copy repository to a new cvs-server

2001-12-02 Thread James Knowles

> I have a new cvs-server and I want to copy the whole repository
> from the old to the new server. The newest cvs-version is installed
> and running on the new one.
> What is the best way to do this?

I personally use rsync. All our machines have the r* command disabled, so I
have to use 'rsync -essh' to ensure rsync uses ssh for transport. This works
great for remote hosts over insecure networks. I've pretty much stopped
using tar+ftp. 

Be sure the read the man pages for the difference between

rsync -av -essh /var/cvs newserver:/new/cvsroot/path 

and 

rsync -av -essh /var/cvs/ newserver:/new/cvsroot/path 

(note the trailing slash on "/var/cvs/"). 

-- 
Remember: every member of your 'target audience' also owns a broadcasting
station. These 'targets' can shoot back.
- Michael Rathbun to advertisers in n.a.n-a.e
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: copy repository to a new cvs-server

2001-12-02 Thread James Knowles

> Just a note that this set of links:

Cute trick!

-- 
A straw poll only shows which way the hot air blows.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Rename a directory?

2001-12-06 Thread James Knowles

I've looked through the FAQ and the Cederqvist, but I didn't find an answer.
(I could be blind.)

I have a subdirectory in a module that I need to rename. I can "rename"
files, but I'd like to rename the directory but not lose the CVS information
for the two files in the directory.

(Yes, I did a dumb thing and named the directory 'cvs', which under Linux is
fine as the metadata is in 'CVS'. However, I can't do a checkout into
Windows because of its #&*(&@ case-insensitive file names.) 

I could login to the CVS server and do a "mv" but I don't know if I'd nuke
something. 

-- 
Your focus determines your reality.
- Qui-Gon Jinn ("Star Wars: The Phantom Menace")
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



ANNOUNCE: Updated document available (CVS, Windows, ssh)

2001-12-12 Thread James Knowles

Thanks to some tremendous community input, my notes for setting up a Windows
workstation to use a remote CVS server have been updated. 

Some people have found this useful, so I'm making a general announcement
here. Otherwise, it's just a bunch of personal notes to compensate for an
imperfect memory. YMMV. Void where prohibited. Do not operate heavy
machinary or drive while using this product. 

http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html

Happy holidays


-- 
I'm Batman! Oh, wait, no I'm not..
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: SSH and WinCVS

2001-12-12 Thread James Knowles

> I'm successfully using WinCVS (1.3.6.1 Beta 6) on two Win2000 machines.
> Connection is via SSH to a repository on FreeBSD.
> I'm running into a problem connecting from a third machine (Win2000 also).
...
> Server refused our key.

I don't know details, but I'll take a stab at this.

Did you generate a new public/private keypair and put the public key into
~/.ssh/authorized_keys? Is ~/.ssh world or group readable? (Generally a
no-no.) 

IIRC that message comes up when ssh is talking correctly, but can't
automatically authenticate due to some glitch with the keys. 

-- 
You know, Hobbes, some days even my lucky rocketship underpants don't help.
- Calvin
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs co error: "No space left on device"

2001-12-12 Thread James Knowles

> What we did was to increase the size of /tmp and put in a cron job to
> remove anything in /tmp that was over a couple of days old.  Since
> your /tmp is only 6% full, it looks like you don't have the slow
> filling-up problem we had, but you may need to enlarge /tmp.

You can also use the -T option to use a different directory instead of /tmp.

-- 
The idea that the more helpless one is the safer they are is so irrational
it defies words.
- Patricia Lawson, http://www.armedpassengers.com/
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Removing a directory from CVS impossible?

2001-12-12 Thread James Knowles

> dirX/ : exists but is empty
> (I simply haven't found a way to delete a CVS-directory
> entry!!??).

Log onto the CVS server and do a "rmdir". 
cvs update -P should work then.

-- 
When others do a foolish thing, you should tell them it is a foolish thing.
They can still continue to do it, but at least the truth is where it needs
to be.
- Dukat "Babylon 5"
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: SSH and WinCVS

2001-12-13 Thread James Knowles

> Yes, I generated a new keypair. It's odd, because I can connect via command
> line ssh from the Win2k box with no password prompt, which I assume means
> that the key is working.

Odd... obviously the keys are working.

What are you using for the Windows ssh client?
Did you ensure you're using a recent sshd per Stephan Feder's suggestion?
Which version of WinCVS are you working? 

Getting things to work can be frustring at times. I found that I kept
running into problems when installing on a new machine, which is why I spent
all that time writing up my step-by-step notes for me to follow. 





-- 
I must tell you that a socialist policy is abhorrent to British ideas on
freedom. There is to be one State, to which all are to be obedient in every
act of their lives. This State, once in power, will prescribe for everyone:
where they are to work, what they are to work at, where they may go and what
they may say, what views they are to hold, where their wives are to queue up
for the State ration, and what education their children are to receive. A
socialist state could not afford to suffer opposition - no socialist system
can be established without a political police. They (the Labour government)
would have to fall back on some form of Gestapo.
- Winston Churchill, election broadcast 1945
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: SSH and WinCVS

2001-12-14 Thread James Knowles

> Is it the case that 2
> different users cannot "share" a sandbox? 

Do you mean use the same physical directories? Not a good idea. CVS is
designed to be used in parallel. I can't imagine sharing sandboxes, even if
it's not simultaneous access. 

> If I try
> working with ... changes to a local copy checked out by
> another user, things don't work.

The username is stored in the CVS metadata. That would explain things. When
CVS tries to do an operation, it fires up ssh, uses the username stored in
the CVS metadata, tries to use your private key, and boom! Your buns have
been fried. No login. 

It's really late here (after 4am) so my brain may not be processing things
correctly right now. But it sounds right to the degree that I'm functioning
correctly. 

-- 
The less government we have the better--the fewer laws and the less confided
power 
- Ralph Waldo Emerson
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: 1.9MB attachments (was Re: Wincvs download)

2001-12-20 Thread James Knowles

> he have to be stand in a corner and be shooten with a big caliber.

Zu schnell. Let him be slowly eaten by hungry rats. 

-- 
Bitterness I understand, but let us not rail about justice while as long as
we have arms and the freedom to use them.
- Duke Leto Atreides "Dune"
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problem with Linux server with repository on Windows 2000 Server

2001-12-20 Thread James Knowles

I've had somewhat related problems, using SMB instead of NFS. 

Unfortunately I never did finish rooting out the problem or determining
whether a solution was to be had as the requirement to use a remote
repository cropped up, and we switched everything (both Windows and Linux)
to using CVS over ssh. Linux was no problem. I had to do some digging to get
Windows clients to work and wrote up some notes for that. 

-- 
Last Halloween was bad for me. I got real beat up. I went to a party dressed
as a Pinata.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Shiftig file from branch to head

2001-12-20 Thread James Knowles

> Is there a way to merge the file from the branch? 

My not just do a merge per chapter 5 of the Cederqvist? 

-- 
In prosperity, our friends know us; in adversity, we know our friends. 
- John Churton
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Schedule cvs commit at a reqd time...

2001-12-20 Thread James Knowles

> feature ... to schedule the commit 

Besides cron?

-- 
The basis of all success is change, not challenge.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Win 9x client with RH7.2 server/repository

2001-12-21 Thread James Knowles

> I'm welcome to any other suggestions, as well, I know there are other
> wincvs progs out there to use.

We use a combination of WinCVS, TortoiseCVS, and ViewCVS. Each has its own
strength and for us seems to be a fairly potent combination. We're using ssh
over an insecure network instead of pserver, though. 

My publicly-available notes may or may not be of any use. 
http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html

-- 
It ain't charity if you are using someone else's money.
- Will Rogers
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Setting up CVS - newbie - help

2001-12-22 Thread James Knowles

As to logging in, another alternative is to use ssh's auto-login ability.
This may be overkill on a local network, but it works smoothly. We use it
internally to maintain uniformity with the remote CVS servers over the
insecure InterNet. 

There are some tools for migrating VSS->CVS if I recall. I've never done it
personally.

I'm still migrating some projects into CVS. I need to do another one now, in
fact. I normally just make sure I have a clean copy of only files to check
in, with directories, etc. and do an "import." Do watch out for binaries,
though. 

-- 
The real destroyer of the liberties of the people is he who spreads among
them bounties, donations and benefits.
- Plutarch
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: common vs confidential development parts

2001-12-22 Thread James Knowles

> I did try that solution (because that would be the simplest solution...)
> but when
> a user of group A performs a checkout or a commit, the whole cvs process stops
> with an error when encountering any file of group B. Is there a flag to
> activate to
> avoid such troubles (ignoring such permissions errors)?

I don't understand how this could happen. If group A can neither read nor
write group B files, how it is possible that a group A person can encounter
group B files? Please say developers are not sharing the same sandbox. 

If anybody in group A does a checkout, how is it that they are attempting to
access group B files? It sounds like the CVS setup needs to be tweaked a
bit. 

Just shooting in the dark here...

-- 
None are more hopelessly enslaved, as those who falsely believe they are
free.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: branching from a previous version

2001-12-30 Thread James Knowles


I'm not CVS expert, but I'll take a whack at this.

I assume that this will work (I've not tried it):
Check out the files for version 1.3.
Do a cvs tag -b to branch from v1.3. If I understand CVS correctly, this
will work.

I do know about working on branches.

Check out the files using the branch tag.
Start working. 

If the branch is done correctly on an entire directory, anything that you
add and remove will be tracked correctly under the branch name.

-- 
If you don't know what you want and where you are going, you will get next
to nothing and end up nowhere.
- John C. Maxwell, _Developing the Leader Within You_
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Newbie conceptual problem - getting source files into java server

2001-12-30 Thread James Knowles

> then commit it, I want it to end
> up in the propery directory under the Java web server hierarchy where it
> will get compiled as it should. 

This question doesn't make much sense to me. Are you wanting to publish
committed changes to a different location?

-- 
Surround yourself with the best people you can find, delegate authority, and
don't interfere.
- Ronald Reagan, FORTUNE, September 15, 1986
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: internal pserver and external ssh - help please!

2002-01-01 Thread James Knowles

We don't use pserver internally as most of the machines are over-secured, so
everything internally uses ssh. I can hit the internal CVS server from the
outside by simply changing the host name. 

>From your description I couldn't quite understand whether you have ssh
working from outside to inside. That's the first step. Once you can login
manually, the game is over.

Another alternative that you might check into is using ssh's port proxy
feature. Theoretically you can connect to the pserver port on your local
machine (as if CVS' pserver were running on the local machine) and use ssh
to securely proxy the connection past the firewall and to the real pserver
port on the real CVS server. I say theoretically since I've fiddled with
ssh's proxy feature, but I've not actually tried doing this with CVS. 

This, of couse, all this still requires ssh to be functional. 

HTH

-- 
Liberty means responsibility. That is why most men dread it. 
- George Bernard Shaw
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: How to auto-login and update command in a batch file?

2002-01-26 Thread James Knowles

> >  Do you know how to auto-login and update command in a batch file?
> Don't.  Log in, by hand, once, 

I guess the detail that is not clear is whether this is done over an
insecure network. 

-- 
It is possible to see peril in the finding of ultimate perfection. It is
clear that [it] contains its own fixity. In such perfection, all things move
towards death.
- Paul "Muad'Dib" Atreides, "Dune"
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: How to auto-login and update command in a batch file?

2002-01-26 Thread James Knowles

> I have other web site ,and I want to using a batch file 
> to auto login and update in from cvs server.and the batch 
> file in system crond.
> 
> Do you know how to auto-login and update command 

I use the following methods in different circumstances, all relying on ssh
for security:

Set up ssh to use public/private key authentication so it does not require a
password. Then cron simply needs to do "cvs update -d" periodically. This
prevents passwords and data from going over the Internet unencrypted. 

Alternately, you can do update locally and use ssh+rsync to copy data en
masse. Again ssh encrypts. 

I've not used ssh as a port-forwarding proxy very much, but that is another
option that would work. 

-- 
Every time government is forced to act, we lose something in self-reliance,
character and initiative. 
- Herbert Hoover, speech, 1929
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs advice

2002-02-07 Thread James Knowles

> WinCvs 1.2
> Yes, but I cant´t
> cvs -d :pserver:[EMAIL PROTECTED]:/CVS init
> cvs [init aborted]: connect to 192.168.211.131:524 failed: Connection refused

So... you're using a Windows client. What's your remote OS? Can you access
the server from the server? 

-- 
I will speak ill of no man...and speak all the good I know of everybody.
- Benjamin Franklin
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: WinCVS

2002-02-08 Thread James Knowles

> I also greatly suggest that you never use the root as a working directory.
> Then if you accidentally press the button again, it won't take forever to
> come back again.

Yes! Yes! I find flat mode useful from time to time. 


-- 
"Why do you test for humans?" he asked.
"To set you free."
Paul Atreides and the Reverend Mother Gaius Helen Mohiam ("Dune")
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Hierarchical team integration in CVS

2002-02-13 Thread James Knowles

> It seems that ... the directory structure ... must be driven by ...
> division-of-labor-during-development concerns ...
> rather than by the conceptual structure of the classes 

This is bad? I guess that's a matter of perspective. 

We've never let project structure be dictated by something as ephemeral as
class hierarchy. Refactoring wreaks havoc when classes and directories move,
are deleted, etc. 

We break it up into logical groups with several related classes. We find it
easier to perform unit testing this way, which to us is more important. 



-- 
Government is a broker in pillage and every election is a sort of advance
auction of stolen goods.
- H. L. Mencken in _The Baltimore Sun_
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: multiple cvs clients operating on same working directory

2002-02-19 Thread James Knowles

> is it safe to run multiple cvs clients that operate on the same working
> directory (for example one does a checkin and another does a checkout)?

Assuming you're talking about one developer working in a sandbox, yes.

If you're talking about multiple developers sharing a sandbox, NO! NO! NO!
Every developer should check out their own working copies. 

CVS is designed for one person using a single sandbox, even if that single
person uses multiple CVS tools. Checkouts are like toothbrushes. They're
very good things -- just don't start sharing with others. :-)

-- 
It is perhaps insane to live with a dream, but it is madness to live without
one.
- Anonymous
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: questions on CVS, WinCVS

2002-02-25 Thread James Knowles

> 1. I need to lock some (not all) files from editing by other users.

CVS is designed for parallel development. Is there some overriding reason to
lock files? You'll have to explain what you're trying to accomplish. 

In my experience people who want to lock files are not used to parallel
development and need to change the way they look at their processes. 

> 2. How can I have really secure connection with CVS server through Internet. 

This may or may not help:
http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html

That paper is targeted for a  CVS server running some sort of Un*x. I've not
tried this with an NT CVS server, so YMMV. 

Another option is to use pserver remotely and to use ssh to securely tunnel
to the server. 

> 3. CVS use a kind of its own mail service 

If it's a Unix server, it just uses the standard mail (which works fine). I
have no idea about NTCVS. 

HTH


-- 
It does not require a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds.
- Samuel Adams
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: I need help Installing CVS on RedHat 7.1

2002-03-02 Thread James Knowles

I'm curious why you didn't use the CVS RPM that came with RH7.1.



-- 
The whole aim of practical politics is to keep the populace alarmed [and
hence clamorous to be led to safety] by menacing it with an endless series
of hobgoblins, all of them imaginary. 
- H. L. Mencken
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: secure CVS connection

2002-03-02 Thread James Knowles

> I need to arrange a secure access to a CVS-server  through
> Internet-firewall with a Windows-based graphic client.

http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html

-- 
Practice makes permanent. Perfect practice makes perfect.
- Seville
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs/ssh question... may be OT

2002-03-09 Thread James Knowles

If this is OT, please accept my apologies and send me in the right
direction.

I've been using WinCVS and TortoiseCVS successfully on a Windows 2000 laptop
with a Linux-hosted CVS repository. Response times have been excellent over
the local network. 

I noticed that if I switch from a hard-coded IP address (and related
settings such as netmask, gateway, and DNS) to DNS that the ssh link takes a
long time (~10+ seconds) to connect. If I switch back to the hard-coded IP
address, it comes back immediately. If I ping the CVS server from the
command line, it comes back immediately. The CVS server is always addressed
by IP, not by name.

I'm wondering how to get the immediate response with DHCP. 

Using standard Windows 2000 network settings dialog and dhcpd on a separate
Linux server. /etc/dhcpd.conf is:

default-lease-time 1200;
max-lease-time 9200;
option subnet-mask 255.255.0.0;
option broadcast-address 10.0.255.255;
option routers 10.0.0.1;
option domain-name-servers 198.60.22.2, 198.60.22.22;
option domain-name "foobar.com";
subnet 10.0.0.0 netmask 255.255.0.0 {
range 10.0.0.10 10.0.0.100;
}

[domain-name changed to protect the innocent]



-- 
George: Oh, sir, if we should happen to tread on a mine, what do we do?
Captain Edmund Blackadder: Well, normal procedure, Lieutenant, is to jump up
250 feet into the air and scatter yourself over a wide area.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: locked files, how to handle

2002-03-09 Thread James Knowles

> It's a syntactic fossil,
> like the plural forms 

Ahhh... and like "VAX" and "VAXen". 


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



Re: avoid ^M when committing to Unix based repository

2002-03-11 Thread James Knowles

> How can I prevent this?
> 
> The Global option: 
> Checkout text files with the Unix LF(0xa) is checked.

I believe that this is your problem. Let CVS do the DOS<->Un*x line ending
conversion for you. Turn the option off, though you may still have to strip
out the extra ^M's that were checked in impropperly. 

I have shared Un*x/Windows code and never have this problem when CVS handles
the line ending conversion. 

-- 
Du mußt Caligari werden.
- Das Kabinett des Doktor Caligari (The Cabinet of Dr. Caligari) (1919)
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS Revision

2002-03-12 Thread James Knowles

> I want to set revision of module ... by cvs import -b command.
> i want to freeze the revision of module that is stored in cvs.
> please tell me what should i do

The CVS revision numbers are for CVS, not for anybody else. 

Use tags.

-- 
Hoc tempore obsequium amicos veritas odium parit.
In these days friends are won through flattery; the truth gives birth to
hate.
- Publius Terentius Afer, Roman comedian, "Andria"
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Help I'm trying to set up CVS with SSH

2002-03-13 Thread James Knowles

> passwd file in /cvs/CVSROOT 

This is not used for shell access; remove it. 

> I'm not sure where
> to go from here.  

I'm just up north of you a couple dozen miles. e-mail me personally and we
can chat on the phone if needs be, but your problem is that ssh needs to
automatically authenticate. 

> I'm using a ssh terminal to connect as well
> and have used plink to connect as well.

Does it ask for a password when you do this? 

-- 
Dakota tribal wisdom says that when you discover you are riding a dead
horse, the best strategy is to dismount.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: trying to setup a CVS server using wincvs as the client -- HELP

2002-03-13 Thread James Knowles

> cvs init: warning: unrecognized responce '[EMAIL PROTECTED]'s password:

I've seen that more than once. It's not expecting a request for a password,
so it pukes on the password request. You need to set up ssh to do
authentication via public/private keys. Can you login from a command line
without a password? It sounds like you can't.  

I don't know if it'll give a different perspective or helpful information,
but my personal notes that I follow when I set up a Windows box are at:

http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html


-- 
No State shall convert a liberty into a privilege, license it, and charge a
fee therefore. 
- Murdock v. Pennsylvania, 319 US 105, US Supreme Court, 1943.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: sharing cvs root?

2002-03-13 Thread James Knowles

> My boss seems to think it would be a good idea to share our CVS root 

He is ignorant. Keep him away! 

> can anyone give
> me the pro's or con's of doing this?

No pros, lots of cons. 

Does he also like to see raw database files instead of using a database
client? No. Does he also like to see raw hex dumps of file systems? No. 
Does he also like to see TCP/IP packets as they fly by? No. 

It's a repository, with nothing useful from a human-readable standpoint. If
anybody tries editing stuff, thet's a one-way ticket to Disaster Street. 

> Is this a good idea?

No.
Absolutely not.
Definately not.
No way, Jose.
Forget it.

-- 
The mass of men serve the state thus, not as men mainly, but as machines,
with their bodies... they put themselves on a level with wood and earth and
stones; and wooden men can perhaps be manufactured that will serve the
purpose as well. 
- Henry David Thoreau "On Civil Disobedience"
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: dual repositories - please give me your thoughts

2002-03-14 Thread James Knowles

> two CVS repositories. ...
> second would be an rsynced version 

If the second repository is read/write, forget it. That's like rsyncing raw
database files. You'll be overwriting each other's data.

If the second repository is read-only, why the second repository, other than
"the CVS server is constantly bogged down" or inacessible? 

Can you put the others on a separate branch?  

-- 
I love flying because there is no speed limit and radar is your friend!
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Python Shell not Recognized by WinCVS

2002-03-21 Thread James Knowles

> When I open WinCVS

...uh, what version?


-- 
WARNING! Do not look into laser with remaining eye!
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: lock-modify-unlock model and cvs admin -l

2002-03-25 Thread James Knowles

> > > Why would you consider using a tool ... [for]
> > > the copy-edit-merge model of development if you're not willing to
> > > embrace that model?
> > All I can say is, that's a very good question.
> analysing whatever
> fears you might have about the copy-edit-merge model, 

I'm chuckling because in (my experience at least), merging is a common
occurance with the locking model because a file is not available in a timely
manner despite the usual pronouncement that it prevents the need to merge. 



-- 
Though the people support the government, the government should not support
the people. 
- Grover Cleveland, veto of the Texas Seed Bill, 16 February, 1887
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: XML interface to cvs

2002-03-26 Thread James Knowles

> > > > What kind of interface are you looking for?
> > > A programmatic one.  
> > but XML describes data formats, not APIs.
> Exactly.  What's your point?  I think you have chosen to interpret my
> original question too literally.  It's similar to asking for an http
> interface to cvs.

...or that you expressed your question too loosely or vaguely. HTTP is a
well-defined, standard transport protocol. XML is a data organization
methodology. They are two completely different things. 

If you want a HTTP-ish protocol, are you in truth asking for something like
a WSDL server that wraps CVS? 

-- 
Its failings notwithstanding, there is much to be said in favor of
journalism in that by giving us the opinion of the uneducated, it keeps us
in touch with the ignorance of the community.
- Oscar Wilde
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: XML interface to cvs

2002-03-26 Thread James Knowles

> The primary reason for wanting CVS repository data in XML format is for
> data interrogation in order to populate a database.

Ah! This is very useful information IMHO. 

Unfortunately I'm not aware of any pre-built softare that does this. Others
may be able to complete my gap in knowledge. 

If there isn't, then:

1) If your needs are narrow, it seems it would be pretty simple to write a
small wrapper around CVS. This could be run locally as a script or as a
daemon listening on a port. (I'm assuming a Un*x environment where such
things are common practice. Windows IMHO is a big pain in this area.) 

2) If your needs are more involved, it'd be more work obviously. At that
point it may be worth a full-blown web service, and the parameters of your
project will dictate details. 

3) A simpler possibility if you need information to be collected upon commit
(for example), one could trigger a program per the various "*info" files in
CVSROOT. 

4) Others smarter than me probably have better ideas. 

-- 
If you attack expecting to prevail, do it in full strength, because a
surplus of victory never caused any conqueror one pang of remorse. 
- Xenophon
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: SSH

2002-03-26 Thread James Knowles

> > Is it possible to have cvs (or WinCVS) hit a server over an ssh
> > connection?

There are many ways of doing this. I do this all the time with my laptop. 

> Yes.  I did it this way: http://www.freebsddiary.org/cvs-remote.php

A nice article. Thanks for pointing it out. *bookmark* 

I keep my personal install notes available on-line for doing exactly this
because some have found them useful. Your mileage may vary, of course. 
http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html

-- 
I believe that "A double-minded man is unstable in all his ways." can be
rephrased as "an unfocused man shoots for many things but never hits the
target."
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: RH 7.2

2002-03-30 Thread James Knowles

> Is there anyont to get cvs to run a
> different (more secure) command?

We use ssh exclusively, including in-house. No machine has rsh or any of the
other r* commands installed. You may use asymmetric cryptographic keys to
enable passwordless logins. Alternatively, you can use ssh as a port proxy
to the remote machine. 

This will work with both Linux and Windows CVS clients. 


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



Re: Which CVS client GUI to use on W2K

2002-03-30 Thread James Knowles

> Please recommend on which CVS GUI client (and access method) to use on
> Windows 2000  platform (with CVS repository on RedHat, and cvs users on
> RedHat as well), and the reasons for not recommending the other popular
> ones.  Which is the easiest to set up for this X-platform situation?

We have a similar situation. For what it's worth, I like TortoiseCVS used in
combination with WinCVS. TortoiseCVS integrates with the Windows Explorer,
and WinCVS has additional tools for those hard-to-reach locations. *grin*
TortoiseCVS also has hooks for browing the repository if it's running
ViewCVS. 

I've gone over the installation repeatedly and keep personal notes on-line
since some have mentioned that they've found them useful. Your mileage may
vary, but they may give an idea of what the setup process entails. 

http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html


-- 
You cannot avoid the ... politics in an orthodox [system]. This power
struggle permeates the training, educating, and disciplining of the ...
community. [Leaders must] succumb to complete opportunism as the price of
maintaining their rule or risk sacrificing themselves.
- Paul "Muad'Dib" Atreides, "Dune" (Frank Herbert)
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: RH 7.2

2002-03-31 Thread James Knowles

> > > Is there anyont to get cvs to run a
> > > different (more secure) command?
> > We use ssh exclusively, 
> How?

We're not using the CVS pserver. I've used ssh tunneling (port proxy) for
other applications, but not for pserver. I presume that ssh's tunnelling
abilities will allow pserver to be used. 

As for passwordless logins with asymmetric keys, you have to create the
public/private key pair. Use the ssh-keygen program (Linux) or puttygen
(Windows). The private half goes in ~/.ssh and the public half is copied
into the remote machine's ~/.ssh/authorized_keys. Leave the password blank. 

You may have to ensure that the ~/.ssh directory denies world and group
access (chmod 700). ssh may refuse to work if this directory is group or
world readable.

I stumbled around a lot until I figured it out. Once I figured it out, it's
fairly straightforward. 

If you need to do it for a Windows client, I have my personal notes at
http://www.ifm-services.com/people/jamesk/papers/cms/cvs-win32-client.html
under the heading "Setting Up the Cryptographic Keys." 

-- 
Concordia parvae res crescunt, discordia maximae dilabuntur.
Through unity the small thing grows, through disunity the largest thing
crumbles.
- Sallust, Jugurtha
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Which CVS client GUI to use on W2K

2002-04-02 Thread James Knowles

> Haven't used winCVS,
> but the set up sounds more complicated.

I don't know that WinCVS setup itself is complicated. It's fairly straight
forward. If you mix in something like ssh then it becomes more complicated.

-- 
In prosperity, our friends know us; in adversity, we know our friends. 
- John Churton
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: How do you start the cvs server

2002-04-11 Thread James Knowles

One does not need to start a daemon to use CVS. It operates on the file
system. If you are working on the same machine as the repository, then you
need do nothing.

If you are working a different machine, then there are generally two
different approaches: 

There is the pserver mode for CVS which may prove useful if you're on a
secured network. I have personally never done much with this. A different
approach is to set up rsh to log in automatically. 

If you're accessing the CVS repository across an insecure network, then
another option, such as using ssh, is preferred. 

-- 
Political correctness is just tyranny with manners.
- Charlton Heston
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs