r631 - /branches/etch-backports/boinc/debian/README.Debian-source /branches/experimental/boinc/debian/README.Debian-source /scripts/export-boinc /trunk/boinc/debian/README.Debian-source

fst-guest at users.alioth.debian.org fst-guest at users.alioth.debian.org
Tue Apr 17 11:15:23 UTC 2007


Author: fst-guest
Date: Tue Apr 17 11:15:22 2007
New Revision: 631

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=631
Log:
The BOINC project switched from CVS to Subversion so I've update export-boinc
and README.Debian-source to reflect this change.

Modified:
    branches/etch-backports/boinc/debian/README.Debian-source
    branches/experimental/boinc/debian/README.Debian-source
    scripts/export-boinc
    trunk/boinc/debian/README.Debian-source

Modified: branches/etch-backports/boinc/debian/README.Debian-source
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/etch-backports/boinc/debian/README.Debian-source?rev=631&op=diff
==============================================================================
--- branches/etch-backports/boinc/debian/README.Debian-source (original)
+++ branches/etch-backports/boinc/debian/README.Debian-source Tue Apr 17 11:15:22 2007
@@ -2,15 +2,15 @@
 ==============================
 
 The BOINC project does not distribute source code releases as tarballs, but
-they are available as CVS tags. Anonymous CVS access is available at
-alien.ssl.berkeley.edu:/home/cvs/cvsroot. The module for the BOINC source is
-called 'boinc'. For more information see:
+they are tagged in the BOINC Subversion repository. Anonymous Subversion access
+is available at http://boinc.berkeley.edu/svn/. The branch for the BOINC source
+is trunk/boinc, tagged releases are in tags/. For more information see:
 
   http://boinc.berkeley.edu/source_code.php
  
-To obtain the source from CVS and package it as .orig.tar.gz the Debian BOINC
-Maintainers use a script called 'export-boinc' which is available in our
-Subversion repository:
+To obtain the source from Subversion and package it as .orig.tar.gz the Debian
+BOINC Maintainers use a script called 'export-boinc' which is available in our
+pkg-boinc Subversion repository:
 
   http://svn.debian.org/wsvn/pkg-boinc/scripts/export-boinc?op=file
 

Modified: branches/experimental/boinc/debian/README.Debian-source
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/experimental/boinc/debian/README.Debian-source?rev=631&op=diff
==============================================================================
--- branches/experimental/boinc/debian/README.Debian-source (original)
+++ branches/experimental/boinc/debian/README.Debian-source Tue Apr 17 11:15:22 2007
@@ -2,15 +2,15 @@
 ==============================
 
 The BOINC project does not distribute source code releases as tarballs, but
-they are available as CVS tags. Anonymous CVS access is available at
-alien.ssl.berkeley.edu:/home/cvs/cvsroot. The module for the BOINC source is
-called 'boinc'. For more information see:
+they are tagged in the BOINC Subversion repository. Anonymous Subversion access
+is available at http://boinc.berkeley.edu/svn/. The branch for the BOINC source
+is trunk/boinc, tagged releases are in tags/. For more information see:
 
   http://boinc.berkeley.edu/source_code.php
  
-To obtain the source from CVS and package it as .orig.tar.gz the Debian BOINC
-Maintainers use a script called 'export-boinc' which is available in our
-Subversion repository:
+To obtain the source from Subversion and package it as .orig.tar.gz the Debian
+BOINC Maintainers use a script called 'export-boinc' which is available in our
+pkg-boinc Subversion repository:
 
   http://svn.debian.org/wsvn/pkg-boinc/scripts/export-boinc?op=file
 

Modified: scripts/export-boinc
URL: http://svn.debian.org/wsvn/pkg-boinc/scripts/export-boinc?rev=631&op=diff
==============================================================================
--- scripts/export-boinc (original)
+++ scripts/export-boinc Tue Apr 17 11:15:22 2007
@@ -3,8 +3,8 @@
 #
 # Usage: export-boinc -r 4.72
 #     or export-boinc -r 4.72 -d 20050724
-#     or export-boinc -r 4.72 -d 20050724 -c
-#     or export-boinc -r 4.72 -c
+#     or export-boinc -r 4.72 -d 20050724 -s
+#     or export-boinc -r 4.72 -s
 #     or export-boinc
 
 set -e
@@ -12,23 +12,22 @@
 set_destdir()
 {
     if [ -d "$1" -a -w "$1" ]; then
-        DEST_DIR="$1/"
+        DEST_DIR="$1"
     fi
 }
 
-CVS_ROOT=":pserver:anonymous at alien.ssl.berkeley.edu:/home/cvs/cvsroot"
-CVS_MODULE="boinc"
+SVN_ROOT="http://boinc.berkeley.edu/svn"
 
 # get options
-CVS=0
-while getopts "r:d:c" FLAG
+SNAPSHOT=0
+while getopts "r:d:s" FLAG
 do
     if test "$FLAG" = "r"; then
         VERSION=$OPTARG
     elif test "$FLAG" = "d"; then
         DATE=$OPTARG
-    elif test "$FLAG" = "c"; then
-        CVS=1
+    elif test "$FLAG" = "s"; then
+        SNAPSHOT=1
     fi
 done
 
@@ -36,35 +35,34 @@
 if [ -z "$VERSION" ]; then
     echo "Warning: version number was not specified, assuming 'HEAD'"
     VERSION="HEAD"
+    SVN_DIR="trunk/boinc"
 fi
 
 # parse options
-if [ -z "$DATE" -a "$CVS" -eq 0 ]; then
+if [ -z "$DATE" -a "$SNAPSHOT" -eq 0 ]; then
     DEBIAN_VERSION="$VERSION"
     ORIG_DIR="boinc-$DEBIAN_VERSION.orig"
-    if [ "$VERSION" = "HEAD" ]; then
-	    CVS_TAG=$VERSION
-    else
-	    CVS_VERSION=$(echo $VERSION | sed 's/\./_/g')
-	    CVS_TAG="boinc_core_release_$CVS_VERSION"
+    if [ "$VERSION" != "HEAD" ]; then
+	    SVN_VERSION=$(echo $VERSION | sed 's/\./_/g')
+	    SVN_DIR="tags/boinc_core_release_$SVN_VERSION/boinc"
     fi
-    CVS_COMMAND="cvs -d $CVS_ROOT export -r $CVS_TAG -d $ORIG_DIR $CVS_MODULE"
+    SVN_COMMAND="svn export $SVN_ROOT/$SVN_DIR $ORIG_DIR"
 
-elif [ -n "$DATE" -a "$CVS" -eq 0 ]; then
+elif [ -n "$DATE" -a "$SNAPSHOT" -eq 0 ]; then
     DEBIAN_VERSION="$VERSION"
     ORIG_DIR="boinc-$DEBIAN_VERSION.orig"
-    CVS_COMMAND="cvs -d $CVS_ROOT export -D $DATE -d $ORIG_DIR $CVS_MODULE"
+    SVN_COMMAND="svn export -r {$DATE} $SVN_ROOT/$SVN_DIR $ORIG_DIR"
 
-elif [ -n "$DATE" -a "$CVS" -eq 1 ]; then
-    DEBIAN_VERSION="$VERSION+cvs$DATE"
+elif [ -n "$DATE" -a "$SNAPSHOT" -eq 1 ]; then
+    DEBIAN_VERSION="$VERSION~snapshot.$DATE"
     ORIG_DIR="boinc-$DEBIAN_VERSION.orig"
-    CVS_COMMAND="cvs -d $CVS_ROOT export -D $DATE -d $ORIG_DIR $CVS_MODULE"
+    SVN_COMMAND="svn export -r {$DATE} $SVN_ROOT/$SVN_DIR $ORIG_DIR"
 
-elif [ -z "$DATE" -a "$CVS" -eq 1 ]; then
+elif [ -z "$DATE" -a "$SNAPSHOT" -eq 1 ]; then
     DATE=$(date +%Y%m%d)
-    DEBIAN_VERSION="$VERSION+cvs$DATE"
+    DEBIAN_VERSION="$VERSION~snapshot.$DATE"
     ORIG_DIR="boinc-$DEBIAN_VERSION.orig"
-    CVS_COMMAND="cvs -d $CVS_ROOT export -D now -d $ORIG_DIR $CVS_MODULE"
+    SVN_COMMAND="svn export $SVN_ROOT/$SVN_DIR $ORIG_DIR"
 fi
 
 ORIG_ARCHIVE="boinc_$DEBIAN_VERSION.orig.tar.gz"
@@ -74,8 +72,8 @@
     exit 1
 fi 
 
-echo "$CVS_COMMAND"
-$CVS_COMMAND
+echo "$SVN_COMMAND"
+$SVN_COMMAND
 
 ###
 ### remove non-free or unneeded things
@@ -127,8 +125,8 @@
 set_destdir "tarballs"
 set_destdir "tarballs/boinc"
 
-echo "Preparing source tarball as '$DEST_DIR$ORIG_ARCHIVE'."
-tar cf - $ORIG_DIR | gzip -c9 > $DEST_DIR$ORIG_ARCHIVE
+echo "Preparing source tarball as '$DEST_DIR/$ORIG_ARCHIVE'."
+tar cf - $ORIG_DIR | gzip -c9 > "$DEST_DIR/$ORIG_ARCHIVE"
 rm -rf $ORIG_DIR
 
 exit 0

Modified: trunk/boinc/debian/README.Debian-source
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/README.Debian-source?rev=631&op=diff
==============================================================================
--- trunk/boinc/debian/README.Debian-source (original)
+++ trunk/boinc/debian/README.Debian-source Tue Apr 17 11:15:22 2007
@@ -2,15 +2,15 @@
 ==============================
 
 The BOINC project does not distribute source code releases as tarballs, but
-they are available as CVS tags. Anonymous CVS access is available at
-alien.ssl.berkeley.edu:/home/cvs/cvsroot. The module for the BOINC source is
-called 'boinc'. For more information see:
+they are tagged in the BOINC Subversion repository. Anonymous Subversion access
+is available at http://boinc.berkeley.edu/svn/. The branch for the BOINC source
+is trunk/boinc, tagged releases are in tags/. For more information see:
 
   http://boinc.berkeley.edu/source_code.php
  
-To obtain the source from CVS and package it as .orig.tar.gz the Debian BOINC
-Maintainers use a script called 'export-boinc' which is available in our
-Subversion repository:
+To obtain the source from Subversion and package it as .orig.tar.gz the Debian
+BOINC Maintainers use a script called 'export-boinc' which is available in our
+pkg-boinc Subversion repository:
 
   http://svn.debian.org/wsvn/pkg-boinc/scripts/export-boinc?op=file
 




More information about the pkg-boinc-commits mailing list