[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is needed in guildhall to include it in Guile?
From: |
Amirouche |
Subject: |
Re: What is needed in guildhall to include it in Guile? |
Date: |
Sat, 4 Mar 2017 00:05:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
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 <package> 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.