socsvn commit: r267165 - svnadmin/tools

gavin at FreeBSD.org gavin at FreeBSD.org
Sat May 3 20:38:01 UTC 2014


Author: gavin
Date: Sat May  3 20:38:00 2014
New Revision: 267165
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=267165

Log:
  Adjust the add-user script to always use the correct year in emails.

Modified:
  svnadmin/tools/add-user.sh

Modified: svnadmin/tools/add-user.sh
==============================================================================
--- svnadmin/tools/add-user.sh	Sat May  3 20:31:08 2014	(r267164)
+++ svnadmin/tools/add-user.sh	Sat May  3 20:38:00 2014	(r267165)
@@ -56,6 +56,8 @@
 	exit 1
 fi
 
+year=`date +%Y`
+
 mail -s "Your socsvn.freebsd.org account" "${name}@freebsd.org" <<-EOM
 	We have configured your account on socsvn.freebsd.org.  The base URL of
 	the repository is: https://socsvn.freebsd.org/socsvn
@@ -68,12 +70,12 @@
 	If you wish to change your password, please send soc-admins at freebsd.org
 	an SHA password hash as generated by "htpasswd -s".
 
-	All authenticated users have write access to the /soc2013 tree.  As a
+	All authenticated users have write access to the /soc${year} tree.  As a
 	matter of convention, please place all your working code under a
-	/soc2013/<user> directory.
+	/soc${year}/<user> directory.
 
 	*** REPEAT: Your changes should all be relative to
-	*** https://socsvn.freebsd.org/socsvn/soc2013/${name}/
+	*** https://socsvn.freebsd.org/socsvn/soc${year}/${name}/
 
 	A copy of the FreeBSD base subversion repository is under
 	/mirror/FreeBSD and is updated hourly.  If you are modifying the base
@@ -82,7 +84,7 @@
 	directory.  For example:
 
 	svn cp https://socsvn.freebsd.org/socsvn/mirror/FreeBSD/head \
-	    https://socsvn.freebsd.org/socsvn/soc2013/${name}/myproject-head
+	    https://socsvn.freebsd.org/socsvn/soc${year}/${name}/myproject-head
 
 	You would then use subversion's merge operation to keep your branch up
 	to date.


More information about the svn-soc-all mailing list