> On 17 Apr 2018, at 14:00, sebb <[email protected]> wrote:
> 
> On 17 April 2018 at 12:03, Jan Iversen <[email protected] 
> <mailto:[email protected]>> wrote:
>> 
>> 
>> Sent from my iPad
>> 
>>> On 17 Apr 2018, at 12:57, sebb <[email protected]> wrote:
>>> 
>>>> On 15 April 2018 at 09:38,  <[email protected]> wrote:
>>>> Author: jani
>>>> Date: Sun Apr 15 08:38:21 2018
>>>> New Revision: 1829195
>>>> 
>>>> URL: http://svn.apache.org/viewvc?rev=1829195&view=rev
>>>> Log:
>>>> projects.json is moved in scripts/attic.js
>>>> this is due to a wish from Infra to have a static website
>>>> and no operations on the server side
>>> 
>>> Surely reading from projects.json would be allowed?
>>> 
>>> The site would still be static.
>> correct but projects.json will not be mantained with the current proposal, 
>> the data are kept in attic.js. On that basis I found it better to remove the 
>> file (so nobody expects it to be updated).
> 
> In which case the log message is somewhat misleading.
What is misleading about "projects.json is moved in scripts/attic.js” I believe 
it is a very factual accurate description.

Please do not forget projects.json only existed for 1-2 days during my 
experiments.

> 
> In any case, the data could still be kept in projects.json and the
> projects.js could read it.
> That would still solve the issue of only having a single source of the
> data, and it would allow the data to be used by other projects (which
> was another reason for having it in the first place).

No when using Javascript, we cannot reference another file easily. If you look 
at attic.js, that is the single source, and easy to read.

You are welcome to make a patch, that makes a http request inside the 
javascript to retrieve the file.

Please remember I made this change to make it easier to retire a project, NOT 
to provide additional services. If someone wants additional services, then 
patches are welcome.

> 
>> if and when a build will replace the javascript it would be nice to base it 
>> on projects.json, however so far I have not heard anybody volunteer to make 
>> that happen.
> 
> As noted above, that is a separate issue.
Seems linked to the existence of projects.json.

rgds
Jan I.
> 
>> rgds
>> jan I
>>> 
>>>> 
>>>> Removed:
>>>>   attic/site/docs/projects.json

Reply via email to