Replies: 3 comments 5 replies
-
The main issue would be coming up with a version number. If we used v1.0.0.8 (by stripping -beta out), then v1.0.0 would be a lower version number. It would be nice if their betas were 0.9.8, etc., but we can't ask people to change their processes on our behalf. So, my thought would be, if the beta is the canonical version, I have no problem with publishing it (see https://github.com/teaxyz/pantry.extra/blob/main/projects/github.com/jart/blink/package.yml for one method of hard-coding a version to a commit sha for a project that doesn't even have a tag yet). But we do have to be careful about version numbers. |
Beta Was this translation helpful? Give feedback.
-
So yeah this is fine. As long as things build we are good with them. However we should preserve the |
Beta Was this translation helpful? Give feedback.
-
One solution to the version order is to support a file that explicitly lists the version order kind of like how your spec does it. I'm not giving this much thought, it was just an idea. Here's an example. versions.yml (or .versions.yml?)
Edit to clarify: this file would go in the project, not the package. Obviously, the project would have to add it, but this allows them to keep their version schema. |
Beta Was this translation helpful? Give feedback.
-
asked via Discord by @johnallen3d
I'm wondering if there's a stance on packaging beta software.
There are a couple of popular projects (dagger.io, surrealdb.com) that don't yet have official release but appear to be pretty stable.
Is it frowned upon to package a beta? If not, would I hard code the most recent beta as the version?
Example of https://github.com/surrealdb/surrealdb
Beta Was this translation helpful? Give feedback.
All reactions