guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] website: Add support for Haunt.


From: Luis Felipe López Acevedo
Subject: Re: [PATCH] website: Add support for Haunt.
Date: Fri, 06 Nov 2015 10:11:45 -0500
User-agent: Roundcube Webmail/1.0.6

On 2015-11-06 09:28, Thompson, David wrote:
On Thu, Nov 5, 2015 at 6:50 PM, Mathieu Lirzin <address@hidden> wrote:
Hi,

"Thompson, David" <address@hidden> writes:

On Thu, Nov 5, 2015 at 4:25 PM, Ludovic Courtès <address@hidden> wrote:
[...]
Does the generated HTML change as a result of using Haunt?

Not as far as I can tell by looking at the patch.

I'm not 100% sure if Haunt really buys us anything in the case of 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. :)

For now it provides us a reliable and simple command line interface 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 mind is the the RSS/Atom feed importer implemented by Ludo in “www.scm” (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. ;)

WDYT?

Makes sense.  Let's see how it goes. :)

Yes, at least for me, and for potential contributors (I think), using Haunt commands would be very convenient specially for testing the 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 `static` directory and serving the built site are not automatic steps. I was using `myscript.scm` with (system) calls to `mkdir -p` directories, copy the `static` directory to the build directory and serve the latter with `python3 -m http.server`.

So, if the website can work with Haunt, great :)


--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]