Re: using rsync to create local repository

PAUL GILLIAM
2006-01-26T23:28:17Z

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

On Thu, 2006-01-26 at 15:55 -0500, Daniel Jacobowitz wrote:
> On Thu, Jan 26, 2006 at 12:53:40PM -0800, PAUL GILLIAM wrote:
> > On Thu, 2006-01-26 at 14:07 -0500, Daniel Jacobowitz wrote:
> > > On Thu, Jan 26, 2006 at 10:56:28AM -0800, PAUL GILLIAM wrote:
> > > > I tried a similar thing and it seemed to work:
> > > >
> > > > rsync --archive --delete --compress --progress \
> > > > --exclude '#cvs.*' --exclude 'CVSROOT/config' \
> > > > --exclude 'CVSROOT/history' --exclude 'CVSROOT/updatelog' \
> > > > rsync://sources.redhat.com/gdb-cvs /home/pgilliam/gdb/gdb-cvs
> > >
> > > Wrong repository. You want src-cvs, not gdb-cvs, which only has the
> > > web pages in it.
> > >
> > Ahhh. That would explain it.
> >
> > Would it be useful for me to submit a patch that would add this
> > information to one of those web pages?
>
> I suppose.
>

Daniel, please try to restrain your enthusiasm 8-)

I have attached the patch, OK to commit?

-=# Paul #=-

PS: It looks like there is no ChangeLog for the web pages, so I did not
include an entry for one.

[-- Attachment #2: rsync.patch --]
[-- Type: text/x-patch, Size: 1171 bytes --]

Index: index.html
===================================================================
RCS file: /cvs/gdb/htdocs/current/index.html,v
retrieving revision 1.35
diff -a -u -r1.35 index.html
--- index.html 2 Nov 2005 21:58:50 -0000 1.35
+++ index.html 26 Jan 2006 23:20:22 -0000
@@ -148,6 +148,21 @@



+ CVS via rsync (rarely used):
+
+Under rare circumstances, it is desirable to maintain a local copy of
+the complete CVS repository. Anonymous rsync access has
+been is available for that purpose. Here is how to get a copy of the
+repository, or to synchronize an existing one:
+
+
+rsync --archive --delete --compress rsync://sources.redhat.com/src-cvs src-cvs
+
+You can get rsync or learn more about it from its home page:
+<a href:"http://rsync.samba.org"> rsync.samba.org
+
+
+
FTP:

A daily snapshot of the current development sources (<a
@@ -260,7 +275,7 @@
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.

- Last modified 2005-10-25.
+ Last modified 2006-01-26.