Skip to content

[vcpkg] Implement versions db generator (#13777)#374

Merged
Jimmy-Hu merged 1 commit intoJimmy-Hu:masterfrom
microsoft:master
Oct 27, 2020
Merged

[vcpkg] Implement versions db generator (#13777)#374
Jimmy-Hu merged 1 commit intoJimmy-Hu:masterfrom
microsoft:master

Conversation

@Jimmy-Hu
Copy link
Owner

@Jimmy-Hu Jimmy-Hu commented Oct 27, 2020

  • [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 roschuma@microsoft.com

* [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 <roschuma@microsoft.com>
@Jimmy-Hu Jimmy-Hu merged commit 1251af9 into Jimmy-Hu:master Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants