lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makelsr.py updates \version statements for snippets from new/


From: Jean Abou Samra
Subject: Re: makelsr.py updates \version statements for snippets from new/
Date: Sun, 25 Sep 2022 23:08:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1



Le 25/09/2022 à 22:51, Werner LEMBERG a écrit :
If you run this on master:

perl scripts/auxiliar/makelsr.pl --new

you get

$ git diff --stat
  Documentation/snippets/accordion-register-symbols.ly | 2 +-

[...]

There are \version changes for snippets that come from new; they
seem to change from \version "2.23.12" to \version "2.23.13" (while
current master is 2.23.14).

Is that expected?
Yes.  If I add `--verbose` and a proper `--path=...` option to make
the script use an up-to-date `convert-ly` binary, I get, for example,

```
Documentation/snippets/vertical-aligned-staffgroups-without-connecting-systemstartbar.ly:
   convert-ly (GNU LilyPond) 2.23.14

   convert-ly: Processing `'...
   Applying conversion: 2.23.6, 2.23.7, 2.23.8, 2.23.9, 2.23.10, 2.23.11, 
2.23.12, 2.23.13
```

which means that indeed `convert-ly` is called correctly.

IIRC, it's exactly the same behaviour as with the old script.


OK, thanks. However, I wonder if there should be a way not to
introduce unrelated changes in an MR. Right now, if I change one
line in a snippet in new/, the MR diff will be cluttered by all
those version updates. Or am I expected to only commit the relevant
files anyway?

IIRC, calling makelsr.py wouldn't introduce unrelated changes,
but I may be wrong here.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]