Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Setup service hooks #2

Open
yuvadm opened this Issue · 7 comments

4 participants

@yuvadm
Owner

Setup service hooks on the repository to generate PDF builds on each commit.

git commit -> post hook, git pulls to a server and triggers a compilation --> pdf updated

@samthetechie samthetechie was assigned
@samthetechie
Owner

I will also deploy latex to spit out a pdf as part of the chain. Happy to get help on this if someone is also 'in the know'

@samthetechie
Owner

http://thorehusfeldt.net/2011/05/13/including-git-revision-identifiers-in-latex/
...Stephan Hennig’s vc bundle consists of a number of scripts that extract revision information from various version control systems, including Git, and make it available as LaTeX macros. The information is taken from a separate, automatically generated input file vc.tex, so that the main LaTeX source file remains untouched by Git.

@Punkbob

Can we please avoid PDF or at least offer plaintext versions? I am extremely wary of PDF as a vector for malware and think that we should be discouraging its active use.

I know that for example Libtech Mailing list blocks attachements, mainly PDF's for this very reason.

@DanielKinsman
@yuvadm
Owner

Agree that plain text (markdown) is the main way to go, if only for ease of editing.

Eventually we'll have a build pipeline setup that can export multiple formats, and PDF will no doubt be one of them.

@samthetechie

TODO deploy this on a server with https://gist.github.com/811549 on port 80 with latex compilation command line arguments

@samthetechie

finally getting around to this. Working on this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.