lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] (no subject)


From: Greg Chicares
Subject: [lmi-commits] (no subject)
Date: Wed, 25 May 2016 20:34:09 +0000 (UTC)

branch: master
commit a01d3ec0e6f48ab65f4f861c52ce24e469e083b4
Author: Gregory W. Chicares <address@hidden>
Date:   Wed May 25 20:32:10 2016 +0000

    Use git rather than svn
---
 GNUmakefile    |   22 ++++++++++------------
 INSTALL        |    4 ++--
 install_msw.sh |    9 ++++-----
 3 files changed, 16 insertions(+), 19 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index a4c3864..254d914 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -183,9 +183,11 @@ date:
 # Designate a release candidate.
 
 # A release candidate is a revision with an updated version-datestamp
-# header. It is merely a designated svn revision: svn offers no real
-# equivalent of 'cvs rtag', and the closest substitute, 'svn copy',
-# makes an unwanted copy.
+# header: it is merely an sha1sum pointing to a designated commit.
+# The code actually released into production each month is the last
+# release candidate designated that month. No repository tag would be
+# useful because releases can easily be found with this command:
+#   git log --follow version.hpp
 
 .PHONY: release_candidate
 release_candidate:
@@ -199,12 +201,9 @@ release_candidate:
          | $(SED) -e 's/^ *//' \
          | $(TR) --delete '\r' \
          > version.hpp
-       @$(ECHO) Version is "'$(yyyymmddhhmm)'".
-       @$(ECHO) "  To designate a release candidate:"
+       @$(ECHO) "  To designate a release candidate, push a change such as:"
        @$(ECHO) \
-         "svn commit -m'Designate release candidate" \
-         "$(shell expr 1 + `svnversion` : '\([0-9]*\)')'" \
-         "version.hpp ChangeLog"
+         "git commit version.hpp -m'Designate release candidate 
$(yyyymmddhhmm)'"
 
 
################################################################################
 
@@ -461,10 +460,9 @@ nychthemeral_log := log-lmi-nychthemeral-$(yyyymmddhhmm)
 
 .PHONY: checkout
 checkout:
-       $(MKDIR) --parents $(nychthemeral_directory); \
-       cd $(nychthemeral_directory); \
-       svn co svn://svn.savannah.nongnu.org/lmi/lmi/trunk lmi; \
-       svn co svn://svn.savannah.nongnu.org/lmi/skeleton/trunk skeleton; \
+       $(MKDIR) --parents $(nychthemeral_directory) \
+       && cd $(nychthemeral_directory) \
+       && git clone git://git.savannah.nongnu.org/lmi.git \
 
 # SOMEDAY !! Add build types for gcov (-fprofile-arcs -ftest-coverage)
 # and for gprof. See:
diff --git a/INSTALL b/INSTALL
index 1ce5b08..b2cb0d0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -42,7 +42,7 @@ Copy and paste the following lines into the "Command Prompt" 
window:
 Save the following files into the 'C:\cache_for_lmi' directory:
 
   http://cygwin.com/setup-x86.exe
-  http://svn.sv.nongnu.org/svn/lmi/lmi/trunk/install_cygwin.bat
+  http://git.savannah.gnu.org/cgit/lmi.git/plain/install_cygwin.bat
 
 Copy and paste the following lines into the "Command prompt" window:
 
@@ -65,7 +65,7 @@ Copy the following, and paste it (Shift-Insert) into the 
shell:
 
   mkdir -p /tmp
   export TMP=/tmp
-  install_script='http://svn.sv.nongnu.org/svn/lmi/lmi/trunk/install_msw.sh'
+  
install_script='http://git.savannah.gnu.org/cgit/lmi.git/plain/install_msw.sh'
   cd /tmp
   wget -N $install_script
   chmod +x install_msw.sh
diff --git a/install_msw.sh b/install_msw.sh
index 62df3a3..6f58a70 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -25,7 +25,7 @@ set -v
 
 # To get the latest version of this script:
 #
-# wget -N 'http://svn.sv.nongnu.org/svn/lmi/lmi/trunk/install_msw.sh'
+# wget -N 'http://git.savannah.gnu.org/cgit/lmi.git/plain/install_msw.sh'
 
 # To remove lmi prior to reinstalling with this script:
 #
@@ -95,10 +95,9 @@ cmd /c $CYGCHECK -s -v -r | tr --delete '\r'
 java -version
 
 cd /opt/lmi/src
-# Prefer http to svn's own protocol because it works better from
-# behind corporate firewalls.
-#svn checkout svn://svn.sv.nongnu.org/lmi/lmi/trunk lmi
-svn checkout http://svn.sv.nongnu.org/svn/lmi/lmi/trunk lmi
+# Use http only if a corporate firewall blocks the git protocol.
+# git clone http://git.savannah.nongnu.org/r/lmi.git
+git clone git://git.savannah.nongnu.org/lmi.git
 
 cd /opt/lmi/src/lmi
 



reply via email to

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