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 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.
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 @@
 
 <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 has
+been is available for that purpose.  Here is how to get a copy of the
+repository, or to synchronize an existing one:
+
+<pre>
+rsync --archive --delete --compress rsync://sources.redhat.com/src-cvs src-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 +275,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-01-26.</p>
 </address>
 
 </body>

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