vcpkg/versions/r-/readline-win32.json

45 lines
1023 B
JSON
Raw Permalink Normal View History

{
"versions": [
{
"git-tree": "17ef6e54653697cb7e9c90a807bbcf2c271c7020",
"version": "5.0",
"port-version": 9
},
{
"git-tree": "9c7dd189ed4434c993da75506f0b6d4e94b7f952",
"version": "5.0",
"port-version": 8
},
{
"git-tree": "932081e9a1f922cd1f3e710fd9fd426f882360aa",
"version": "5.0",
"port-version": 7
},
{
"git-tree": "c54e93659340794a88b8122fde8123941f0be228",
"version": "5.0",
"port-version": 6
},
{
"git-tree": "19f9684f55a9aa01b5612a5ebec47960f51bacdd",
"version": "5.0",
"port-version": 5
},
2022-01-18 22:43:38 +01:00
{
"git-tree": "b1ed33b8ec37a1cf44926c9954b6943bce302b70",
"version": "5.0",
"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": "5d2ea2655a570f6c0fd17689715d542336d531ea",
"version-string": "5.0",
"port-version": 3
},
{
"git-tree": "c548f83dcccce8ddf353d0e3710afd401a4e2304",
"version-string": "5.0-2",
"port-version": 0
}
]
}