[med-svn] r16675 - trunk/package_template

Andreas Tille tille at moszumanska.debian.org
Sun Apr 13 06:45:28 UTC 2014


Author: tille
Date: 2014-04-13 06:45:28 +0000 (Sun, 13 Apr 2014)
New Revision: 16675

Added:
   trunk/package_template/inject-into-alioth-git
Log:
Somehow it makes no sense to inject code working with Git VCS into SVN - but I did not found a better place to put my brain-dump from Debian Policy


Added: trunk/package_template/inject-into-alioth-git
===================================================================
--- trunk/package_template/inject-into-alioth-git	                        (rev 0)
+++ trunk/package_template/inject-into-alioth-git	2014-04-13 06:45:28 UTC (rev 16675)
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+# This script implements the "Git tips" given here
+#   http://debian-med.alioth.debian.org/docs/policy.html#git-tips
+# Use it with caution since it is less testet
+
+DEBPKGNAME=`dpkg-parsechangelog | awk '/^Source:/ {print $2}'`
+SHORTDESC=`grep "^Description: " debian/control | head -n 1 | sed 's/^Description: //'`
+VCSGIT=`grep "^Vcs-Git: " debian/control | sed -e 's/^Vcs-Git: //' -e 's#git://anonscm.debian.org/#ssh://git.debian.org/git/#'`
+
+ssh git.debian.org "cd /git/debian-med; ./setup-repository $DEBPKGNAME '$SHORTDESC'"
+git remote add origin $VCSGIT
+git push origin master
+git push --all --set-upstream
+git push --tags


Property changes on: trunk/package_template/inject-into-alioth-git
___________________________________________________________________
Added: svn:executable
   + *




More information about the debian-med-commit mailing list