removed releasenote details, as they are now in monkeysphere-docs
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 7 Oct 2010 06:49:56 +0000 (02:49 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 7 Oct 2010 06:49:56 +0000 (02:49 -0400)
Makefile
utils/build-releasenote [deleted file]
utils/download.mdwn.footer [deleted file]
utils/releasenote.footer [deleted file]
utils/releasenote.header [deleted file]

index 201abf43e8a79b764f3985d4a9d89e4e443f450a..767cd6c5890a8fe83bcaef5682214bf6e6791289 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -89,8 +89,10 @@ installman:
        sed -i 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8
        gzip -n $(DESTDIR)$(MANPREFIX)/man8/monkeysphere-authentication.8
 
+# this target depends on you having the monkeysphere-docs
+# repo checked out as a peer of your monkeysphere repo.
 releasenote:
-       ./utils/build-releasenote
+       ../monkeysphere-docs/utils/build-releasenote
 
 test: test-keytrans test-basic
 
diff --git a/utils/build-releasenote b/utils/build-releasenote
deleted file mode 100755 (executable)
index eeda316..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-
-# script to build a release announcement for the Monkeysphere
-# if you're running this, you probably also want to read through
-# the checklist in utils/preparing-release.
-
-# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-# Copyright: © 2008-2010
-# License: GPL, v3 or later
-
-VERSION=`head -n1 Changelog | sed 's/.*(\([^)]*\)).*/\1/'`
-WEBSITEDIR=../monkeysphere-docs/website
-
-if [ ! -d "$WEBSITEDIR" ]; then
-    echo "you need to check out the monkeysphere-docs git repo" >&2
-    echo "as a peer of this repository to create a releasenote" >&2
-    exit 1
-fi
-
-{ 
-    sed "s/__VERSION__/$VERSION/g" < utils/releasenote.header
-    head -n$(( $(grep -n '^ --' Changelog  | head -n1 | cut -f1 -d:) - 2 )) Changelog | tail -n+3
-    sed "s/__VERSION__/$VERSION/g" < utils/releasenote.footer
-} > "$WEBSITEDIR/news/release-$VERSION.mdwn"
-
-(cd "$WEBSITEDIR" && git add "news/release-$VERSION.mdwn" )
-
-checksums() {
-    echo "checksums for the monkeysphere ${VERSION%%-*} release:"
-    echo
-    echo "MD5:"
-    md5sum "../monkeysphere_${VERSION%%-*}.orig.tar.gz"
-    echo
-    echo "SHA1:"
-    sha1sum "../monkeysphere_${VERSION%%-*}.orig.tar.gz"
-    echo
-    echo "SHA256:"
-    sha256sum "../monkeysphere_${VERSION%%-*}.orig.tar.gz"
-} 
-
-checksums
-
-temprelease=$(mktemp ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX)
-trap "rm -f $temprelease" EXIT
-set -e
-head -n$(( $(grep -n '^-----BEGIN PGP SIGNED MESSAGE-----$' "$WEBSITEDIR/download.mdwn" | head -n1 | cut -f1 -d:) - 1 )) "$WEBSITEDIR/download.mdwn" | \
- sed -e 's|http://archive\.monkeysphere\.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_[[:digit:].]\+\.orig\.tar\.gz|http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_'"${VERSION%%-*}"'.orig.tar.gz|g' >$temprelease
-checksums | gpg --no-tty --clearsign --default-key EB8AF314 >>$temprelease
-cat utils/download.mdwn.footer >>$temprelease
-mv "$temprelease" "$WEBSITEDIR/download.mdwn"
-trap - EXIT
-set +e
-
-(cd "$WEBSITEDIR" && git add "download.mdwn")
-
-gpg --verify "$WEBSITEDIR/download.mdwn"
-
-printf "please remember to add the new version to the bugtracker:\n  https://labs.riseup.net/code/projects/settings/monkeysphere\n"
diff --git a/utils/download.mdwn.footer b/utils/download.mdwn.footer
deleted file mode 100644 (file)
index 95bc788..0000000
+++ /dev/null
@@ -1 +0,0 @@
-</pre>
diff --git a/utils/releasenote.footer b/utils/releasenote.footer
deleted file mode 100644 (file)
index 640e765..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-</pre>
-
-[[Download]] it now!
diff --git a/utils/releasenote.header b/utils/releasenote.header
deleted file mode 100644 (file)
index 91fbcfc..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-[[!meta title="Monkeysphere __VERSION__ released!"]]
-
-Monkeysphere __VERSION__ has been released.  
-
-Notes from the changelog:
-
-<pre>