vcpkg/versions/l-/libassuan.json

50 lines
1.1 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "9f619f927aa36d89e928f02b815690fe87164ff9",
"version": "2.5.7",
"port-version": 0
},
{
"git-tree": "5eb84b4591e790d4fe81a7a5cd37ebd6e567d40e",
"version": "2.5.6",
"port-version": 0
},
{
"git-tree": "0072ae5afdd0e25564266077bd7600faf20d2770",
"version": "2.5.5",
"port-version": 0
},
{
"git-tree": "2d7ffbae178c6701fbe84afaa3f4656a210ca37b",
"version": "2.5.3",
"port-version": 5
},
{
"git-tree": "cf0ffd2dfbb239d338524fc0ea59311a869144c0",
"version": "2.5.3",
"port-version": 4
},
2021-11-23 00:53:30 +01:00
{
"git-tree": "4ff2ab79b12dcb656fa6286fdbfdff01b11b5b15",
"version": "2.5.3",
"port-version": 3
},
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": "4e6442db3e13636cd43910e945c5ab03656422dd",
"version-string": "2.5.3",
"port-version": 2
},
{
"git-tree": "c81f7935c5aeb61c86b14c014b4642436f8bac29",
"version-string": "2.5.3",
"port-version": 1
},
{
"git-tree": "4f706c770799458ae92ef15394a9f0b1bd25fdf8",
"version-string": "2.5.3",
"port-version": 0
}
]
}