vcpkg/versions/l-/libraw.json

130 lines
3.3 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "906477f849ef0c2b348f8ff9f526d2c5a2e19b22",
"version-string": "201903",
"port-version": 10
},
{
"git-tree": "13ab93771f3879d0f68e0418b028df14cb260dd3",
"version-string": "201903",
"port-version": 9
},
{
"git-tree": "e07b6b8ed70ad198a64027d0e44eab43d116039d",
"version-string": "201903",
"port-version": 8
},
{
"git-tree": "aeb0a198c349fb336ad7cd710aeaf0b1017679a1",
"version-string": "201903",
"port-version": 7
},
{
"git-tree": "e05fbd81dbe6b44b09c9aae106f4dc7df708ce49",
"version-string": "201903",
"port-version": 6
},
{
"git-tree": "fa490349ec4e8e8d8854c18725068a8a8474b3ac",
"version-string": "201903",
"port-version": 5
},
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": "80a0638bcb03f5e4c53f4b35562da7b8485fda11",
"version-string": "201903",
"port-version": 4
},
{
"git-tree": "659d20658809488ab3cfccf30d85870ce06615e0",
"version-string": "201903-3",
"port-version": 0
},
{
"git-tree": "b37f82b870dd4639b11ceeb26ddb1ccde42a4679",
"version-string": "201903-2",
"port-version": 0
},
{
"git-tree": "ecfaf7df127015101d59d1c704269e5d2c3bb89d",
"version-string": "201903-1",
"port-version": 0
},
{
"git-tree": "70e6e850f36b47cd653eb645b25ad7ee6118c4d9",
"version-string": "201903",
"port-version": 0
},
{
"git-tree": "ad76a869353855fd6ebecdab04ee13ba350d3b72",
"version-string": "0.19.2",
"port-version": 0
},
{
"git-tree": "d2ad440c830dea08517f1f100ba6f46daf0a2da0",
"version-string": "0.19.0-3",
"port-version": 0
},
{
"git-tree": "949450a33a78d4f5d18fcbf40e90c4c580e02ae9",
"version-string": "0.19.0-2",
"port-version": 0
},
{
"git-tree": "2b8655c3961b0c0ce42168a378f96577982dc69e",
"version-string": "0.19.0-1",
"port-version": 0
},
{
"git-tree": "41bb3f06069827237eac0e74b58a43aca6dde758",
"version-string": "0.19.0",
"port-version": 0
},
{
"git-tree": "c9796557a10c3b61e0c5b1e67147352ef69cf1a9",
"version-string": "0.18.2-5",
"port-version": 0
},
{
"git-tree": "96453188623ddcef2ea3eac87f427a2620f66567",
"version-string": "0.18.2-4",
"port-version": 0
},
{
"git-tree": "459a792ccb5cab501921910bfee9931394ec0d03",
"version-string": "0.18.2-3",
"port-version": 0
},
{
"git-tree": "b61061859ee19f017adce149b6fe3d66e8ac6357",
"version-string": "0.18.2-2",
"port-version": 0
},
{
"git-tree": "d8f368bc4ad28b5f3fec96bad6901224b85010e0",
"version-string": "0.18.2-1",
"port-version": 0
},
{
"git-tree": "6a952ec463eb3a164b36b20340cd235ec623250b",
"version-string": "0.18.0-1",
"port-version": 0
},
{
"git-tree": "4e3204e55c782c955460af2614a5585a020712bf",
"version-string": "0.17.2-2",
"port-version": 0
},
{
"git-tree": "1b0bdf9fe94c7f3cd47ab77a4d57b8373fa9a71c",
"version-string": "0.17.2-1",
"port-version": 0
},
{
"git-tree": "42c390e463452ca9f54cef721652521f74b74c2d",
"version-string": "0.17.2",
"port-version": 0
}
]
}