new style for debian/watch file

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Feb 19 11:48:00 UTC 2014


Hi Vangelis,

thanks for pushing all those initial changes necessary for packages.

We have to make a slight change on debian/watch files.

An example of a new-style watch file is this:
http://anonscm.debian.org/gitweb/?p=pkg-mate/atril.git;a=blob;f=debian/watch;h=66169e79205f227e290061467fbd5f549bced37c;hb=8e9e996090e97e7cf2433babb4fe70bbfcce5df0

"""
version=3
opts=dversionmangle=s/\+dfsg1//,filenamemangle=s/mate-document-viewer/atril/ \
http://pub.mate-desktop.org/releases/(\d\.(12|14|6|8|10))/(?:mate-document-viewer|atril)-(.*)\.tar\.xz

"""

The changes are:

    1. the URL for tarballs: use release  serieses (12|14|6|8|10).
       (Maybe this can be more generic, feedback?)
    2. Packages that contain a help folder in the upstream tarball
       will have this folder removed (tarball repacking) and we
       add a +dfsg1 to the upstream version. In the watch file
       we have to add the dversionmangle option.
    3. Packages that will get renamed for the 1.8 series (e.g.
       mate-document-viewer) will need some filenamemangling
       _and_ an either or expression in the tarball file name
      (e.g. "(?:mate-document-viewer|atril)" ).

@Vangelis: Make sure that new watch files you work are adapted as  
described above. Once you have an idea on the needed changes (not  
every package needs all those changes) it would be good to go through  
all already uploaded packages and check their watch files, as well.

Thanks+Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Digitale_PGP_Signatur
Type: application/pgp-signature
Size: 853 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20140219/6992a216/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20140219/6992a216/attachment-0001.sig>


More information about the pkg-mate-team mailing list