This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch glibc-2.27
in repository glibc.

commit 8c5d3a50151ad8d38cd7d6f09d77304fda1d9c71
Author: Aurelien Jarno <aurel...@aurel32.net>
Date:   Sat Feb 3 00:53:38 2018 +0100

    debian/rules.d/tarball.mk: do a local bare clone before using git archive 
as it doesn't support https.
---
 debian/changelog          | 2 ++
 debian/rules.d/tarball.mk | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8996b2d..5b7c6b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,8 @@ glibc (2.26.9000+20180127.7e23a7dd-0experimental1) 
UNRELEASED; urgency=medium
 
   [ Aurelien Jarno ]
   * debian/rules: tweak GCC garbage collector on 32-bit MIPS builders.
+  * debian/rules.d/tarball.mk: do a local bare clone before using git archive
+    as it doesn't support https.
 
  -- Samuel Thibault <sthiba...@debian.org>  Sun, 28 Jan 2018 10:53:21 +0100
 
diff --git a/debian/rules.d/tarball.mk b/debian/rules.d/tarball.mk
index 1750564..f3f0cc8 100644
--- a/debian/rules.d/tarball.mk
+++ b/debian/rules.d/tarball.mk
@@ -10,11 +10,12 @@ GIT_UPDATES_DIFF = debian/patches/git-updates.diff
 get-orig-source: $(DEB_ORIG)
 $(DEB_ORIG):
        dh_testdir
+       git clone --bare $(GLIBC_GIT) $(GLIBC_CHECKOUT)
        mkdir -p $(GLIBC_DIR)
-       git archive -v --remote=$(GLIBC_GIT) --format=tar $(GLIBC_TAG) | (tar 
-C $(GLIBC_DIR) -xf -)
+       (cd $(GLIBC_CHECKOUT) && git archive -v --format=tar $(GLIBC_TAG)) | 
tar -C $(GLIBC_DIR) -xf -
        rm -fr $(GLIBC_DIR)/manual
        tar --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner 
-Jcf $(DEB_ORIG) $(GLIBC_DIR)
-       rm -rf $(GLIBC_DIR)
+       rm -rf $(GLIBC_DIR) $(GLIBC_CHECKOUT)
 
 update-from-upstream:
        dh_testdir

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git

Reply via email to