From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amirouche Newsgroups: gmane.lisp.guile.devel Subject: Re: What is needed in guildhall to include it in Guile? Date: Sat, 4 Mar 2017 00:05:18 +0100 Message-ID: <9bdab437-bc71-de0d-577a-53a1422eaa73@hypermove.net> References: <87k2lw1yvd.fsf@web.de> <1456163829.7330.32.camel@Renee-desktop.suse> <87fuwj1hjq.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1488582338 21605 195.159.176.226 (3 Mar 2017 23:05:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2017 23:05:38 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 04 00:05:32 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjwGP-0004kj-Hw for guile-devel@m.gmane.org; Sat, 04 Mar 2017 00:05:29 +0100 Original-Received: from localhost ([::1]:60604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjwGV-0005yK-JR for guile-devel@m.gmane.org; Fri, 03 Mar 2017 18:05:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjwGJ-0005yD-IW for guile-devel@gnu.org; Fri, 03 Mar 2017 18:05:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjwGE-00085c-G5 for guile-devel@gnu.org; Fri, 03 Mar 2017 18:05:23 -0500 Original-Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:40637) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cjwGE-00085M-9y for guile-devel@gnu.org; Fri, 03 Mar 2017 18:05:18 -0500 Original-Received: from mfilter11-d.gandi.net (mfilter11-d.gandi.net [217.70.178.131]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id AE1B0A80D1 for ; Sat, 4 Mar 2017 00:05:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter11-d.gandi.net Original-Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter11-d.gandi.net (mfilter11-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id W-1WRvV1EaUY for ; Sat, 4 Mar 2017 00:05:14 +0100 (CET) X-Originating-IP: 82.239.61.147 Original-Received: from [192.168.0.7] (aul93-4-82-239-61-147.fbx.proxad.net [82.239.61.147]) (Authenticated sender: amirouche@hypermove.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 36F6EA80C8 for ; Sat, 4 Mar 2017 00:05:13 +0100 (CET) In-Reply-To: <87fuwj1hjq.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4b98:c:538::195 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.devel:18982 Archived-At: Le 23/02/2016 à 17:57, Arne Babenhauserheide a écrit : > So, to summarize the things I can change: > > - Add the path to the installed package in guild show or list-packages > - Add a dynamical site as repository > - Package guix features > - Package guildhall in guix > > And things I can’t change easily: > - Package many packages (I hope a site with easy uploads could change that) > - Add dynamically fetched packages (I’m not sure how to do that right — > or whether I actually want to do it, given that this means executing > code which is downloaded at runtime…) > > Requirements for a guildhall website: > - easy upload (like marmalade?) > - download statistics > - bug reporting possible (maybe a link to a bugtracker?) > > Did I miss something? > > Nala Ginrut writes: >> I may anticipate the packages amount for Guile would be increasing if we >> done it properly. > I’d think so, too. So do I. So I started something it's live at http://guildhall.hypermove.net/ Becarful no https. The code is the guildhall branch of culturia.one at https://framagit.org/a-guile-mind/culturia.one/blob/guildhall/src/webui.scm I think the interesting code If you want to create a web application is all summed up in this file. microkanren-fu might be required. I changed the way the run-server handler works, see: https://framagit.org/a-guile-mind/culturia.one/blob/guildhall/src/webui.scm#L859 The context variable only contains GET and POST assocs which contains what is parsed from the request object. Both request and context are passed to the view. It's missing a lot. I hope it's a good looking web interface to make guile more attractive. I will look how to interface with guildhall.