Re: Index.lua script (was: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html xdocs/projects/oltu.xml)

2018-04-23 Thread sebb
On 23 April 2018 at 12:52,  <j...@apache.org> wrote:
>
>
>> On 23 Apr 2018, at 13:47, sebb AT ASF <s...@apache.org> wrote:
>>
>> On 23 April 2018 at 12:37, Henk P. Penning <penn...@uu.nl 
>> <mailto:penn...@uu.nl>> wrote:
>>> On Mon, 23 Apr 2018, sebb AT ASF wrote:
>>>
>>>> Date: Mon, 23 Apr 2018 13:15:34 +0200
>>>> From: sebb AT ASF <s...@apache.org>
>>>> To: Henk P. Penning <penn...@uu.nl>
>>>> Cc: general@attic.apache.org
>>>> Subject: Index.lua script (was: svn commit: r1829853 - in /attic/site:
>>>>docs/projects/oltu.html xdocs/projects/oltu.xml)
>>>> Sender: seb...@gmail.com
>>>
>>>
>>>> AFAICT that has to run on the server, right?
>>>
>>>
>>>  right.
>>>
>>>> Does Infra agree to converting the static Attic site into a dynamic one?
>>>
>>>
>>>  No, they don't ; so, static pages it is, then.
>>
>> I have been working on updating the jekyll implementation so it
>> generates output that agrees better with the current site.
>> I hope to commit the fixes later today.
> I leave it up to you and Henk to decide if Lua or Jekyll is the better 
> option, to be honest I do not have
> Experience with neither.
>
> I assume the level of maintenance needed (not pr. project, but over time) is 
> about the same ?
>
>>
>> It only uses a single data file (currently JSON, but that may need to 
>> change).
>> I don't think a single file is optimal for maintenance, but given the
>> push-back it will have to do.
> :-)
>
> In Denmark we had a prime minister who became famous for saying “you have a 
> standpoint until you have a new one” (he said it after loosing a vote about 
> Denmark entering EU or not).
>
> I have seen you also have been updating a lot in xdocs, I would have thought 
> that to be lost resources, as we are getting
> Very close to a new site ?

I made the fixes partly because this makes it easier to check if the
new site agrees with the old.

>
>>
>> Meanwhile I have added a job to build the current site using the
>> build.sh script.
> Thanks
>
> Rgds
> Jan I
>>
>>>
>>>  Groeten,
>>>
>>>  HPP
>>>
>>>    _
>>> Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
>>> Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \
>>> Leuvenlaan 4, 3584CE Utrecht, NL  F +31 30 253 4553 \_/ \_/
>>> http://www.staff.science.uu.nl/~penni101/ 
>>> <http://www.staff.science.uu.nl/~penni101/> M penn...@uu.nl 
>>> <mailto:penn...@uu.nl> \_/
>


Re: Index.lua script (was: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html xdocs/projects/oltu.xml)

2018-04-23 Thread jani


> On 23 Apr 2018, at 13:47, sebb AT ASF <s...@apache.org> wrote:
> 
> On 23 April 2018 at 12:37, Henk P. Penning <penn...@uu.nl 
> <mailto:penn...@uu.nl>> wrote:
>> On Mon, 23 Apr 2018, sebb AT ASF wrote:
>> 
>>> Date: Mon, 23 Apr 2018 13:15:34 +0200
>>> From: sebb AT ASF <s...@apache.org>
>>> To: Henk P. Penning <penn...@uu.nl>
>>> Cc: general@attic.apache.org
>>> Subject: Index.lua script (was: svn commit: r1829853 - in /attic/site:
>>>docs/projects/oltu.html xdocs/projects/oltu.xml)
>>> Sender: seb...@gmail.com
>> 
>> 
>>> AFAICT that has to run on the server, right?
>> 
>> 
>>  right.
>> 
>>> Does Infra agree to converting the static Attic site into a dynamic one?
>> 
>> 
>>  No, they don't ; so, static pages it is, then.
> 
> I have been working on updating the jekyll implementation so it
> generates output that agrees better with the current site.
> I hope to commit the fixes later today.
I leave it up to you and Henk to decide if Lua or Jekyll is the better option, 
to be honest I do not have
Experience with neither. 

I assume the level of maintenance needed (not pr. project, but over time) is 
about the same ?

> 
> It only uses a single data file (currently JSON, but that may need to change).
> I don't think a single file is optimal for maintenance, but given the
> push-back it will have to do.
:-) 

In Denmark we had a prime minister who became famous for saying “you have a 
standpoint until you have a new one” (he said it after loosing a vote about 
Denmark entering EU or not).

I have seen you also have been updating a lot in xdocs, I would have thought 
that to be lost resources, as we are getting
Very close to a new site ?


> 
> Meanwhile I have added a job to build the current site using the
> build.sh script.
Thanks

Rgds
Jan I
> 
>> 
>>  Groeten,
>> 
>>  HPP
>> 
>>    _
>> Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
>> Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \
>> Leuvenlaan 4, 3584CE Utrecht, NL  F +31 30 253 4553 \_/ \_/
>> http://www.staff.science.uu.nl/~penni101/ 
>> <http://www.staff.science.uu.nl/~penni101/> M penn...@uu.nl 
>> <mailto:penn...@uu.nl> \_/



Re: Index.lua script (was: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html xdocs/projects/oltu.xml)

2018-04-23 Thread jani
Sent from wrong email addr. Sorry.

rgds
Jan I

> On 23 Apr 2018, at 13:23, Jan Iversen  wrote:
> 
> 
> 
>> On 23 Apr 2018, at 13:15, sebb AT ASF  wrote:
>> 
>> On 23 April 2018 at 12:07, Henk P. Penning  wrote:
>> 
>>> Hi Sebb,
>>> 
>>> I created an 'index.lua' script for attic.a.o ;
>>> 
>>> -- only some 130 lines
>>> -- it creates the index and projects/ pages for attic.a.o
>>> -- I added one or two 'dist' attributes to attic.json
>>> -- still rough ; but ready :-)
>>> 
>>> At work : http://mirror-vm80.apache.org/index.lua
>>> Source  : http://mirror-vm80.apache.org/index.txt
>>> 
>>> I can do the 'flagged' stuff ; easy.
>> 
>> AFAICT that has to run on the server, right?
>> 
>> That seems a waste of server resources given that the content changes
>> but rarely.
>> 
>> Does Infra agree to converting the static Attic site into a dynamic one?
> Why do we need a dynamic site (something I was told by Infra is not 
> permitted), as I see it the Lua script,
> Could run, triggered by a svn commit ?
> 
> rgds
> Jan I.
>> 
>>> Groeten,
>>> 
>>> HPP
>>> 
>>>    _
>>> Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
>>> Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \
>>> Leuvenlaan 4, 3584CE Utrecht, NL  F +31 30 253 4553 \_/ \_/
>>> http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/
>>> 
>>> -- Forwarded message --
>>> Date: Mon, 23 Apr 2018 12:21:59 +0200
>>> From: s...@apache.org
>>> To: general@attic.apache.org
>>> Subject: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html
>>>   xdocs/projects/oltu.xml
>> 
>> Please don't hijack unrelated threads.



Re: Index.lua script (was: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html xdocs/projects/oltu.xml)

2018-04-23 Thread Henk P. Penning

On Mon, 23 Apr 2018, sebb AT ASF wrote:


Date: Mon, 23 Apr 2018 13:15:34 +0200
From: sebb AT ASF <s...@apache.org>
To: Henk P. Penning <penn...@uu.nl>
Cc: general@attic.apache.org
Subject: Index.lua script (was: svn commit: r1829853 - in /attic/site:
docs/projects/oltu.html xdocs/projects/oltu.xml)
Sender: seb...@gmail.com



AFAICT that has to run on the server, right?


  right.


Does Infra agree to converting the static Attic site into a dynamic one?


  No, they don't ; so, static pages it is, then.

  Groeten,

  HPP

   _
Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \
Leuvenlaan 4, 3584CE Utrecht, NL  F +31 30 253 4553 \_/ \_/
http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/


Re: Index.lua script (was: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html xdocs/projects/oltu.xml)

2018-04-23 Thread Jan Iversen


> On 23 Apr 2018, at 13:15, sebb AT ASF  wrote:
> 
> On 23 April 2018 at 12:07, Henk P. Penning  wrote:
> 
>> Hi Sebb,
>> 
>>  I created an 'index.lua' script for attic.a.o ;
>> 
>>  -- only some 130 lines
>>  -- it creates the index and projects/ pages for attic.a.o
>>  -- I added one or two 'dist' attributes to attic.json
>>  -- still rough ; but ready :-)
>> 
>>  At work : http://mirror-vm80.apache.org/index.lua
>>  Source  : http://mirror-vm80.apache.org/index.txt
>> 
>>  I can do the 'flagged' stuff ; easy.
> 
> AFAICT that has to run on the server, right?
> 
> That seems a waste of server resources given that the content changes
> but rarely.
> 
> Does Infra agree to converting the static Attic site into a dynamic one?
Why do we need a dynamic site (something I was told by Infra is not permitted), 
as I see it the Lua script,
Could run, triggered by a svn commit ?

rgds
Jan I.
> 
>>  Groeten,
>> 
>>  HPP
>> 
>>    _
>> Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
>> Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \
>> Leuvenlaan 4, 3584CE Utrecht, NL  F +31 30 253 4553 \_/ \_/
>> http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/
>> 
>> -- Forwarded message --
>> Date: Mon, 23 Apr 2018 12:21:59 +0200
>> From: s...@apache.org
>> To: general@attic.apache.org
>> Subject: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html
>>xdocs/projects/oltu.xml
> 
> Please don't hijack unrelated threads.



Index.lua script (was: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html xdocs/projects/oltu.xml)

2018-04-23 Thread sebb AT ASF
On 23 April 2018 at 12:07, Henk P. Penning  wrote:

> Hi Sebb,
>
>   I created an 'index.lua' script for attic.a.o ;
>
>   -- only some 130 lines
>   -- it creates the index and projects/ pages for attic.a.o
>   -- I added one or two 'dist' attributes to attic.json
>   -- still rough ; but ready :-)
>
>   At work : http://mirror-vm80.apache.org/index.lua
>   Source  : http://mirror-vm80.apache.org/index.txt
>
>   I can do the 'flagged' stuff ; easy.

AFAICT that has to run on the server, right?

That seems a waste of server resources given that the content changes
but rarely.

Does Infra agree to converting the static Attic site into a dynamic one?

>   Groeten,
>
>   HPP
>
>    _
> Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
> Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \
> Leuvenlaan 4, 3584CE Utrecht, NL  F +31 30 253 4553 \_/ \_/
> http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/
>
> -- Forwarded message --
> Date: Mon, 23 Apr 2018 12:21:59 +0200
> From: s...@apache.org
> To: general@attic.apache.org
> Subject: svn commit: r1829853 - in /attic/site: docs/projects/oltu.html
> xdocs/projects/oltu.xml

Please don't hijack unrelated threads.