vcpkg/versions/d-/dataframe.json

35 lines
799 B
JSON
Raw Normal View History

{
"versions": [
2023-06-22 09:00:55 +08:00
{
"git-tree": "9e44b0c459e2d1d35a587de3b8126794d57c7f8c",
"version": "2.1.0",
"port-version": 0
},
{
"git-tree": "1dbcb0119d811c5e0ef7e36d5ee456396ac3c10a",
"version": "1.22.0",
"port-version": 0
},
{
"git-tree": "7f3b69090a3dce2e274e137efce5c2fb859d25ef",
"version": "1.19.0",
"port-version": 0
},
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": "5a7d6da55d37d2e7415aa8841b06660213e54743",
"version-string": "1.17.0",
"port-version": 1
},
2021-06-12 00:53:37 +08:00
{
"git-tree": "6ddb720c8221d354fd5ca2b18617758033459a69",
"version-string": "1.17.0",
"port-version": 0
},
{
"git-tree": "b640578906e46407df50c501573ceb04980d6dfc",
"version-string": "1.12.0",
"port-version": 0
}
]
}