sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 13838] New: need a way to specify the preffered dl_handler when more are available
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 13838] New: need a way to specify the preffered dl_handler when more are available
- Date: 13 Jun 2007 16:51:06 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13838
Summary: need a way to specify the preffered dl_handler when more
are available
Product: Sorcery
Version: 1.15.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: jakakranjc AT email.si
OtherBugsDependingO 1777,9474
nThis:
We need a way to specify the preffered dl_handler if more are available. Now
the url handlers have it hardcoded.
Andrew suggested using a config variable. curl and aria2 (see linked bugs)
can
both completely replace wget and the rest of the handlers probably won't get
alternatives, so I think just one unscalable variable should do. The url_http
bucketize functions would then echo that instead.
Then there'd be a submenu in sorcery->features to select which one to use for
http(s)/ftp. Something like:
What do you want to use to download from http/https/ftp urls?
0 wget (default)
1 aria2
2 curl
Or to solve it more generally, the menu could contain a (hardcoded) list of
all
the url prefixes that can have different dl_handlers and each item would ask
you for what dl_handler to use for it. Something like:
What do you want to use to download from:
0 http
-> clicking would invoke the previously mentioned menu
1 https
2 ftp
(... ...
n ...)
The choice would be stored in a variable ${prefix}_DL_HANDLER (p.e.
HTTP_DL_HANDLER) and the url*_bucketize functions could then be removed.
We also need to at least print a warning about casting the spells that
provide
the dl_handler program, since only wget is in the basesystem.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 13838] New: need a way to specify the preffered dl_handler when more are available, bugzilla-daemon, 06/13/2007
Archive powered by MHonArc 2.6.24.