[med-svn] r20009 - in trunk: helper-scripts package_template

Andreas Tille tille at moszumanska.debian.org
Fri Aug 28 06:32:33 UTC 2015


Author: tille
Date: 2015-08-28 06:32:33 +0000 (Fri, 28 Aug 2015)
New Revision: 20009

Added:
   trunk/helper-scripts/createmanpages
   trunk/helper-scripts/inject-into-alioth-git
Removed:
   trunk/package_template/createmanpages
   trunk/package_template/inject-into-alioth-git
Log:
Move helper scripts away from package template since they seem to remain in packages to frequently


Copied: trunk/helper-scripts/createmanpages (from rev 19987, trunk/package_template/createmanpages)
===================================================================
--- trunk/helper-scripts/createmanpages	                        (rev 0)
+++ trunk/helper-scripts/createmanpages	2015-08-28 06:32:33 UTC (rev 20009)
@@ -0,0 +1,16 @@
+#!/bin/sh
+MANDIR=debian
+mkdir -p $MANDIR
+
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
+
+help2man --no-info --no-discard-stderr --help-option=" " \
+         --name='<optional description of the program>' \
+            --version-string="$VERSION" <programname> > $MANDIR/<programname>.1
+
+cat <<EOT
+Please enhance the help2man output.
+The following web page might be helpful in doing so:
+    http://liw.fi/manpages/
+EOT
+

Copied: trunk/helper-scripts/inject-into-alioth-git (from rev 19987, trunk/package_template/inject-into-alioth-git)
===================================================================
--- trunk/helper-scripts/inject-into-alioth-git	                        (rev 0)
+++ trunk/helper-scripts/inject-into-alioth-git	2015-08-28 06:32:33 UTC (rev 20009)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+echo "Please verify whether this script is obsoleted by gbp-create-remote-repo !"
+
+# 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/#'`
+DIRatALIOTH=`echo $VCSGIT | sed -e 's#ssh://git.debian.org/git/#/git/#' -e 's#/[^/]\+\.git##'`
+set -x
+ssh git.debian.org "cd $DIRatALIOTH; ./setup-repository $DEBPKGNAME '$SHORTDESC'"
+git remote add origin $VCSGIT
+git push origin master
+git push --all --set-upstream
+git push --tags

Deleted: trunk/package_template/createmanpages
===================================================================
--- trunk/package_template/createmanpages	2015-08-27 15:26:55 UTC (rev 20008)
+++ trunk/package_template/createmanpages	2015-08-28 06:32:33 UTC (rev 20009)
@@ -1,16 +0,0 @@
-#!/bin/sh
-MANDIR=debian
-mkdir -p $MANDIR
-
-VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
-
-help2man --no-info --no-discard-stderr --help-option=" " \
-         --name='<optional description of the program>' \
-            --version-string="$VERSION" <programname> > $MANDIR/<programname>.1
-
-cat <<EOT
-Please enhance the help2man output.
-The following web page might be helpful in doing so:
-    http://liw.fi/manpages/
-EOT
-

Deleted: trunk/package_template/inject-into-alioth-git
===================================================================
--- trunk/package_template/inject-into-alioth-git	2015-08-27 15:26:55 UTC (rev 20008)
+++ trunk/package_template/inject-into-alioth-git	2015-08-28 06:32:33 UTC (rev 20009)
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-echo "Please verify whether this script is obsoleted by gbp-create-remote-repo !"
-
-# 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/#'`
-DIRatALIOTH=`echo $VCSGIT | sed -e 's#ssh://git.debian.org/git/#/git/#' -e 's#/[^/]\+\.git##'`
-
-ssh git.debian.org "cd $DIRatALIOTH; ./setup-repository $DEBPKGNAME '$SHORTDESC'"
-git remote add origin $VCSGIT
-git push origin master
-git push --all --set-upstream
-git push --tags




More information about the debian-med-commit mailing list