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

Bug#999692: creates watch files with invalid URLs causing uscan to error



Package: dh-make-elpa
Version: 0.19.1
Severity: normal

Hi,

This bug has existed for a while, but finally annoyed me enough to
file a bug.  Briefly, it seems like the URLs generated may be designed
for use with mode=git, or with the assumption that all git project
hosting sites will map a https://foo.git URL to https://foo.  Github
is a notable exception.

Here is an example of the type of manual fixup that is required for
all watch files that point to Github:

-opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/yaml.el.git-$1.tar.gz/" \
-    https://github.com/zkry/yaml.el.git/tags \
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/yaml.el-$1.tar.gz/" \
+    https://github.com/zkry/yaml.el/tags \

The tarball suffix is functionally cosmetic, of course, because uscan
creates an orig.tarball symlink.

Sorry, I will not be submitting an MR, because learning Perl isn't on
my roadmap for the near future ;-)

Regards,
Nicholas


Reply to: