make source-dist + git version info separation #5528
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a rebase and combination of #5266 and #5095
I am not sure if @staticfloat has already based some of his nightly release effort on the previous work, so do not merge before he says this is still needed.
Unfortunately this might be a breaking change for code that depends on the
Base.BUILD_INFO
struct, because it has been renamed toBase.GIT_VERSION_INFO
.Base.BUILD_INFO.version_string
andBase.BUILD_INFO.TAGGED_RELEASE_BANNER
has been put into a constantBase.VERSION_STRING
andBase.TAGGED_RELEASE_BANNER
.I do not know how we might add a deprecation for these properties, but it would be possible to make a alias, so that packages who cares about compatibility can postpone their update until most users have this change.