Am 15.03.2021 um 08:39 teilte Geert Stappers mit:
On Mon, Mar 15, 2021 at 12:16:24AM +0100, Hilmar Preuße wrote:
Hi,
My attempt to implement signature check is pgpsigurlmangle=s@archive@releases/download/v$1@;\ s/([^\/]+)\.tar\.gz/proftpd-$1\.tar\.gz/;\ s/$/.asc/ \ uscan -ddd tries to download from https://github.com/proftpd/proftpd/releases/download/v/proftpd-v1.3.7a.tar.gz.asc How to I refer to upstreams new version in pgpsigurlmangle ?Start with sharing to whole watch file with your peers.
Here we go: version=4 opts=repack,compression=gz,dversionmangle=auto,\ uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\ pgpsigurlmangle=s@archive@releases/download/v$1@;\ s/([^\/]+)\.tar\.gz/proftpd-$1\.tar\.gz/;\ s/$/.asc/ \ https://github.com/proftpd/proftpd/tags .*/v?(\d\S+)\.tar\.gz
The answer is rather seeing that `s/search/replace/` can also be expressed as `s@search@replace@`.
Yes, that what I did already. My original post id quite confusing, here are the correct URLs:Latest Upstream source is https://github.com/proftpd/proftpd/archive/v1.3.7a.tar.gz PGPG sig for latest version is https://github.com/proftpd/proftpd/releases/download/v1.3.7a/proftpd-1.3.7a.tar.gz.asc
"uscan -ddd" (using the pattern above) tries to download from https://github.com/proftpd/proftpd/releases/download/v/proftpd-v1.3.7a.tar.gz.ascHow do I put the latest upstream version number in the pgpsigurlmangle option (where is currently just a "v" visible).
Many thanks! H. -- sigfault
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature