Control: severity -1 important
Control: tags -1 patch

Hi,

the official page [1] says:

  ...all that you need to do is tell the download tool the location of a
   ".jigdo" file to process.

and:

  From one of the locations listed below, pick the".jigdo" files you want
  to download, and enter their URLs at the jigdo-lite prompt.

but .jigdo file URIs are all in the form "https:*" by default.

Taking all this into account, I raise the severity to "important" because
jigdo-lite fails in his main feature, feel free to downgrade if you
think it's not justified.

I attach a trivial patch to fix this issue.
I have tested it on my system and I verified that it works as intended.

Many thanks for your work.

Regards.


[1] https://www.debian.org/CD/jigdo-cd/

--- a/scripts/jigdo-lite
+++ b/scripts/jigdo-lite
@@ -49,7 +49,7 @@
 # Returns 0 (true) if the supplied string is a HTTP/FTP URL, otherwise 1
 isURI() {
   case "$1" in
-    http:*|ftp:*|HTTP:*|FTP:*|file:*|FILE:*) return 0;;
+    http:*|ftp:*|https:*|HTTP:*|FTP:*|HTTPS:*|file:*|FILE:*) return 0;;
     *) return 1;
   esac
 }





Reply via email to