[atinject-jsr330] 02/07: Track and download the releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 13 20:53:02 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository atinject-jsr330.

commit 493d74d6c581582d5871590bf3d66503e76fd1e7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Nov 13 16:18:55 2017 +0100

    Track and download the releases from GitHub
---
 debian/changelog   |  1 +
 debian/copyright   |  6 +++++-
 debian/orig-tar.sh | 29 -----------------------------
 debian/watch       |  4 +---
 4 files changed, 7 insertions(+), 33 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 12e1432..6b742be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ atinject-jsr330 (1.0+ds1-4) UNRELEASED; urgency=medium
 
   * Team upload.
   * Updated the Homepage field
+  * Track and download the releases from GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 13 Nov 2017 15:28:30 +0100
 
diff --git a/debian/copyright b/debian/copyright
index 24c89a8..a1ea577 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,11 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: atinject
 Upstream-Contact: The JSR-330 Expert Group <atinject at googlecode.com>
 Source: https://github.com/javax-inject/javax-inject
+Files-Excluded: *.jar
+                *.iml
+                *.ipr
+                javadoc/*
 
 Files: *
 Copyright: 2009, The JSR-330 Expert Group <atinject at googlecode.com>
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 6958853..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-set -e
-
-UPSTREAM_VERSION=`echo $2 | sed -n 's/^\([0-9]\)\.0/\1/p'`
-DEBIAN_VERSION=`dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p'`
-TAG=javax.inject-tck-$UPSTREAM_VERSION
-DIR=atinject-jsr330
-TAR=../atinject-jsr330_$DEBIAN_VERSION.orig.tar.xz
-
-svn export http://atinject.googlecode.com/svn/tags/$TAG $DIR
-tar -c -J -f $TAR --exclude '*.jar' --exclude '*.iml' --exclude '*.ipr' --exclude 'javadoc/*' $DIR
-rm -Rf $3 $DIR
-
-#url="http://atinject.googlecode.com/files/javax.inject.zip"
-#package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
-#version=`dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p'`
-#tarball="javax.inject.zip"
-#TAR=${package}_${version}.orig.tar.gz
-#DIR=${package}-${version}.orig
-#
-#wget $url
-#unzip $tarball -d $DIR
-#unzip $DIR/javax.inject-src.zip -d $DIR
-#
-#GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR \
-#    --exclude '*.zip' --exclude '*.jar' $DIR
-#
-#rm -rf $tarball $DIR
diff --git a/debian/watch b/debian/watch
index f0ef86e..44d3008 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,3 @@
 version=3
 opts=uversionmangle=s/^(.*)$/$1.0/,dversionmangle=s/(.*)\+ds\d/$1/ \
-http://code.google.com/p/atinject/downloads/list \
- //atinject.googlecode.com/files/javax.inject-([0-9\.]+)-bundle.jar \
- debian debian/orig-tar.sh
+https://github.com/javax-inject/javax-inject/tags .*/javax.inject-tck-([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list