discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] savannah cvs restructured; checkout neeeds updating


From: Greg Troxel
Subject: [Discuss-gnuradio] savannah cvs restructured; checkout neeeds updating
Date: 12 Dec 2005 16:55:57 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

I went to cvs update and got errors from the checkout script.
Savannah has restructured CVS:

  http://savannah.gnu.org/forum/forum.php?forum_id=4168

They say to do the following to convert a working copy:

find -path '.*/CVS/Root' -print0 | xargs -0 perl -i -p -e 
's/:ext:anoncvs\@(cvs\.)?s/:pserver:address@hidden/'

Without GNU find (e.g. on NetBSD):

find . -name Root -print0 | xargs -0 perl -i -p -e 
's/:ext:anoncvs\@(cvs\.)?s/:pserver:address@hidden/'

worked for me, but is slightly dangerous.

They renamed /cvsroot to /sources, so I also did:

find . -name Root -print0 | xargs -0 perl -i -p -e 's/cvsroot/sources/'

Also, checkout needs changing for the non-developer case.  I also
removed the cvs login, since it insists on a password at every update
which is inconvenient.  Probably the developer CVSROOT should change
as well.

Index: checkout
===================================================================
RCS file: /sources/gnuradio/gr-build/checkout,v
retrieving revision 1.12
diff -u -r1.12 checkout
--- checkout    20 Nov 2005 07:01:13 -0000      1.12
+++ checkout    12 Dec 2005 21:46:52 -0000
@@ -39,7 +39,7 @@
 
 
 cvs_d_option = {
-    'savannah' :    { 'anon'  : ':ext:address@hidden:/cvsroot/gnuradio',
+    'savannah' :    { 'anon'  : ':pserver:address@hidden:/sources/gnuradio',
                       'devel' : 'address@hidden:/cvsroot/gnuradio' },
     'sourceforge' : { 'anon'  : ':pserver:address@hidden:/cvsroot/opensdr',
                       'devel' : 'address@hidden:/cvsroot/opensdr' }
@@ -70,7 +70,7 @@
             if in_list (module, exclude_list):
                 continue
             d_option = cvs_d_option[repository]['anon']
-            login_required = re.match (':pserver:', d_option)
+            login_required = 0 and re.match (':pserver:', d_option)
             if login_required:
                 sys.stderr.write ("Press Enter at the Password prompt.\n")
                 cmd = "cvs -d%s login" % (d_option,)


-- 
        Greg Troxel <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]