Bug#833012: Need better example URL
Osamu Aoki
osamu at debian.org
Sun Sep 3 12:51:44 UTC 2017
control: tags -1 moreinfo
thanks
(FYI: https://bugs.debian.org/833012 )
I tested my updated script and fixed several loose ends. I think
thought is right but I need an actual example which works with this new
pgpmode=auto with "?" in URL. Your bug report isn't good enough for me
to proceed.
I made second guess what you were thinking and failed to find an
example. If you can point me to an example debian/watch file which
needs your requested feature, let me know.
Here is the back ground:
Since you didn't provide watch file, I am guessing from #831829, that
this watch file is the one found in:
$ git clone https://anonscm.debian.org/git/pkg-mozext/self-destructing-cookies.git
Its debian/watch has:
version=3
opts="repack, compression=xz" \
https://addons.mozilla.org/en-US/firefox/addon/self-destructing-cookies/versions/ \
.*/self_destructing_cookies-([0-9.]+).*[.]xpi.* \
debian
The https://addons.mozilla.org/en-US/firefox/addon/self-destructing-cookies/versions/ is not so simple.
The web page depends on the browser. With firefox, "Add to Firefox"
button appears. So I looked around. This may be because this URL site
has contents such as:
<p class="install-button">
<a class="button download "
data-hash="sha256:340d7d9a73b9b11579f75fa75b508ded5b792728b42259cf1c7aead69bc0b7f9"
href="https://addons.mozilla.org/firefox/downloads/file/423258/self_destructing_cookies-0.4.10-an+fx.xpi?src=version-history"
>
So the watch file may be looking the match for:
https://addons.mozilla.org/firefox/downloads/file/423258/self_destructing_cookies-0.4.10-an+fx.xpi?src=version-history
So far it makes sense.
When I checked, the recent release doesn't have "-signed" in the
"Version 0.4.12" while older release has "Version 0.4.7.1-signed".
Strange. Are you sure this site still provides signature file? If you
add ".asc" before "?" as
https://addons.mozilla.org/firefox/downloads/file/423258/self_destructing_cookies-0.4.10-an+fx.xpi.asc?src=version-history
This URL with wget downloads the same
self_destructing_cookies-0.4.10-an+fx.xpi file !!! This can't be the
signature file. (Too big too)
I realize the current uscan.pl code is not good for "pgpmode=auto" for
another reason since it forces the downloaded signature file extension
to be pgp. So the current code needs to be fixed. I already fixed this
problem with your wishlist case. I need to get a working example case
before committing my new change.
Let me know more.
Osamu
More information about the devscripts-devel
mailing list