On Tue, Dec 28, 2021 at 4:20 PM Daniel Sahlberg <daniel.l.sahlb...@gmail.com> wrote: > > Den tis 28 dec. 2021 kl 22:13 skrev Nathan Hartman <hartman.nat...@gmail.com>: >> >> What is EZT? > > > EaZy Templating by Greg Stein, a Python templating library: > https://github.com/gstein/ezt > > We use it ourselves, for example in /subversion/trunk/tools/dist/release.py > (the templates are in the aptly named templates directory). > > It seems Infra has created a lua version: > https://github.com/apache/infrastructure-p6/tree/production/modules/closer_cgi/files > > This it what generates the download page from the download.html file. > > Looking at it again, it seems the lua version doesn't support [else]. I also > think I messed up the [http] and [backup] variables, using them as strings > and not arrays. Don't know why it worked on the <select> element and not in > the text above.
Oh I see, then the LUA version you mentioned is the template engine that parses the bracketed markup in download.html. For some reason when I tried to dig into the magic behind download.html/.cgi in the past, I couldn't figure out what software was processing that markup. I may have searched for EZT at the time, but an internet search for EZT finds too many irrelevant results. Thanks! Nathan