-
Notifications
You must be signed in to change notification settings - Fork 21
Support issue tracking through versioning #239
Comments
Thanks for thinking about this @slack-coder ! I've also been hit by running a different version than the one I was following instructions for at some point, so this would really help ease that pain in the future. Just one clarification, considering |
Maybe we should do this? The problem is we, and most others, don't track what the next release will be early on, whether 0.6.2 or 0.7.0. The pre-releases tend to be phased in later, but just before the next release. |
Including the commit hash sounds good, but from my understanding this should be added after the
I'm not sure if we need to include the target for now, since that information could be easily retrieved from the user. |
I'll take a quick look at the implementation, such that we hopefully only need decide on and apply the final scheme. |
I created a PR that adds build information retrieved from git to the version output of the In order to differentiate release builds, we'd need to adjust the release flow and use a release branch. With this in place, we could read the branch name in |
I think release builds should just look like |
To be clear, the suggestion was to include the commit information when reporting the version using the 'version' subcommand and help, not in naming release packages. Are we moving to a breaking release, hence 0.7.0 instead of 0.6.2? What about appending a '-dev' to the cargo package versions until a release build? It will be clear when users build these packages from a work-in-progress version, and '-dev' can flag whether the commit hash is be included in reporting the version. |
@slack-coder That's exactly what #242 does: it reports a version string with The crate version needed to be changed in order to be ahead of the latest release, such that I think we do not need to change the crate version such that it contains |
The change is good, the question is whether we're at patch level changes now since the 0.6.1 release. @cloudhead ?
Thats good, it would require tying the code to a branching model which is why using the cargo version string might be better to source whether the commit hash be used or not.
Its compatible as per the cargo documentation https://doc.rust-lang.org/cargo/reference/resolver.html#pre-releases. |
Ah, I understand. Maybe the next release should already be 0.7.0, since we're also rolling out breaking changes with the seed incompatibilities?
Agreed. Tying it to the branching model is not ideal, but was the simplest solution for now and also meant to be discussed.
Ah, cool! |
Help end users communicate the rad version they run by communicating whether they are running release builds. Many end users are using the client built directly from the project's master branch.
Including the target architecture can help too.
Suggestions given:
Alternative:
Related links
The text was updated successfully, but these errors were encountered: