From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Guildhall: fix download path and keep connection alive Date: Tue, 03 Jan 2012 11:26:58 -0500 Message-ID: <877h18ycod.fsf@pobox.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325608032 6476 80.91.229.12 (3 Jan 2012 16:27:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 16:27:12 +0000 (UTC) Cc: guile-devel@gnu.org To: Ian Price Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 03 17:27:08 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri7Cd-0000U1-Sh for guile-devel@m.gmane.org; Tue, 03 Jan 2012 17:27:08 +0100 Original-Received: from localhost ([::1]:56060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri7Cd-0005Uo-Dj for guile-devel@m.gmane.org; Tue, 03 Jan 2012 11:27:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri7CZ-0005UY-W4 for guile-devel@gnu.org; Tue, 03 Jan 2012 11:27:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri7CY-0007yb-JW for guile-devel@gnu.org; Tue, 03 Jan 2012 11:27:03 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:55459 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri7CY-0007yW-ET for guile-devel@gnu.org; Tue, 03 Jan 2012 11:27:02 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id DE2E780D7; Tue, 3 Jan 2012 11:27:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=92MgqwtqJv0n ZvdQoJCPNz1yNiw=; b=NGe1nlnVsFskxvkCnxEkP7u+Jeir2KALTUiF0fY/MICw /N/qONXmjrUS0y4R9A7fJmmT6iqZ8V5IsGRj7VG9Ff/zvrN71JN9bFat53N8TwGk wljDDFvFnP+lzjRB7a6fWWx3lnk1NGfqrtErq1ex7kyo6newayWh/GozVjkUr0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=ghfHVS F9Io72BMCsZOlsReYTeoLRsXtOVr6OLJxZNors4yLH1/ewic49AMW4JOMZShXNRl ApvuB7KgZyIfXn6Wv6SETOze8oVcs1PlpOqcYfL0motD0nLnDkfeHHsO6jJRWYqp WQ0Gz7CHdzTfp6VnY3tHJdqsk+D30nadEChg8= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id D6C9F80D6; Tue, 3 Jan 2012 11:27:01 -0500 (EST) Original-Received: from badger (unknown [70.63.131.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5DFD280D4; Tue, 3 Jan 2012 11:27:01 -0500 (EST) In-Reply-To: (Ian Price's message of "Sun, 04 Sep 2011 12:33:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: C3CB48C4-3627-11E1-9BA1-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13235 Archived-At: Hi! Sorry for the terrible delay here. On Sun 04 Sep 2011 07:33, Ian Price writes: > Nala Ginrut writes: > >> hi guys! >> I realized there're two problems in our shinning Guildhall.=C2=A0 >> >> 1. When "http-download" calls "relative-uri", the first arg should be a = string, say "srfi", but ("srfi"). > > I don't see a reply to this issue like there is for the other, and it > isn't fixed in gitorious yet, so I thought I'd weigh in. > > The root cause of this problem are the > (location ("wak-syn-param-20110103.zip")) > entries in the file 'available.scm'. Judging by the rest of > dorodango/sigil, this means that the file may be in an arbitrary > subdirectory i.e. ("foo" "bar" "baz.zip"), and so just doing 'car' isn't > going to cut it. > > I think a better solution is to > a) Change the 'location' format to be a string only, this entails > changes to a few procedures that add location properties to > packages. I'm not sure if getting rid of the subdirs is desirable (it > might be), but changing the format is still feasible since doro/sigil > isn't in widespread use yet. > or > b) fix 'relative-uri' to take a list of paths, which matches the current > format of locations. > > I went for the latter, but what do you think? I think this is the right fix, though it's tough to tell now, as the experimental dorodango repository appears to be down. But I've pushed it. Thanks! Andy --=20 http://wingolog.org/