ryankeleti / ega

amateur translation project of Grothendieck's EGA.
https://ryankeleti.com/ega
329 stars 34 forks source link

how are builds done? #78

Closed thosgood closed 5 years ago

thosgood commented 5 years ago

I'm going through proofreading of EGA I now (and will continue to do so after a little holiday this weekend). Just wondering how you've been updating the pdf on the build page, so I can keep it up to date with any changes I make?

thosgood commented 5 years ago

actually, ignore this, I just figured it out. I was thinking that, since version numbers seem entirely arbitrary, I'd call this version v1, since it has EGA I...

while this thread is here, what are you thinking about how we build in the future? I'm guessing (from what you said a while back about xymatrix) that you might eventually like to have a web version? Now that we have individual branches, I could set up a build system on Travis-CI that automatically builds the pdf whenever we push to master, or something like this?

ryankeleti commented 5 years ago

The web thing I was thinking about using Gerby. I struggled a few times to get it to work for this project, but I gave up for the moment.

As for builds, like you say I'd like to get that set up but I'm not too concerned about it right now. I don't think we should version pdfs, I'm only using releases so we don't have to bundle the pdf into git itself. For that reason I've been deleting and remaking build. Something I can setup is a script on my server that makes the pdf at an interval (say 1-2 hours) and then serves it there, so we completely remove the release system.

thosgood commented 5 years ago

Ah ok, Gerby was exactly what I was thinking too. It would be really nice to get it working, but to me it's a project for a rainy day.

Setting up something on a server to build the pdf regularly (maybe whenever it detects changes in the master branch) would be good! More generally, it'd be nice for https://ryankeleti.github.io/ega/ to have download links to the pdfs (book, ega0, ega1, etc.) as well as for the repo itself, since I'd imagine that "most" people would simply want to read the pdfs rather than build them themselves. (but I guess this could really be done by just putting links in the readme)

thosgood commented 5 years ago

to be fair, what I had in mind is basically what the OTiM project looks like: a website with a table of contents where people can view the pdfs (the book, each ega individually, or maybe even each subsection)

ryankeleti commented 5 years ago

yeah OTIM seems good—for now I'll just get a cron job running and that'll probably hold us for now

ryankeleti commented 5 years ago

alright I set up a cron job (runs every hour) that outputs files to https://fppf.site/ega/

ryankeleti commented 5 years ago

added links to readme, closing for now