[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#960475: RFS: iptux/0.7.6-2 -- Intranet communication tool for Linux



On Thu, May 14, 2020 at 11:03:18AM +0800, atzlinux 肖盛文 wrote:
> Hi,Peter,
> 
>     Thanks for your sponsor.
> 
> 在 2020/5/13 下午6:39, Peter Pentchev 写道:
> > Uploaded, thanks for your work!
> >
> > For future reference:
> > - you could shorten the rules file even further by using the new
> >   "execute_after" targets available in debhelper 13
> done  in git.[1]
> > - you could use the watch file format 4 and use @ANY_VERSION@ and
> >   @ARCHIVE_EXT@
> done in git.[2]
> 
> updated to format 4.
> 
> cat watch
> 
> /version=4//
> //opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/@PACKAGE@-$1\.tar\.gz/ \//
> //  https://github.com/iptux-src/@PACKAGE@/tags .*/v?(\d\S*)@ARCHIVE_EXT@/
> 
> I used @PACKAGE@,  @ARCHIVE_EXT@,
> 
> but @ANY_VERSION@ perhaps is not very fit for github.

Hm, it seems to work for me for the gitless package. Also, the attached
patch works for me for the iptux package - I guess it may not be very
well documented that @ANY_VERSION@ is a regular expression group, so you
don't have to put it in () by itself, if that's what you tried.

I should have mentioned that before, but feel free to let me know
directly for future uploads of the iptux package. I mean, obviously
I cannot test it (unless there is a way to test it from waaaay outside
China and Eastern Asia at all?), but I can make sure it builds and
then upload it :)

G'luck,
Peter

-- 
Peter Pentchev  roam@ringlet.net roam@debian.org pp@storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
diff --git a/debian/watch b/debian/watch
index 1dee20e..d9b9dbc 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=4
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/@PACKAGE@-$1\.tar\.gz/ \
-  https://github.com/iptux-src/@PACKAGE@/tags .*/v?(\d\S*)@ARCHIVE_EXT@
+opts=filenamemangle=s/.+\/v?@ANY_VERSION@\.tar\.gz/@PACKAGE@-$1\.tar\.gz/ \
+  https://github.com/iptux-src/@PACKAGE@/tags .*/v?@ANY_VERSION@@ARCHIVE_EXT@

Attachment: signature.asc
Description: PGP signature


Reply to: