ocaml / merlin

Context sensitive completion for OCaml in Vim and Emacs
https://ocaml.github.io/merlin/
MIT License
1.57k stars 232 forks source link

Emacs package versioning policy #1502

Open bbatsov opened 2 years ago

bbatsov commented 2 years ago

I've noticed that nobody has been incrementing the version of the Emacs package for quite a while:

image

I see its changelog is part of the main Merlin changelog, so shouldn't it get a new version tagged every time Merlin is released?

bbatsov commented 2 years ago

Things look a bit funny as the MELPA releases use the tags from the repo, so despite the version header you'd get:

image

This version metadata is important for other package archives (e.g. NonGNU ELPA) where it would be nice to add Merlin at some point.

nojb commented 2 years ago

Sounds like a good idea; version in the Elisp sources can probably be replaced by %%VERSION%% as Merlin is already using dune subst to subtitute these symbols at release time.

voodoos commented 2 years ago

Does dune subst applies to any file in a project ? Even non-OCaml ones ?

nojb commented 2 years ago

Does dune subst applies to any file in a project ? Even non-OCaml ones ?

I think so...