okfn / opendatahandbook

Open Data Handbook v2
http://opendatahandbook.org/
197 stars 260 forks source link

Build timing out #311

Open smth opened 6 years ago

smth commented 6 years ago

This seems to be happening a lot. I don't know if it's down to the size of the project, or errors in the code.

One guess is that it might be related to these warnings:

Liquid Warning: Liquid syntax error (line 2): Expected dotdot but found pipe in "{{(site.pages | sort: 'title') }}" in /_layouts/glossary.html
tlacoyodefrijol commented 5 years ago

This is an issue we identified a few months ago with @pwalsh . The error I get is a timeout when the site is uploaded to Github Pages. This happens even if I build the site locally and then push the changes. My suspicion is that the site is too big now. A second option is updating Jekyll. What do you think @smth ?

smth commented 5 years ago

Last time I worked on this I had to resort to building locally and pushing the pre-built files. This work at that time, as I recall (I created a new branch at the time for this purpose). I think you are right that this comes down to size.

By updating Jekyll do you mean replacing it?

pwalsh commented 5 years ago

@smth @tlacoyodefrijol it is the size of the project. GitHub builds of Jekyll are not cut out for this size of site generation, and likely Jekyll itself too.

It was, however, building locally. If it is now not even building locally, we'll have to do an estimate to change the entire site to a more performant static site generator (Lektor or more preferably for performance Hugo), but this will be a fairly significant project to undertake, and need a dedicated budget.