On 15 April 2018 at 10:42, Jan Iversen <j...@apache.org> wrote:
>
>
> Sent from my iPad
>
>> On 15 Apr 2018, at 11:37, sebb <seb...@gmail.com> wrote:
>>
>>> On 15 April 2018 at 10:03,  <j...@apache.org> wrote:
>>> Hi
>>>
>>> Please have a look at
>>> http://attic.apache.org/test.html <http://attic.apache.org/test.html>
>>>
>>> This is a “new” homepage. The only real new thing is that I got rid of 
>>> “ant” and sidebar/project pages are generated in Javascript. This makes 
>>> maintenance for me a lot easier.
>>
>> It looks fine.
>> However if Javascript is disabled, the sidebar is missing, but there
>> is no indication that this might be so.
>>
>>> As a side effect, we got a json list (in scripts/attic.js) of all projects, 
>>> that might be useful for other purposes.
>>>
>>> Please feel free to correct/amend especially the project list.
>>
>>> If nobody objects I will put it in production later and cleanup the site.
>>
>> I would rather see the JSON file used to generate a static site.
> I agree on that, but with the limitations, the only solution would be a build 
> job, that somehow triggers on svn commit. I have no experience with that but 
> patches are welcome.

I have created INFRA-16384

The test.html page and script mostly work well, however AFAICT there
is as yet no support for the existing URLs, e.g.
http://attic.apache.org/projects/abdera.html. These must continue to
be supported.

I'm not sure that is easy to do with client-side Javascript.

[There is no code currently to customise the text "... choose to fork ACE ...".]

The JSON file needs to be extended to cater for customised project
pages, such as
http://attic.apache.org/projects/abdera.html
which has details of related projects. That should be easy enough.

Ideally the output from the new process should be compared with the
existing output before switching over.

> rgds
> jan i
>
>>
>>> rgds
>>> Jan I

Reply via email to