watch: fixed upstream MUT/tarballs downloading with "uscan" and "origtargz".

This commit is contained in:
Dmitry Smirnov 2021-02-01 12:55:03 +11:00
parent 1f9a380741
commit e293c6c2fb
4 changed files with 18 additions and 13 deletions

9
debian/copyright vendored
View file

@ -4,6 +4,15 @@ Source: https://gitlab.com/gitlab-org/gitlab-foss
Comment: This package installs front end dependencies (nodejs modules) using
yarn package manager from outside debian. This can go to main when all
those nodejs modules are packaged in main.
Files-Excluded-elasticsearch-rails:
CHANGELOG.md
CONTRIBUTING.md
~elasticsearch-model
elasticsearch-persistence
~elasticsearch-rails
Gemfile
Rakefile
README.md
Files: *
Copyright: 2011-2015 GitLab B.V.

View file

@ -68,5 +68,5 @@ VERSION usr/share/gitlab
shared var/lib/gitlab
public var/lib/gitlab
db var/lib/gitlab
elasticsearch-model usr/share/gitlab/vendor/gems
elasticsearch-rails usr/share/gitlab/vendor/gems
elasticsearch-rails/elasticsearch-model usr/share/gitlab/vendor/gems
elasticsearch-rails/elasticsearch-rails usr/share/gitlab/vendor/gems

View file

@ -72,7 +72,6 @@ debian
doc
docker
docker-compose.yml
elasticsearch-model
elasticsearch-rails
file_hooks
fixtures

17
debian/watch vendored
View file

@ -1,15 +1,12 @@
version=4
opts="uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,\
filenamemangle=s/.*v(.*)\/.*/gitlab-$1.tar.gz/,\
dversionmangle=s/(\d)[\+]?(debian|dfsg|ds|deb|gh)\d*(\~)*(rc)*(\d)*$/$1$3$4$5/ \
" https://gitlab.com/gitlab-org/gitlab-foss/-/tags .*/gitlab-foss-v(\d[\d.]*)\.tar\.gz debian
" https://gitlab.com/gitlab-org/gitlab-foss/-/tags .*/gitlab-foss-v(\d[\d.]*)\.tar\.gz
opts="pgpmode=none,component=elasticsearch-model" \
https://gemwatch.debian.net/elasticsearch-model .*/elasticsearch-model-(6.1.*).tar.gz ignore
opts="pgpmode=none,component=elasticsearch-rails,dversionmangle=s{[\d\.]+}{6.1.0}" \
https://github.com/elastic/elasticsearch-rails/releases \
.*/archive/v?(\d[\d\.]+)@ARCHIVE_EXT@$
opts="pgpmode=none,component=elasticsearch-rails" \
https://gemwatch.debian.net/elasticsearch-rails .*/elasticsearch-rails-(6.1.*).tar.gz ignore
opts="pgpmode=none,component=snowplow-javascript-tracker,\
filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/snowplow-javascript-tracker-\$1\.tar\.gz/" \
https://github.com/snowplow/snowplow-javascript-tracker/tags?after=2.11.0-rc3 .*/v?(2.10.0)\.tar\.gz ignore
opts="pgpmode=none,component=snowplow-javascript-tracker,dversionmangle=s{[\d\.]+}{2.10.0}" \
https://github.com/snowplow/snowplow-javascript-tracker/tags?after=2.11.0-rc3 \
.*/archive/v?(\d[\d\.]+)@ARCHIVE_EXT@$