[mupen64plus-video-glide64mk2] 33/60: Change upstream source to github

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:16:13 UTC 2015


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

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-video-glide64mk2.

commit 6110959ca8e73afdb79fe906d2dcd1989d9b2b64
Author: Sven Eckelmann <sven at narfation.org>
Date:   Thu Dec 19 17:28:09 2013 +0100

    Change upstream source to github
---
 debian/changelog          |  7 +++++++
 debian/copyright          |  2 +-
 debian/get-orig-source.sh | 13 ++++++-------
 debian/watch              |  4 ++--
 4 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f97ebda..963b4e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,13 @@ mupen64plus-video-glide64mk2 (2.0-3) UNRELEASED; urgency=low
   * Upgraded to policy 3.9.5, no changes required
   * debian/patches:
     - Add shader_reset.patch, Set shader again after displaying OSD
+  * debian/watch:
+    - Change upstream check from bitbucket to github
+  * debian/copyright:
+    - Change upstream source to github
+  * debian/get-orig-source.sh
+    - Change upstream repository to github
+    - Change SCM from Mercurial to Git
 
  -- Sven Eckelmann <sven at narfation.org>  Sat, 16 Nov 2013 18:13:03 +0100
 
diff --git a/debian/copyright b/debian/copyright
index 4fcf94f..da44040 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: mupen64plus-video-glide64mk2
 Upstream-Contact: Richard 'Richard42' Goedeken <Richard at fascinationsoftware.com>
-Source: http://bitbucket.org/richard42/mupen64plus-video-glide64mk2/
+Source: https://github.com/mupen64plus/mupen64plus-video-glide64mk2/
 
 Files: *
 Copyright: 2012-2013, Richard 'Richard42' Goedeken <Richard at fascinationsoftware.com>
diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
index 0639635..960fc15 100755
--- a/debian/get-orig-source.sh
+++ b/debian/get-orig-source.sh
@@ -5,22 +5,21 @@ if [ -z "$DIR" ]; then
 	DIR=mupen64plus-video-glide64mk2
 fi
 if [ -z "$OWNER" ]; then
-	OWNER=richard42
+	OWNER=mupen64plus
 fi
 
 # try to download source package
 if [ "$1" != "snapshot" ]; then
 	uscan --verbose --force-download
 else
-	MODULE="${OWNER}/${DIR}"
+	MODULE=$(echo "${OWNER}/${DIR}" | sed 's/^\/*//')
 	TMP="`mktemp -t -d`"
-	hg clone --noupdate "http://bitbucket.org/${MODULE}" "${TMP}"
-	REV="`hg --repository "${TMP}" log -r tip --template '{latesttag}+{latesttagdistance}+{node|short}\n'`"
-	LONGREV="`hg --repository "${TMP}" log -r tip --template '{node}\n'`"
+	git clone --bare "https://github.com/${MODULE}.git" "${TMP}"
+	REV="$(git --git-dir "${TMP}" describe --tags --long master | sed -e 's/^v*//' -e 's/-/+/g')"
+	LONGREV="$(git --git-dir "${TMP}" rev-parse master)"
 	TARNAME="${DIR}_${REV}.orig.tar"
 	echo "${LONGREV}"
-	EXCLUDE="--exclude ${TMP}/.hgtags --exclude ${TMP}/.hg_archival.txt --exclude ${TMP}/.hgignore"
-	hg --repository "${TMP}" archive --no-decode --type tar --prefix "${DIR}-${REV}/" ${EXCLUDE} -r tip "${TARNAME}"
+	git --git-dir "${TMP}" archive --format=tar --prefix="${DIR}-${REV}/" master -o "${TARNAME}"
 	gzip -n -f "${TARNAME}"
 	rm -rf "${TMP}"
 fi
diff --git a/debian/watch b/debian/watch
index 0a48bd3..f411343 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=3
 
 opts="pgpsigurlmangle=s/$/.asc/" \
- http://bitbucket.org/richard42/mupen64plus-video-glide64mk2/downloads/ \
-	/richard42/mupen64plus-video-glide64mk2/downloads/mupen64plus-video-glide64mk2-src-(.*).tar.gz
+ https://github.com/mupen64plus/mupen64plus-video-glide64mk2/releases \
+	/mupen64plus/mupen64plus-video-glide64mk2/releases/download/[^/]+/mupen64plus-video-glide64mk2-src-(.*\d).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-glide64mk2.git



More information about the Pkg-games-commits mailing list