[vcpkg] Add initial versioning documentation#15565
Merged
ras0219-msft merged 12 commits intomicrosoft:masterfrom Jan 15, 2021
Merged
[vcpkg] Add initial versioning documentation#15565ras0219-msft merged 12 commits intomicrosoft:masterfrom
ras0219-msft merged 12 commits intomicrosoft:masterfrom
Conversation
efe40c8 to
4903f67
Compare
ac89dfe to
434fd06
Compare
434fd06 to
63ffdc3
Compare
BillyONeal
reviewed
Jan 12, 2021
Contributor
Author
|
I've added support for |
BillyONeal
reviewed
Jan 15, 2021
BillyONeal
reviewed
Jan 15, 2021
BillyONeal
approved these changes
Jan 15, 2021
strega-nil
pushed a commit
to strega-nil/vcpkg
that referenced
this pull request
May 5, 2021
* [vcpkg] Improve efficiency and tests of versioning * [vcpkg] Add initial versioning documentation and rename x-default-baseline to builtin-baseline * [vcpkg] Enable metrics for builtin-baseline & overrides * [vcpkg] Address PR comments * [vcpkg] Add support for syntax in version>= * [vcpkg] Remove port-version from dependency syntax * [vcpkg] Address CR comment * [vcpkg] Minor docs fixup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 PR brings versioning into a near-ship state:
$x-default-baselinetobuiltin-baselineand adds proper parsing supportgit archiveto achieve high performance git tree checkouts.versionsfeature flag enabled (+test).version=.Two issues not addressed in this PR:
The initial spec is in #11758. Convenience link to the new docs is: https://github.com/ras0219/vcpkg/blob/dev/roschuma/versions/docs/users/versioning.md.
For local experiments, you will need to pull in versioning files:
Example:
As an example, you can try:
{ "name": "example", "version-date": "2020-01-01", "builtin-baseline": "334ba25e577b83331d5cfeb14d65768553ea1d9e", "dependencies": [ { "$comment": "Note that this old rapidjson uses version-string", "name": "rapidjson", "version>=": "2019-06-28" }, "zlib" ], "overrides": [ { "name": "rapidjson", "version-string": "2019-06-28" } ] }and in that directory
Observing the result of
2019-06-28and1.2.11#9forrapidjsonandzlibrespectively. If you didn't pull in the version files, you should see an error message like:or