~m-grant-prg/dnsmasq-logrotate/bionic

« back to all changes in this revision

Viewing changes to debian/watch

  • Committer: Mark Grant
  • Date: 2018-05-25 09:45:20 UTC
  • Revision ID: m.grant.prg@gmail.com-20180525094520-3027i2xw7641pji3
Initial setup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Watch control file for uscan and hence bzr merge-upstream.
 
2
# See uscan(1) for the file format.
 
3
 
 
4
 
 
5
# Compulsory line, this is a version 4 file.
 
6
version=4
 
7
 
 
8
 
 
9
# GitHub host.
 
10
# ============
 
11
 
 
12
# The github tags and releases tend to be just v1.0.1, so apart from finding
 
13
# the releases, this also creates a package-version tarball.
 
14
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)@ARCHIVE_EXT@%@PACKAGE@-v$1.tar.gz%" \
 
15
   https://github.com/m-grant-prg/@PACKAGE@/releases \
 
16
   (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ debian
 
17
# The 3 lines below could be appended to the line above to look for a PGP
 
18
# signature. However, as supplied, it does not work.
 
19
# , \
 
20
#   pgpsigurlmangle=s/archive\/(\d\S+)@ARCHIVE_EXT@/releases\/download\/$1\/$1@ARCHIVE_EXT@\.asc/ \
 
21
#   https://github.com/m-grant-prg/@PACKAGE@/releases .*/(\d\S+)@ARCHIVE_EXT@
 
22
 
 
23
 
 
24
# Hermes host.
 
25
# ============
 
26
 
 
27
# The perl regex below allows for tarball name formats of package-v1.0.1.tar.gz,
 
28
# package-v1.0.1+rc1.tar.gz and package-v1.0.1-4-g6650f8e.tar.gz.
 
29
http://hermes.mgent.home/deployments/source/ \
 
30
        @PACKAGE@-v(\d[\d.]*[\w+]*[\w-]*)@ARCHIVE_EXT@ debian
 
31
 
 
32
 
 
33
# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
 
34
#opts="pgpsigurlmangle=s%$%.sig%"
 
35
 
 
36
 
 
37
# HTTP site (basic)
 
38
#http://example.com/downloads.html \
 
39
#  files/@PACKAGE@-([\d\.]+)@ARCHIVE_EXT@ debian uupdate
 
40
 
 
41
 
 
42
# Uncommment to examine a FTP server
 
43
#ftp://ftp.example.com/pub/@PACKAGE@-(.*)@ARCHIVE_EXT@ debian uupdate
 
44
 
 
45
 
 
46
# SourceForge hosted projects
 
47
# http://sf.net/@PACKAGE@/ @PACKAGE@-(.*)@ARCHIVE_EXT@ debian uupdate
 
48
 
 
49
 
 
50
# PyPI
 
51
# https://pypi.debian.net/@PACKAGE@/@PACKAGE@-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
 
52
 
 
53
 
 
54
# Direct Git
 
55
# opts="mode=git" http://git.example.com/@PACKAGE@.git \
 
56
#   refs/tags/v([\d\.]+) debian uupdate
 
57
 
 
58
 
 
59
# Uncomment to find new files on GooglePages
 
60
# http://example.googlepages.com/foo.html @PACKAGE@-(.*)@ARCHIVE_EXT@