[visualvm] 03/05: Upstream moved from java.net to GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 19 06:59:30 UTC 2016


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

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

commit 3e42e1dde0bb891a9cc7a3ba05826a0578f89923
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Oct 18 23:13:45 2016 +0200

    Upstream moved from java.net to GitHub
---
 debian/README.source |  2 +-
 debian/changelog     |  7 +++++--
 debian/control       |  2 +-
 debian/copyright     |  4 ++--
 debian/orig-tar.sh   | 16 ++++++++--------
 debian/visualvm.1    |  2 +-
 debian/watch         |  3 +--
 7 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index bca33ce..8461aa0 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -2,7 +2,7 @@ Information about visualvm
 --------------------------
 
 visualvm is a composite source package. It consists in two tarballs
-published at https://java.net/downloads/visualvm :
+published at https://github.com/visualvm/visualvm.src/releases:
   * visualvm_xyz-src.tar.gz
   * netbeans-profiler-visualvm_releaseXYZ.tar.gz
 
diff --git a/debian/changelog b/debian/changelog
index b1f6d99..237a115 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
 visualvm (1.3.8-3) UNRELEASED; urgency=medium
 
   * Team upload.
-  * Standards-Version updated to 3.9.8
-  * Use secure Vcs-* URLs
+  * debian/control:
+    - Standards-Version updated to 3.9.8
+    - Use secure Vcs-* URLs
+    - Updated the Homepage field
+  * Track and download the new releases on GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 18 Oct 2016 18:31:42 +0200
 
diff --git a/debian/control b/debian/control
index d389a3f..758e343 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9),
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/visualvm.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/visualvm.git
-Homepage: https://visualvm.java.net
+Homepage: https://visualvm.github.io
 
 Package: visualvm
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 9be7e9c..b77df1c 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: VisualVM
-Source: https://java.net/downloads/visualvm//release137/visualvm_137-src.tar.gz
-        https://java.net/downloads/visualvm//release137/netbeans-profiler-visualvm_release741.tar.gz
+Source: https://github.com/visualvm/visualvm.src
+        https://github.com/visualvm/visualvm.src/releases/download/1.3.9/netbeans-profiler-visualvm_release802.tar.gz
 
 Files: debian/*
 Copyright: 2008-2012, Matthias Klose <doko at ubuntu.com>
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index e526491..0a6bbb1 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -5,24 +5,24 @@ TAG=$(echo $VERSION | sed s/\\.//g)
 DIR=visualvm-$VERSION
 TAR=../visualvm_$VERSION.orig.tar.xz
 
-rm -Rf java.net $3 $DIR
+rm -Rf github.com $DIR
 
 # Download the tarballs
-wget --no-verbose --recursive --level 1 \
+wget --no-verbose --recursive --level 1 -e robots=off \
      --accept 'netbeans-profiler-visualvm_release*' \
-     --accept 'visualvm_*-src.tar.gz' \
-     https://java.net/downloads/visualvm/release$TAG/
+     https://github.com/visualvm/visualvm.src/releases/tag/$VERSION
 
 # Extract the source files
 mkdir $DIR
 mkdir $DIR/netbeans
-tar -xf java.net/downloads/visualvm/release$TAG/visualvm_*-src.tar.gz -C $DIR
-tar -xf java.net/downloads/visualvm/release$TAG/netbeans-profiler-visualvm_release*.tar.gz -C $DIR/netbeans
+tar -xf $3 --strip-components 1 -C $DIR
+tar -xf github.com/visualvm/visualvm.src/releases/download/$VERSION/netbeans-profiler-visualvm_release*.tar.gz -C $DIR/netbeans
+rm $3
 
 # Add a file in the empty directories to preserve them in Git (the build fails otherwise)
 for dir in $(find ./$DIR -type d -regex ``./[^.].*'' -empty); do touch $dir"/.gitignore"; done;
 
 # Build the upstream tarball
-XZ_OPT=--best tar -cJf $TAR --exclude '*.exe' $DIR
+XZ_OPT=--best tar -cJf $TAR --exclude '*.exe' --exclude 'plugins/*' $DIR
 
-rm -Rf $DIR java.net
+rm -Rf $DIR github.com
diff --git a/debian/visualvm.1 b/debian/visualvm.1
index a1d6c57..5347fc9 100644
--- a/debian/visualvm.1
+++ b/debian/visualvm.1
@@ -76,5 +76,5 @@ More information and tutorial videos are available on the
 .B VisualVM
 site at:
 .IP
-.B http://visualvm.java.net
+.B https://visualvm.github.io
 .PP
diff --git a/debian/watch b/debian/watch
index f7917bd..fc9b908 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
 version=3
-opts=uversionmangle=s/(\d)(\d)(\d)/$1.$2.$3/;s/(\d)(\d)/$1.$2/ \
-https://java.net/downloads/visualvm/ release(\d+)/ debian debian/orig-tar.sh
+https://github.com/visualvm/visualvm.src/tags .*/archive/([\d\.]+).tar.gz debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list