vcpkg/versions/s-/shapelib.json

55 lines
1.3 KiB
JSON
Raw Normal View History

{
"versions": [
2024-08-17 11:06:43 +02:00
{
"git-tree": "d314741ee9002b2f9a50d305ae759b1f2bb734b2",
"version": "1.6.1",
"port-version": 0
},
2023-12-28 09:06:40 +01:00
{
"git-tree": "6b89a941de4bb79399a81b9199cf15e66a882956",
"version": "1.6.0",
"port-version": 0
},
{
"git-tree": "07bc870ae6b0fd620c817bd35c8ec499ecbf4f22",
"version": "1.5.0",
"port-version": 4
},
{
"git-tree": "befbba83687abe4b10f1fb55ac5ccc344bd11084",
"version": "1.5.0",
"port-version": 3
},
{
"git-tree": "d70a93c1899b5607ca1894c66beacec5c1afec9c",
"version-string": "1.5.0",
"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 01:24:04 -07:00
{
"git-tree": "e32017b2f39e66b09726e3207e85486a820b9930",
"version-string": "1.5.0",
"port-version": 1
},
{
"git-tree": "8f8ae7fafd81e822e81a86f16ae6b5cdf7109d0e",
"version-string": "1.5.0",
"port-version": 0
},
{
"git-tree": "e653c09eb6dfc19a9b54b77cdeb89e4ccb4dfccc",
"version-string": "1.4.1-2",
"port-version": 0
},
{
"git-tree": "4a6d9c64f555e0f032b5b4b50e12f4193b661fd6",
"version-string": "1.4.1-1",
"port-version": 0
},
{
"git-tree": "c1a5fc63f7b1bc5014826b00600cebceb0a2f7dc",
"version-string": "1.4.1",
"port-version": 0
}
]
}