Package: devscripts
Version: 2.23.7
Severity: minor
Tags: patch

Dear Maintainer,

I found a new efficient way to get the tarballs when they are more than 100
tags like in js package:

version=4
opts=\
filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,\
downloadurlmangle=s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g,\
searchmode=plain \
 https://api.github.com/repos/isaacs/node-glob/git/matching-refs/tags/ \
 https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@

I suppose this should go to documentation

Morevover we could filter by tag begining by some string (here v):

version=4
opts=\
filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,\
downloadurlmangle=s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g,\
searchmode=plain \
 https://api.github.com/repos/isaacs/node-glob/git/matching-refs/tags/v \
 https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@

MR will follow if you agree

Bastien

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to