This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using rsync to create local repository


On Wed, 2006-02-01 at 18:43 -0500, Daniel Jacobowitz wrote:
> On Thu, Jan 26, 2006 at 03:29:02PM -0800, PAUL GILLIAM wrote:
> > +Under rare circumstances, it is desirable to maintain a local copy of
> > +the complete CVS repository.  Anonymous <code>rsync</code> access has
> > +been is available for that purpose.  Here is how to get a copy of the
> > +repository, or to synchronize an existing one:
> 
> "has been is"; probably just want "is".

I guess I couldn't make up my mind  8-)
> 
> > +
> > +<pre>
> > +rsync --archive --delete --compress rsync://sources.redhat.com/src-cvs src-cvs </pre> 
> 
> That's not the command you were using, is it?  There were some
> --exclude options; without them you can't check out of the resulting
> tree and you waste a lot of bandwidth.
> 
Damn! You're right.  I don't know what I was thinking.  Here is the
actual command I used:

rsync -az --delete --exclude '#cvs.*' --exclude 'CVSROOT/config'  \
--exclude  \ 'CVSROOT/history' --exclude 'CVSROOT/updatelog'  \
rsync://sources.redhat.com/gdb-cvs gdb-cvs

I cribbed these from Janis Johnson as used for GCC.  Do we need these
same excludes?

> > +
> > +You can get <code>rsync</code> or learn more about it from its home page:
> > +<a href:"http://rsync.samba.org";> rsync.samba.org</a>
> Extra space before rsync.samba.org.  There's supposed to be an = after
> href.
> 

OK, attached is the new patch:  OK to commit?

I have also attached a patch to MAINTAINERS in light of the following
e-mail exchange:

> Me:  Are you the Jim Kingdon that was involved in GDB a few years ago?
> If so, should this file be updated to include your new e-mail address?
> It looks like the one in the MAINTAINERS file is 5 years out of date.
> 
> Jim Kingdon: Yes, it is out of date.  I was in touch with someone (I
> forget who) was updating MAINTAINERS more generally, so I think he's
> taking care of it.  But yes, that sgi address won't work.
> 
> Me: It sounds like you are still interested in being the main Web Page
> maintainer for GDB.  Is that true?
> 
> Jim Kingdon: No.  I haven't edited a GDB web page in many years, and
> don't expect to in the future.

As you can see from the patch, I am volunteering to take Jim's place.
(With as little on-the-job training from you as possible 8-)

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	3 Feb 2006 22:25:30 -0000
@@ -148,6 +148,22 @@
 
 <p>
 
+<li><b>CVS via rsync</b> (rarely used):<p>
+
+Under rare circumstances, it is desirable to maintain a local copy of
+the complete CVS repository.  Anonymous <code>rsync</code> access is
+available for that purpose.  Here is how to get a copy of the
+repository, or to synchronize an existing one:
+
+<pre>
+ rsync -az --delete --exclude '#cvs.*' --exclude 'CVSROOT/config' --exclude 'CVSROOT/history' --exclude 'CVSROOT/updatelog' rsync://sources.redhat.com/gdb-cvs gdb-cvs
+</pre>
+
+You can get <code>rsync</code> or learn more about it from its home page:
+<a href="http://rsync.samba.org";>rsync.samba.org</a>
+
+<p>
+
 <li><b>FTP</b>:<p>
 
 A daily snapshot of the current development sources (<a
@@ -260,7 +276,7 @@
 <p>Verbatim copying and distribution of this entire article is
 permitted in any medium, provided this notice is preserved.</p>
 
-<p>Last modified 2005-10-25.</p>
+<p>Last modified 2006-02-03.</p>
 </address>
 
 </body>
2006-02-03  Paul Gilliam  <pgilliam@us.ibm.com>

	* MAINTAINERS: Take Jim Kingdon's place as lead web pages maintainer.

Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.336
diff -a -u -r1.336 MAINTAINERS
--- MAINTAINERS	20 Jan 2006 22:31:07 -0000	1.336
+++ MAINTAINERS	3 Feb 2006 22:49:05 -0000
@@ -426,8 +426,8 @@
 
 gdb/gdbserver		Daniel Jacobowitz	dan@debian.org
 
-Web pages.		Jim Kingdon		jkingdon@engr.sgi.com  ++
-			(anyone can edit; kingdon is just lead maintainer)
+Web pages.		Paul Gilliam		pgilliam@us.ibm.com
+			(anyone can edit; gilliam is just lead maintainer)
 
 Makefile.in, configure*	ALL
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]