Commit e523a49a by Lafont François

Change the "source" url which is in github now.

parent bf480584
......@@ -25,7 +25,7 @@ VERSION := $(shell cd $(WORKING_DIR) && (dpkg-parsechangelog 2>/dev/null || echo
| awk '/^Version/ {print $$2}' | cut -d'-' -f1)
# URL of the upstream tarball during the last commit.
MASTER_TARBALL := https://git.backbone.education/pfautrero/xia/repository/archive.tar.gz?ref=master
MASTER_TARBALL := https://github.com/pfautrero/xia/archive/master.tar.gz
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xia
Upstream-Contact: Pascal Fautrero <pascal.fautrero@ac-versailles.fr>
Source: https://git.backbone.education/pfautrero/xia/tree/master
Source: https://github.com/pfautrero/xia
Files: *
Copyright: 2014 Pascal Fautrero <pascal.fautrero@ac-versailles.fr>
......
version=3
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
https://git.backbone.education/pfautrero/xia/tags ^.*archive\.tar\.gz\?ref=(.*)$
# Here, there are 2 options (uversionmangle and
# filenamemangle) separated by a comma (warning no space
# unless to put the option and its value in double quotes).
#
#
# https://github.com/pfautrero/xia/tags
# is the "releases" page, ie it's the page where the releases
# are downloadable via simple links (ie some `<a href="link-location...">`
# in the html source code).
#
# ^.*/archive/(.*)\.tar\.gz$
# is the regex to catch the link locations (href) which are
# releases links in the page https://github.com/pfautrero/xia/tags.
# In this regex, the captured group number 1 is the version delimiter.
#
# The goal of the "uversionmangle" option
# is to change a version from 2.0-beta1 to 2.0~beta1
# (for instance) in the "releases" page. Because with
# git, the "~" character in not allowed in a tag but the
# correct syntax for Debian is 2.0~beta1.
#
# The goal of the "filenamemangle" option
# is to have automatically a .tar.gz file called archive.tar.gz.
#
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
filenamemangle=s/^(.*)\.tar\.gz$/archive.tar.gz/ \
https://github.com/pfautrero/xia/tags ^.*/archive/(.*)\.tar\.gz$
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment