On Mon, Oct 27, 2025 at 1:06 PM Jean Abou Samra <[email protected]> wrote:

> Hi Carl,
>
> > Le 27 oct. 2025 à 17:42, Carl Sorensen <[email protected]> a
> écrit :
> >
> > Can we have multiple versions of each snippet online at the same time?
>
>
> While currently all pages have the form of some explanatory text followed
> by one snippet, since this is the format on LSR, nothing prevents from
> writing wiki pages with multiple snippets interleaved with explanations,
> like you would find on a page of the official documentation.
>
> There is no special support for slight variations inside a big snippet,
> but if it's an issue with syntax changes, LilyPond itself has support for
> running code conditionally on the version (the ly:version? function).
>
> Yes.  We can always update automatically, but we can't revert
automatically.  In the past people have requested older versions of the
snippets being available (the doc snippets are available as part of the
docs, but the others are not, IIUC).  Some might want either a choice of
version in the LSR, or the ability to access a git repository of the
snippets with multiple versions available.  I was just wondering if any of
that was baked in to the current wiki.


>
> > Starting in March, I can contribute to updating snippets to newer
> LilyPond versions,
>
>
> Note that since 2.24 is the latest stable release, everything is just fine
> at the moment in terms of the version used by these snippets (IMHO a
> snippet should use latest stable unless it requires a newer devel version).
> The updating work will come with the next stable release.
>

I agree with you.  We should have snippets work with the latest stable
unless in requries a devel version.

Thanks for all your work on this.

Carl

Reply via email to