From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Luis_Felipe_L=C3=B3pez_Acevedo?= Subject: Re: [PATCH] website: Add support for Haunt. Date: Fri, 06 Nov 2015 10:11:45 -0500 Message-ID: <9987d9895d1e9c3e1bd87f688258677e@openmailbox.org> References: <87si4mg4fc.fsf@gnu.org> <87io5gcf5k.fsf@gnu.org> <87mvust39h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuigN-0002ox-CQ for guix-devel@gnu.org; Fri, 06 Nov 2015 10:12:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuigJ-0002TZ-Ch for guix-devel@gnu.org; Fri, 06 Nov 2015 10:12:03 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel On 2015-11-06 09:28, Thompson, David wrote: > On Thu, Nov 5, 2015 at 6:50 PM, Mathieu Lirzin wrote: >> Hi, >>=20 >> "Thompson, David" writes: >>=20 >>> On Thu, Nov 5, 2015 at 4:25 PM, Ludovic Court=C3=A8s w= rote: >> [...] >>>> Does the generated HTML change as a result of using Haunt? >>>=20 >>> Not as far as I can tell by looking at the patch. >>>=20 >>> I'm not 100% sure if Haunt really buys us anything in the case of=20 >>> this >>> site. Mathieu, do you see any current or potential future advantages >>> to using Haunt having done this work? I'm really happy to see more >>> Haunt users, but I also don't want to encourage its use where it >>> doesn't make sense. :) >>=20 >> For now it provides us a reliable and simple command line interface=20 >> for >> building the website. My hope for the future is that GuixSD website >> will have a smaller code base that will use convenient generic >> procedures provided by Haunt. Of course it will depend on what would >> make sense to be implemented in Haunt. the first example I have in=20 >> mind >> is the the RSS/Atom feed importer implemented by Ludo in =E2=80=9Cwww.= scm=E2=80=9D=20 >> (used >> by new Guile's website too) which IIUC could be implemented as a Haunt >> reader. This would provide somekind of RSS/Atom functional >> composability. ;) >>=20 >> WDYT? >=20 > Makes sense. Let's see how it goes. :) Yes, at least for me, and for potential contributors (I think), using=20 Haunt commands would be very convenient specially for testing the=20 website while making changes. For example, I'd like to 1. Edit source files. 2. haunt serve 3. Check that everything works in the browser. 4. Commit changes. The problem with the current tools in the website is that copying the=20 `static` directory and serving the built site are not automatic steps. I=20 was using `myscript.scm` with (system) calls to `mkdir -p` directories,=20 copy the `static` directory to the build directory and serve the latter=20 with `python3 -m http.server`. So, if the website can work with Haunt, great :) --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.org/