[vcpkg] Implement versions db generator (#13777) #374
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.
[vcpkg] Add script to generate ports versions history
[vcpkg] Fix formatting
Fetch port versions from commit ID
Use global --x-json switch
Use --no-checkout when cloning secondary instance
Clone from local repository instead of from GitHub
Use CmdLineBuilder to build git commands
Use CmdLineBuilder and reduce repeated code
Fetch version at baseline and code cleanup
Guess version scheme from old CONTROL files
Rename version db generator script
Simplify x-history json output
Use CONTROL/manifest parsers on x-history
Use git-tree instaed of commit-id
Remove 'ports' field from root object
Clean up code
More code cleanup
Improve port version detection
Improve generator logging
Do not ignore parsing errors in CONTROL files
PR review comments in Python script
Fix subprocess.run() calls
Make
canonicalize()
return error instead of terminating[vcpkg] Add tests for new test_parse_control_file paths
Remove unnecessary std::move() calls
Fix formatting
Python formatting
Co-authored-by: Robert Schumacher [email protected]