Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13729] url_generic_apifunc ignores url_get_prefix exit status

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 13729] url_generic_apifunc ignores url_get_prefix exit status
  • Date: 27 Apr 2007 12:45:39 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13729





------- Additional Comments From jakakranjc AT email.si 2007-04-27 07:45 -------
Created an attachment (id=6695)
--> (http://bugs.sourcemage.org/attachment.cgi?id=6695&action=view)
fix for url_generic_apifunc and scribe

unpack_for_update/download_src_args (unextractable prefix):
lynxlynx service # url_get_prefix
http:www.hwaci.com/sw/sqlite/sqlite-3.3.14.tar.gz; echo $?
1
lynxlynx service # summon -r <<< "sqlite-3.3.14.tar.gz
http:www.hwaci.com/sw/sqlite/sqlite-3.3.14.tar.gz"
Downloading source file sqlite-3.3.14.tar.gz
No valid urls!
Attempting to get file from fall-back mirrors

The above works with a good url (of course).

It shows the url_get_prefix handling in update_for_update isn't needed, since
url_get_valid_urls is ran before and this works properly with the
url_generic_apifunc fix.


bad CODEX_URL:
lynxlynx service # scribe add stable-rc
Adding grimoire to from
Failed to get the $CODEX_URL prefix!
lynxlynx service #

The one I mentioned in the second reply isn't needed either, url_is_valid is
called before.


--
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.




Archive powered by MHonArc 2.6.24.

Top of Page