sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 13001] url_handlers/url_http: url_ftp_verify passes deprecated wget option -nr
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 13001] url_handlers/url_http: url_ftp_verify passes deprecated wget option -nr
- Date: 20 May 2007 17:29:51 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13001
------- Additional Comments From jakakranjc AT email.si 2007-05-20 12:29 -------
Created an attachment (id=6715)
--> (http://bugs.sourcemage.org/attachment.cgi?id=6715&action=view)
-S to the rescue
Example of brokeness:
navaden@lynxlynx wormux-svn $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/kdewebdev-3.80.3-3.90.1.tar.xdelta;
echo $?
wget: illegal option -- `-nr' Usage: wget [OPTION]... [URL]... Try `wget
--help' for more options.
1
navaden@lynxlynx wormux-svn $
Be cause there is this naming clash with older versions, I suggest we use -S
instead. It was there in 2001 (in the referenced man) and makes the listing be
included in the server response.
After the fix:
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/kdewebdev-3.80.3-3.90.1.tar.xdelta;
echo $?
0
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/kdewebdev-3.80.3-3.90.1.tar.xdeltaasfdsaf;
echo $?
--19:03:28-- ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/ => `-' Resolving
ftp.kde.org... 131.220.16.1, 2001:4ca0:100::10:180 Connecting to
ftp.kde.org|131.220.16.1|:21... connected. Logging in as anony 227 Entering
Passive Mode (131,220,16,1,90,121) --> ble/3.90.1/srcsuccessful. --> SYSTER
anonymous
1
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/; echo $?
0
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src; echo $?
0
navaden@lynxlynx git $ url_ftp_verify ftp://ftp.kde.org/pub/kde/unsta; echo $?
0
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/asdas;
echo $?
--19:27:24-- ftp://ftp.kde.org/pub/kde/unstable/ => `-' Resolving
ftp.kde.org... 131.220.16.1, 2001:4ca0:100::10:180 Connecting to
ftp.kde.org|131.220.16.1|:21... connected. Logging in as anonymous ... 22 250-
250-These are 'unstable', i.e. development releases of the KDE project. 250-
250- 250 Directory 227 Entering Passive Mode (131,220,16,1,29,136) -->
1
navaden@lynxlynx git $
The "unsta" dir that doesn't exsist returned true in the old implementation
too. The grepping doesn't check for word boundaries, so unsta matched in
unstable. Same could happen with files, I'll open another bug report for that.
--
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 13001] url_handlers/url_http: url_ftp_verify passes deprecated wget option -nr, bugzilla-daemon, 05/20/2007
Archive powered by MHonArc 2.6.24.