vcpkg/versions/q-/qca.json

85 lines
2.1 KiB
JSON
Raw Normal View History

{
"versions": [
2022-01-05 00:02:13 +01:00
{
"git-tree": "41239863ffd0059d8688502f6d6284785c6c8633",
"version": "2.3.4",
"port-version": 2
},
2021-12-20 17:26:20 +01:00
{
"git-tree": "d61c0d118f3d64f69c85f2442b28d4c2eed0a070",
"version": "2.3.4",
"port-version": 1
},
2021-12-07 05:51:41 +01:00
{
"git-tree": "8fd8829b933de5ae6fffecd509403987ca084634",
"version": "2.3.4",
"port-version": 0
},
{
"git-tree": "842dcdd87f56ec4318a5049e95b1eb9807dd2193",
"version": "2.3.1",
"port-version": 5
},
{
"git-tree": "e8275668aade111ed059ddece14bff490ff47fbc",
"version": "2.3.1",
"port-version": 4
},
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 01:24:04 -07:00
{
"git-tree": "8fae15039cc6567f087011f916a1dea07da520cf",
"version-string": "2.3.1",
"port-version": 3
},
{
"git-tree": "cda65d327fffdc14a09dee0bdcdf79d3bdad9edc",
"version-string": "2.3.1",
"port-version": 2
},
{
"git-tree": "1644070fc7960a66d96e9c3df603b81821a36f7b",
"version-string": "2.3.1",
"port-version": 1
},
{
"git-tree": "9caa318891b41f75fd4771938804d51b56afd346",
"version-string": "2.3.1",
"port-version": 0
},
{
"git-tree": "41172855edfa7a82acc81cd7b520003338ab9b0f",
"version-string": "2.2.1-1",
"port-version": 0
},
{
"git-tree": "113779bfd35081b1ff56ce32fc299116824b499c",
"version-string": "2.2.1",
"port-version": 0
},
{
"git-tree": "899a284737474a84ce97d5ea4ef22c7a21dcee42",
"version-string": "2.2.0-4",
"port-version": 0
},
{
"git-tree": "cce9089b982e496a790e423e3c17292ebf78cdca",
"version-string": "2.2.0-3",
"port-version": 0
},
{
"git-tree": "7b8010bcdba05f02aa1c8bf9e90454715289f53b",
"version-string": "2.2.0-2",
"port-version": 0
},
{
"git-tree": "948d9bf03fc33ea156def505696fd7767ef7b953",
"version-string": "2.2.0-1",
"port-version": 0
},
{
"git-tree": "2c8f184f9681218f6505ac00dff590e5cf51e6c0",
"version-string": "2.2.0",
"port-version": 0
}
]
}