public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* Re: Trouble with rsync-access
@ 2004-06-01 21:28 Volker Reichelt
  2004-06-01 21:46 ` Christopher Faylor
  0 siblings, 1 reply; 10+ messages in thread
From: Volker Reichelt @ 2004-06-01 21:28 UTC (permalink / raw)
  To: ian; +Cc: overseers, gcc

On  1 Jun, Ian Lance Taylor wrote:
> Volker Reichelt <reichelt@igpm.rwth-aachen.de> writes:
> 
>> since a couple of days rsync-access to the gcc sources doesn't
>> work as it used to. Rsyncing my local archive and then checking
>> out from there results in an error message:
>> 
>>   cvs checkout: Updating gcc
>>   cvs [checkout aborted]: cannot stat /sourceware/cvs-lockdir/gcc:
>>     No such file or directory
>> 
>> The culprit seems to be the line
>> 
>>   LockDir=/sourceware/cvs-lockdir/gcc
>> 
>> which got added to CVSROOT/config recently:
>> 
>>   date	2004.05.30.01.29.28;	author root;	state Exp;
>> 
>> After deleting this line manually, the check-out works fine.
>> But that's only a work-around since the next rsync will break things again.
>> 
>> Can the change be reverted or be worked around in some other way?
> 
> We made that change intentionally.  I don't know that we have ever
> promised that you can rsync our CVS repository and then use it
> locally.  It's great if it works, but I don't think we're going to
> accept responsibility for having it always work.

Well, but it is desirable to make it work as rsync.html states:

  In an ongoing effort to accelerate development of GCC and provide an open development
  environment, we are offering our CVS repository and various other data through anonymous
  rsync access.

  That way you can make local copies of the GCC CVS repository to ease the burden on the
  GCC main site, and browse the source locally using cvs.

So, making rsync difficult to use seems to be counter-productive, since
it puts more load on GCC's CVS.

In addition bugs/reghunt.html states:

  Using rsync to get a local copy of the GCC CVS repository is highly recommended for
  regression hunts. You'll be checking out the tree used for the regression search over
  and over again and won't want to affect access times for other GCC developers
  who are using the real repository, and it will also be faster for you.

That's why I would appreciate rsync-access to be as easy as possible.
However, if there's no chance of going back to the old version we should
at least document the new behavior in rsync.html.

> That said, you can make it continue to work in a straightforward
> manner by creating the directory /sourceware/cvs-lockdir/gcc on your
> system, possibly using symlinks.

Not everybody has write permissions outside his/her home directory :-(
(I'll have to use a shell script that does the patching after the
rsync.)

> Ian

Regards,
Volker


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Trouble with rsync-access
@ 2004-06-02 14:19 Volker Reichelt
  0 siblings, 0 replies; 10+ messages in thread
From: Volker Reichelt @ 2004-06-02 14:19 UTC (permalink / raw)
  To: schwab; +Cc: overseers, gcc

On  1 Jun, Andreas Schwab wrote:
> Volker Reichelt <reichelt@igpm.rwth-aachen.de> writes:
> 
>> The culprit seems to be the line
>>
>>   LockDir=/sourceware/cvs-lockdir/gcc
>>
>> which got added to CVSROOT/config recently:
>>
>>   date	2004.05.30.01.29.28;	author root;	state Exp;
>>
>> After deleting this line manually, the check-out works fine.
>> But that's only a work-around since the next rsync will break things again.
>>
>> Can the change be reverted or be worked around in some other way?
> 
> Add "--exclude=CVSROOT/config" to the rsync command line.

That seems to be the easiest thing to do. And it works, too! :-)
I'll cough up a patch to document this in rsync.html later.

Btw, I'd suggest to exclude CVSROOT/history and CVS/updatelog, too,
since these are big files of little use in a local repository, right?

> Andreas.

Thanks,
Volker


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Trouble with rsync-access
@ 2004-06-01 15:48 Volker Reichelt
  2004-06-01 15:57 ` Ian Lance Taylor
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Volker Reichelt @ 2004-06-01 15:48 UTC (permalink / raw)
  To: overseers, gcc

Hi,

since a couple of days rsync-access to the gcc sources doesn't
work as it used to. Rsyncing my local archive and then checking
out from there results in an error message:

  cvs checkout: Updating gcc
  cvs [checkout aborted]: cannot stat /sourceware/cvs-lockdir/gcc:
    No such file or directory

The culprit seems to be the line

  LockDir=/sourceware/cvs-lockdir/gcc

which got added to CVSROOT/config recently:

  date	2004.05.30.01.29.28;	author root;	state Exp;

After deleting this line manually, the check-out works fine.
But that's only a work-around since the next rsync will break things again.

Can the change be reverted or be worked around in some other way?

Btw, the CVSROOT directory contains a lot of old temporary ".#*" files
that can probably be deleted.

Regards,
Volker


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-06-03 12:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-01 21:28 Trouble with rsync-access Volker Reichelt
2004-06-01 21:46 ` Christopher Faylor
2004-06-01 23:40   ` Alexandre Oliva
2004-06-03 12:33   ` Marc Espie
2004-06-04 16:21     ` Ian Lance Taylor
  -- strict thread matches above, loose matches on Subject: below --
2004-06-02 14:19 Volker Reichelt
2004-06-01 15:48 Volker Reichelt
2004-06-01 15:57 ` Ian Lance Taylor
2004-06-01 17:17 ` Frank Ch. Eigler
2004-06-01 20:23 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).