Plugin versioning pattern/semver adoption #8017
Replies: 2 comments
-
Aunque a priori no se me ocurre ningún problema en cambiar de 4 dígitos a semver, comentar (por ver las ramificaciones) que las imágenes docker usan los mismos nombres de versión que las herramientas OxS. |
Beta Was this translation helpful? Give feedback.
-
Note that our If the plugin's |
Beta Was this translation helpful? Give feedback.
-
Small discussion about versioning, here's the context: https://github.com/pkp/pln/blob/main/version.xml#L16
Sparing a range to avoid the versions to overlap (looks like we already have some cases) across different branches ends up breaking the versioning meaning... I'm used to have a unified version/branch and multi-target with the help of
#ifdefs
, so I'm not so sure what would be a good approach here. What else could we use?PLUGIN_VERSION-stable_3_3_0
?version.xml
stating its compatibility<compatibility>ojs_3.3.*</compatibility>
(probably useful for the plugin gallery)?Also, what about dropping the 4 digits version (
w.x.y-z
in favor ofsemver
(it has room for pre-release and metadata tags)?ctgraham
Yes to plugins declaring their compatibility within
version.xml
as a dedicated tag!Note that this will soon be much easier as we can now support composer/semver constraint statements: #7793
p.s.: rescued from a Slack conversation
Beta Was this translation helpful? Give feedback.
All reactions