From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: (qmail 18424 invoked by alias); 4 Jul 2018 21:29:14 -0000
Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id:
List-Post:
List-Help:
List-Subscribe:
Sender: elfutils-devel-owner@sourceware.org
Received: (qmail 18408 invoked by uid 89); 4 Jul 2018 21:29:13 -0000
Authentication-Results: sourceware.org; auth=none
X-Virus-Checked: by ClamAV 0.99.4 on sourceware.org
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Releases, rocha, Rocha
X-Spam-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org
X-Spam-Level:
X-HELO: gnu.wildebeest.org
Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Jul 2018 21:29:11 +0000
Received: from librem.wildebeest.org (deer0x15.wildebeest.org [172.31.17.151]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id A11D63001763; Wed, 4 Jul 2018 23:29:08 +0200 (CEST)
Received: by librem.wildebeest.org (Postfix, from userid 1000) id 69E071437F5; Wed, 4 Jul 2018 23:29:08 +0200 (CEST)
Date: Wed, 04 Jul 2018 21:29:00 -0000
From: Mark Wielaard
To: Sasha Da Rocha Pinheiro
Cc: "elfutils-devel@sourceware.org"
Subject: Re: dependency
Message-ID: <20180704212908.GD7556@wildebeest.org>
References: <1530321859.12946.198.camel@klomp.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk"
Content-Disposition: inline
In-Reply-To:
User-Agent: Mutt/1.10.0 (2018-05-17)
X-Spam-Flag: NO
X-IsSubscribed: yes
X-SW-Source: 2018-q3/txt/msg00006.txt.bz2
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-length: 932
On Mon, Jul 02, 2018 at 10:04:05PM +0000, Sasha Da Rocha Pinheiro wrote:
> I think the link should be direct to the file, since we download and
> extract. Otherwise, if the link was to a directory the issue would
> continue, since we would need to verify the version to compose the
> filename.
>
> Now as for stable/latest/current, I don't have a preference. But I feel
> like it should be latest, since all elfutils releases are stable.
OK, from now on https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2
should point to the latest release.
And https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2.sig to
the corresponding gpg signature for the tar.bz2.
See also the attached update to the elfutils-htdocs.
I also added an upload-release.sh script that can be run to create,
sign, upload and update the links (if you are a maintainer with a
sourceware shell account).
Thanks for the suggestion.
Cheers,
Mark
--UugvWAfsgieZRqgk
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0001-Add-last-release-and-signature-links.patch"
Content-length: 1014
>From 954b1199737ca1047bc1bad82fcff6c3ce5ec2ec Mon Sep 17 00:00:00 2001
From: Mark Wielaard
Date: Wed, 4 Jul 2018 23:21:19 +0200
Subject: [PATCH] Add last release (and signature) links
---
index.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 2e832ac..89449ce 100644
--- a/index.html
+++ b/index.html
@@ -54,7 +54,9 @@
See the CONTRIBUTING file for how to propose patches to the code.
- Releases:
+
Last release: tar.bz2 (sig)
+
+ All releases:
ftp://sourceware.org/pub/elfutils/ or https://sourceware.org/elfutils/ftp/
--
2.18.0
--UugvWAfsgieZRqgk
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0001-config-Add-upload-release.sh-script.patch"
Content-length: 1953
>From 45591ea8e54c4af4ae9a00ed85f22e09133e3dcf Mon Sep 17 00:00:00 2001
From: Mark Wielaard
Date: Wed, 4 Jul 2018 23:08:41 +0200
Subject: [PATCH] config: Add upload-release.sh script.
Should be run after making a release to upload the new tar.bz2,
signature file and update the latest symlinks. Make sure to run
make distcheck first. Requires a shell account on sourceware.
Signed-off-by: Mark Wielaard
---
config/ChangeLog | 4 ++++
config/upload-release.sh | 31 +++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100755 config/upload-release.sh
diff --git a/config/ChangeLog b/config/ChangeLog
index 0e9cc28c..f281eb27 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2018-07-04 Mark Wielaard
+
+ * upload-release.sh: New file.
+
2018-06-11 Mark Wielaard
* elfutils.spec.in: Update for 0.172.
diff --git a/config/upload-release.sh b/config/upload-release.sh
new file mode 100755
index 00000000..320d1ada
--- /dev/null
+++ b/config/upload-release.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+# Any error is fatal
+set -e
+
+# We take one arguent, the version (e.g. 0.173)
+if [ $# -ne 1 ]; then
+ echo "$0 (e.g. 0.169)"
+ exit 1
+fi
+
+VERSION="$1"
+
+# Check we are in the build dir already configured.
+ELFUTILS_VERSION=$(echo $VERSION | cut -f2 -d\.)
+grep $ELFUTILS_VERSION version.h \
+ || (echo "Must be run in configured build dir for $VERSION"; exit -1)
+
+make dist
+
+mkdir $VERSION
+cp elfutils-$VERSION.tar.bz2 $VERSION/
+cd $VERSION/
+gpg -b elfutils-$VERSION.tar.bz2
+cd ..
+scp -r $VERSION sourceware.org:/sourceware/ftp/pub/elfutils/
+
+ssh sourceware.org "(cd /sourceware/ftp/pub/elfutils \
+ && ln -sf $VERSION/elfutils-$VERSION.tar.bz2 elfutils-latest.tar.bz2 \
+ && ln -sf $VERSION/elfutils-$VERSION.tar.bz2.sig elfutils-latest.tar.bz2.sig \
+ && ls -lah elfutils-latest*)"
--
2.18.0
--UugvWAfsgieZRqgk--