Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning scheme convention #5

Open
jcbhmr opened this issue Dec 16, 2023 · 2 comments
Open

Versioning scheme convention #5

jcbhmr opened this issue Dec 16, 2023 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@jcbhmr
Copy link
Member

jcbhmr commented Dec 16, 2023

Right now I'm trying to match versions with the latest Typst version (currently 0.10.0 -- current npm package is [email protected])
https://github.com/typst/typst/releases
https://www.npmjs.com/package/typst?activeTab=versions

note that there's a X.Y.Z-N where N goes up. idk if that's the "right" way to do it or not? are there other projects that do it better/differently? is there a convention to this? basically I want a four-part semver specific not a three part specifier lol.

Sidenote: should the first 0.11.0 release be [email protected] or [email protected] or [email protected] ?

@jcbhmr jcbhmr added help wanted Extra attention is needed question Further information is requested labels Dec 16, 2023
@jcbhmr
Copy link
Member Author

jcbhmr commented Dec 18, 2023

i think ill do it sorta like debian does https://serverfault.com/questions/604541/debian-packages-version-convention where it's 1.2.3-1 and then 1.2.3-2? that's what im already doing lol.

@jcbhmr jcbhmr closed this as completed Dec 18, 2023
@jcbhmr
Copy link
Member Author

jcbhmr commented Dec 28, 2023

Actually what if I did more of a "bindings" approach instead of a "redist" approach?
semver/semver#352

What about something like this:

  • typst-cli: 0.10.0-1 -- holds JUST the binary cli blob, uses 1.2.3-1 versioning like debian. this is a redist
  • typst: 1.0.0+0.10.0 -- holds all the magic fancy bindings and types and such. uses 1.2.3+4.5.6 versioning where 4.5.6 is the "underlying lib" of the bindings wrapper 1.2.3? actually it might be better to bump the starting version to like 100 to avoid version confusion. so like 100.2.3+0.10.0

@jcbhmr jcbhmr reopened this Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant