Re: problems with cvs!!

2000-12-04 Thread Rich Salz
i want to know whether cvs is a hostable solution? how good is cvs? secondly i have cvs in lab with lease line can it handle multisite development. These are questions, not problems. The answer to both is "yes, and it does a pretty good job." Some sites that are using CVS in these ways

Re: single-bit errors

2000-11-23 Thread Rich Salz
TCP is reasonbly good, but it is far from being 100% perfect, even on Ethernet. SSH, with encryption and LZ compression, will detect *lots* more errors in the transport! Hunh? The only place I noticed hashing was in auth challenge. I couldn't see anywhere that SSH puts an error-correction

Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX 10.20

2000-10-26 Thread Rich Salz
Unfortunately, unset isn't portable. I just don't see this as being a serious enough problem to worry about. Oh c'mon. A portable fix for a confusing problem area is very simple: env |sed -e 's/=.*'/=/' /tmp/clean$$ for V in PATH HOME TR AWK ... ; do eval

Re: Multiple-line log message

2000-10-23 Thread Rich Salz
Does anyone know how to enter a log message that expands multiple lines using command line cvs commit -m? It all depends on what shell you're using. try doing cvs -m 'this is\ a long message' mod1 mod2... ___ Info-cvs mailing list [EMAIL

Re: login failure on WindowsNT

2000-10-17 Thread Rich Salz
Then cvs:// could mean connect to port 2401 and ask what authentication methods are valid. The server would respond with a list and the client would use whatever it thinks is the most secure to authenticate and set up an encryption stream. Oooh, no, you *DON'T* want to do that -- it's a

Re: Generated files.

2000-09-12 Thread Rich Salz
Is there any mechanism to extend cvsignore to match questionable files and then use something like the "file" command to peek inside them to decide whether to ignore them or not? This seems doable. A quick hack would be to change ign_name to take a new parameter: int am_server Change

Re: remove CVS dirs under the working dir?

2000-08-28 Thread Rich Salz
find . -type dir -name 'CVS' -print | xargs rmdir Except the CVS directories usually have files in them, causing rmdir to fail. You probably want to replace "rmdir" with "rm -r". The paranoid will hold their breath while executing that command. :) And then, also, you probably want to remove

Re: A truely ugly hack...

2000-08-28 Thread Rich Salz
The goal would be to automatically commit updates to the generated files whenever there are changes to their predecessor files. I use the commitinfo file to force developers to maintain it all by hand. For example, here's a line from a commitinfo in one of our repositories: ^conf$

Re: merging main trunk to branch?

2000-08-17 Thread Rich Salz
Again, I think my "get date from file" patch would help here. Do -jbranch:date:.last right?

Re: cvs-nserver and latest CVS advisory (Was: patch to make CVS chroot)

2000-08-10 Thread Rich Salz
My last word on the subject. CVS requires everyone to be in your passwd file. So does SSH, no? You say "what's so hard about that." I say that there are times when it is difficult, impossible, or just plain not appropriate. If you cannot imagine such scenarios, so be it. /r$

Re: cvs-nserver and latest CVS advisory (Was: patch to make CVSchroot)

2000-08-09 Thread Rich Salz
No authentication should exist within CVS. Instead, CVS should be open to pluggable authentication. Since CVS relies on the underlying filesystem for its own authentication and authorization decisions, this is is one of those things that is much easier to say than to do. And even harder to

Re: cvs-nserver and latest CVS advisory (Was: patch to make CVS chroot)

2000-08-09 Thread Rich Salz
There is no excuse for not using strong cryptographic security with CVS. There is no excuse for building orthogonal protection mechanisms into any application, and most especially not one that offers public network services! Except that doing it right is not the trivial job that you have

Re: CVS pids and the pids of its kids

2000-08-03 Thread Rich Salz
Seems to me the easiest fix is to add something like this to the top of main() { char pidbuf[64]; sprintf(pidbuf, "CVSPID=%lu", (unsigned long)getpid()); putenv(pidbuf); } It seems to me that this also works for CVS server, but I'm

Using files for -D timestamps

2000-07-11 Thread Rich Salz
The following diff lets you use "file:FILENAME" where a datespec is needed (e.g., -D flag) -- it gets the date from the file's modtime. It also adds "date:" as a prefix in you case you already have a file named 11/01/00 :) It seems to me this makes merging inout among branches easier and safer

Re: Using files for -D timestamps

2000-07-11 Thread Rich Salz
And here's my fourth, this time with the attachment. :( The following diff lets you use "file:FILENAME" where a datespec is needed (e.g., -D flag) -- it gets the date from the file's modtime. It also adds "date:" as a prefix in you case you already have a file named 11/01/00 :) It seems

testing sorry

2000-07-10 Thread Rich Salz
sorry for the spam.

-D/path/to/file

2000-07-08 Thread Rich Salz
How about changing Make_Date to be something like this? char * Make_Date (rawdate) char *rawdate; { time_t unixtime; ! if (strncmp(rawdate, "file:", 5) == 0)) { ! struct stat sb; ! unixtime = stat(rawdate + 6, sb) 0 ? (time_t)-1 : sb.st_mtime; ! } ! else !

Locking branches

2000-06-14 Thread Rich Salz
Is it possible to lock a branch, or somehow make it "read-only" so that no further check-ins can be done on it? In perusing of Cvedarquist and cvsbook.red-bean.com I can't find it. Locking branches (actually "obsolete -lock") is a common ClearCase practice that would be nice to have here. If

Re: Locking branches

2000-06-14 Thread Rich Salz
http://www.egroups.com/message/info-cvs/16893? That is a much better approach -- more general. I have a couple of nits: the use of "?:" to determine the strings doesn't allow for growth :) If the args were colon-separated key=value pairs, then I could do

Re: automating login (passwords)

2000-05-31 Thread Rich Salz
Putting a CVS password in the environment makes it available with no encryption at all to anyone who can run the ``ps'' command. When accessing public repositories, there's no need to protect the password. My note didn't make that clear enough, sorry. What's wrong with doing an

Re: CVS Delete ALl Files

2000-05-26 Thread Rich Salz
Can anyone give me a simple command that will remove all existing files from a repository, but not remove the repository itself? cd /path/to/your/repository find . -type f -print | grep -v CVSROOT | xargs rm

Re: WinCvs users - query

2000-05-24 Thread Rich Salz
Formatting is not stored anyway, so there is nothing to feel sorry about. Being able to write ChangeLog in HTML woul be useful.