Skip to content

[vcpkg] Improve versioning files generators#15172

Merged
vicroms merged 10 commits intomicrosoft:masterfrom
vicroms:versioning/generators
Jan 5, 2021
Merged

[vcpkg] Improve versioning files generators#15172
vicroms merged 10 commits intomicrosoft:masterfrom
vicroms:versioning/generators

Conversation

@vicroms
Copy link
Member

@vicroms vicroms commented Dec 17, 2020

This PR extracts the improvements to the generators from #14999

Port versions are now parallelized to drastically improve generation time and the baseline is now generated from the output of port_versions/ which is also way faster than calling x-package-info.

@PhoebeHui PhoebeHui added the category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed label Dec 17, 2020
vicroms and others added 2 commits January 4, 2021 12:10
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
@vicroms vicroms merged commit 6d3d649 into microsoft:master Jan 5, 2021
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* Remove port version splitting from x-history

* Parallelize versions file generator

* Use cpu_count()/2 to avoid crashes

* Use generatePortVersionsDb.py output to generate baseline

* Update scripts/generateBaseline.py

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>

* rename generateBaseline function

* Update toolsrc/src/vcpkg/commands.porthistory.cpp

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* Remove unused code

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
@vicroms vicroms deleted the versioning/generators branch September 26, 2022 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants