Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2247)

Issue 5489134: Updates makelsr to point to lilypond exe (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by PhilEHolmes
Modified:
12 years, 3 months ago
Reviewers:
Graham Percival, email
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

The CG discussing makelsr says "Make sure that convert-ly and lilypond commands in current PATH are in a bleeding edge version" but in practice the it constructs a path to convert-ly, but not to the lilypond exe. The only indication that lilypond isn't found is a cryptic "sh: lilypond: not found" in the middle of reams of output. This update uses the same path to lilypond as to convert-ly which avoids the need for a correct PATH statement. The exe is used to check that the files being converted are real lilypond ones and not some unsafe command. If this patch is accepted, I'll update the CG with details.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M scripts/auxiliar/makelsr.py View 2 chunks +3 lines, -1 line 3 comments Download

Messages

Total messages: 4
PhilEHolmes
Please review
12 years, 4 months ago (2012-01-02 12:37:13 UTC) #1
Graham Percival
great idea! A few implementation quibbles, though. http://codereview.appspot.com/5489134/diff/1/scripts/auxiliar/makelsr.py File scripts/auxiliar/makelsr.py (right): http://codereview.appspot.com/5489134/diff/1/scripts/auxiliar/makelsr.py#newcode76 scripts/auxiliar/makelsr.py:76: lilypondexe=conv_path+'lilypond' I ...
12 years, 4 months ago (2012-01-02 21:11:39 UTC) #2
email_philholmes.net
----- Original Message ----- From: <graham@percival-music.ca> To: <PhilEHolmes@googlemail.com>; <percivall@gmail.com> Cc: <lilypond-devel@gnu.org>; <reply@codereview-hr.appspotmail.com> Sent: Monday, January ...
12 years, 3 months ago (2012-01-04 17:37:30 UTC) #3
Graham Percival
12 years, 3 months ago (2012-01-04 22:20:45 UTC) #4
ok, I'm fine with removing the -V.

http://codereview.appspot.com/5489134/diff/1/scripts/auxiliar/makelsr.py
File scripts/auxiliar/makelsr.py (right):

http://codereview.appspot.com/5489134/diff/1/scripts/auxiliar/makelsr.py#newc...
scripts/auxiliar/makelsr.py:184: e = os.system (lilypondexe + " -dno-print-pages
-dsafe -o /tmp/lsrtest " + dest)
 e = os.system ("%s -dno-print-pages -dsafe -o /tmp/lsrtest '%s'" %
(lilypondexe, dest))

should do the trick
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b