vcpkg/versions/u-/unicorn-lib.json

140 lines
3.7 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "e88ab2927a310295171887057ac0f6cc6502a8d5",
"version-date": "2020-03-02",
"port-version": 2
},
Bulk convert control files. (#19986) ``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2021-09-09 16:24:04 +08:00
{
"git-tree": "a79eb0ae5746d8c2c2ebbd68557baf5975193ac8",
"version-string": "2020-03-02",
"port-version": 1
},
{
"git-tree": "f011cbffdfdd9b295141b51bb3da0a40af0d3848",
"version-string": "2020-03-02",
"port-version": 0
},
{
"git-tree": "99b5a76cb6656c322be61438bd3fb568b93c0662",
"version-string": "2019-07-11",
"port-version": 0
},
{
"git-tree": "4313216ef3c4e82e1b2583643107c78cec2697f9",
"version-string": "2019-05-07-1",
"port-version": 0
},
{
"git-tree": "b36a4797d7f9c7e11b2636c76ad4b9d50abff0cb",
"version-string": "2019-05-07",
"port-version": 0
},
{
"git-tree": "63c249cf6334b886da805ac9966cc23279df6372",
"version-string": "2019-04-19",
"port-version": 0
},
{
"git-tree": "c536466afc253d5ea2f70d364d81fa6368c8ec2c",
"version-string": "2019-03-29",
"port-version": 0
},
{
"git-tree": "8107f600cafb184e039c89bd7dd123d4f3c2a7eb",
"version-string": "2019-01-30",
"port-version": 0
},
{
"git-tree": "902cd4216e687393979d541731e7ad8ea85b3453",
"version-string": "2019-01-09",
"port-version": 0
},
{
"git-tree": "acbdb8ce191b20574f01f380130a9c348cbdab61",
"version-string": "2018-12-14",
"port-version": 0
},
{
"git-tree": "71f1531ca89563a3ce39b78dbba5c3b156ea5d3c",
"version-string": "2018-10-25",
"port-version": 0
},
{
"git-tree": "fa02ffbeae1a2f9746b5096a3c796a9a9c2022e4",
"version-string": "2018-10-11",
"port-version": 0
},
{
"git-tree": "badf12d70902be7bb79d1501b1e32ccb15d6e75c",
"version-string": "2018-09-18",
"port-version": 0
},
{
"git-tree": "a86865469457e64c2278b043b5d0f890738470ee",
"version-string": "2018-08-03",
"port-version": 0
},
{
"git-tree": "f8417eb840797542d3a8652cb6bac33b1d80874e",
"version-string": "2018-07-30",
"port-version": 0
},
{
"git-tree": "2e7f0f543fe8bae291a3d6c7a4a3cc06dcb7f5db",
"version-string": "2018-07-08",
"port-version": 0
},
{
"git-tree": "d4d1c350a20ca7486330194e6c657c7846f115cc",
"version-string": "2018-07-03",
"port-version": 0
},
{
"git-tree": "9e775a827003998ee6c9286a071ad1315c288208",
"version-string": "2018-07-01",
"port-version": 0
},
{
"git-tree": "590d714833176916ec22a27db7c17c6a17d55d7c",
"version-string": "2018-06-15-1",
"port-version": 0
},
{
"git-tree": "55199f2938f2a6c3743c51c02533b4d7cecb3c8f",
"version-string": "2018-06-15",
"port-version": 0
},
{
"git-tree": "9c00100d7434bed2cb71d2ada632e0bb75c4c2ef",
"version-string": "2018-05-17",
"port-version": 0
},
{
"git-tree": "ec220eed95b8834c476f35a600c44b6f121e96cb",
"version-string": "2018-05-01",
"port-version": 0
},
{
"git-tree": "e0bfe76472c0fe9bce01b6e0742ca5dcaf5e753a",
"version-string": "2018-04-09",
"port-version": 0
},
{
"git-tree": "30afb55857df84fd893baa83129fccbaa0ae4744",
"version-string": "2018-03-13",
"port-version": 0
},
{
"git-tree": "4bca78ae2cceb310fa3154f57b3979b99c5415c9",
"version-string": "2018-02-25",
"port-version": 0
},
{
"git-tree": "a5a1e277eed7550c648b086df2dbc9b0648793bb",
"version-string": "commit-3ffa7fe69a1d0c37fb52a4af61380c5fd84fa5aa",
"port-version": 0
}
]
}