vcpkg/versions/a-/azure-uhttp-c.json

115 lines
3.0 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "8dfc1d65397c35c27df08f42b2f77caf27661a9b",
"version-date": "2021-09-09",
"port-version": 0
},
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": "7410a090286f0c65398cb9ce97c6d86120c7222d",
"version-string": "2020-12-09",
"port-version": 1
},
{
"git-tree": "9a13676c37e46791196a860835b8695c80359a8c",
"version-string": "2020-12-09",
"port-version": 0
},
{
"git-tree": "513bbf277bea7cab05324f63fcf92c31278d0cd0",
"version-string": "2020-07-19",
"port-version": 0
},
{
"git-tree": "783ccc8f09a5b64a69746ea8347108fa4796acb1",
"version-string": "2020-06-17-1",
"port-version": 0
},
{
"git-tree": "cd299156829305f542f2a58f2c0ad1ae7fd6e422",
"version-string": "2020-02-04.1",
"port-version": 0
},
{
"git-tree": "cf8a101ec7b2eef153413450e20ee7302a9cb08c",
"version-string": "2020-01-22",
"port-version": 0
},
{
"git-tree": "272c0efc43af9ad96cbe02f6e8437dde2ad2e8ea",
"version-string": "2019-11-27.1",
"port-version": 0
},
{
"git-tree": "6f8347b504ec9b8a615adb6a8d101a64adccec2c",
"version-string": "2019-10-07.2",
"port-version": 0
},
{
"git-tree": "9e01150cda7d35c0c98a8735534eb3e3f5db8a7d",
"version-string": "2019-07-01-LTS-1",
"port-version": 0
},
{
"git-tree": "b5671c11fbf975ba1ac8c0b745a22b206a4d2620",
"version-string": "2019-10-07.1",
"port-version": 0
},
{
"git-tree": "ad7702d6c55d9555116160b4765559577d42e39b",
"version-string": "2019-08-20.1",
"port-version": 0
},
{
"git-tree": "baad42dbd22efc4700082fdc6f8ecded19e77443",
"version-string": "2019-05-16.1",
"port-version": 0
},
{
"git-tree": "79360ada83b099160f76196be323db8204c19272",
"version-string": "2019-05-16",
"port-version": 0
},
{
"git-tree": "021c7a7968aad7c8c6da668bf7f1de4108384743",
"version-string": "2019-03-18-1",
"port-version": 0
},
{
"git-tree": "de07eeb4d01a07d43d1a9a583f85165bc0c79d44",
"version-string": "2019-03-18",
"port-version": 0
},
{
"git-tree": "aed24bc3d18a7441a9cdac323dbaaff013b31b72",
"version-string": "1.1.11-4",
"port-version": 0
},
{
"git-tree": "a5c7c3c89f6d4f9a3e87e938693677393f60e339",
"version-string": "1.1.11-3",
"port-version": 0
},
{
"git-tree": "4a64e161a06d13036cc2f446e658a2cf9c47233c",
"version-string": "1.1.11-2",
"port-version": 0
},
{
"git-tree": "b113618fc27109974a70fce1cea2952bda002e54",
"version-string": "1.1.10-1",
"port-version": 0
},
{
"git-tree": "282b129f4560c46b74c9f2fb639e2d6d9614a804",
"version-string": "LTS_01_2018_Ref01",
"port-version": 0
},
{
"git-tree": "108d7ee321497da69e8f232e8234623ec31b860f",
"version-string": "2018-02-09",
"port-version": 0
}
]
}