LilyPond Contributor's Guide: 7.4 LSR to Git

## 7.4 LSR to Git

1. Make sure that `convert-ly` and `lilypond` commands in current PATH are in a bleeding edge version – latest release from master branch, or even better a fresh snapshot from Git master branch.
2. From the top source directory, run:

   >     wget http://lsr.dsi.unimi.it/download/lsr-snippets-docs-YYYY-MM-DD.tar.gz
   >     tar -xzf lsr-snippets-docs-YYYY-MM-DD.tar.gz
   >     scripts/auxiliar/makelsr.py lsr-snippets-docs-YYYY-MM-DD

   where YYYY-MM-DD is the current date, e.g. 2009-02-28.

3. Follow the instructions printed on the console to manually check for unsafe files.

   Note: Somebody could sneak a `#'(system "rm -rf /")` command into our source tree if you do not do this! Take this step VERY SERIOUSLY.

4. Do a git add / commit / push.

Note that whenever there is one snippet from ‘`Documentation/snippets/new`’ and the other from LSR with the same file name, the one from ‘`Documentation/snippets/new`’ will be copied by `makelsr.py`.

#### LilyPond — Contributor’s Guide