Re: Importing, updating, translating and building Lilypond snippets

2012-06-28 Thread John Mandereau
Le mardi 26 juin 2012 à 13:39 +0100, Phil Holmes a écrit : It doesn't seem to make sense to me for it to run as part of make doc as well, since make is a required pre-cursor of make doc. This doesn't seem to be true; think e.g. of make LILYPOND_EXTERNAL_BINARY=lilypond doc which AFAICT is

Re: Importing, updating, translating and building Lilypond snippets

2012-06-28 Thread Graham Percival
On Tue, Jun 26, 2012 at 01:39:19PM +0100, Phil Holmes wrote: It must be possible to check that the snippets extracted from the tarball do not contain new snippets which contain dangerous commands - for example #'(system rm -rf /). It would be possible to use git/gitk to check for changes, but

Re: Importing, updating, translating and building Lilypond snippets

2012-06-28 Thread John Mandereau
Le jeudi 28 juin 2012 à 13:13 +0100, Graham Percival a écrit : Yes, but git is still needed so that the LSR guy only needs to look at changes to the unsafe files. I think you already knew this, but I wanted to get this on the record. Sure, so the instructions related to this in makelsr and

Re: Importing, updating, translating and building Lilypond snippets

2012-06-28 Thread John Mandereau
Il giorno gio, 28/06/2012 alle 15.14 +0200, John Mandereau ha scritto: I'd assume that snippets should be a dependency of doc. I don't think it should be a dependency of make, since programmers won't want to recompile a bunch of snippets all the time. (testing is done via the regtests,

Importing, updating, translating and building Lilypond snippets

2012-06-26 Thread Phil Holmes
Here's my summary of what I think needs to happen with the proposed management of the snippets: A tarball of snippets can be downloaded from http://lsr.dsi.unimi.it/download/. The tarball required is the one tagged as docs: lsr-snippets-docs--mm-dd.tar.gz. This is unarchived and the

Re: Importing, updating, translating and building Lilypond snippets

2012-06-26 Thread Graham Percival
On Tue, Jun 26, 2012 at 01:39:19PM +0100, Phil Holmes wrote: A script is run (makesnippets.py?) which iterates over all the directories in the extracted tarball and all the files in each directory. It adds a line: lsrtags = dir-1, dir-2 to each snippet, where dir-n is the directory name

Re: Importing, updating, translating and building Lilypond snippets

2012-06-26 Thread David Kastrup
Graham Percival gra...@percival-music.ca writes: On Tue, Jun 26, 2012 at 01:39:19PM +0100, Phil Holmes wrote: A script is run (makesnippets.py?) which iterates over all the directories in the extracted tarball and all the files in each directory. It adds a line: lsrtags = dir-1, dir-2

Re: Importing, updating, translating and building Lilypond snippets

2012-06-26 Thread Phil Holmes
- Original Message - From: Graham Percival gra...@percival-music.ca To: Phil Holmes em...@philholmes.net Cc: Devel lilypond-devel@gnu.org Sent: Tuesday, June 26, 2012 2:15 PM Subject: Re: Importing, updating, translating and building Lilypond snippets On Tue, Jun 26, 2012 at 01:39

Re: Importing, updating, translating and building Lilypond snippets

2012-06-26 Thread Graham Percival
On Tue, Jun 26, 2012 at 02:21:43PM +0100, Phil Holmes wrote: - Original Message - From: Graham Percival gra...@percival-music.ca To: Phil Holmes em...@philholmes.net Cc: Devel lilypond-devel@gnu.org On Tue, Jun 26, 2012 at 01:39:19PM +0100, Phil Holmes wrote: lsrtags = dir-1, dir-2