vcpkg/versions/p-/proj.json

100 lines
2.4 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "50f38dc99103f1c718d8fe295888d1f675548e87",
"version": "9.4.1",
"port-version": 2
},
{
"git-tree": "3ea3cfc72b4b1d43a359755953f4792daadef34a",
"version": "9.4.1",
"port-version": 1
},
2024-06-04 13:09:27 +08:00
{
"git-tree": "dafa38417689eb52c17a425ace8e1f3ecfb74045",
"version": "9.4.1",
"port-version": 0
},
{
"git-tree": "62e9ace469641b907291184ebc7e76d96f629881",
"version": "9.4.0",
"port-version": 0
},
2023-12-05 09:30:06 +08:00
{
"git-tree": "fa1294c10c33d46c0294b3c1952d1c7aa57439a5",
"version": "9.3.1",
"port-version": 0
},
2023-09-14 07:27:43 +08:00
{
"git-tree": "6e31164b906c96903b8352e6a9211ae019672ac4",
"version": "9.3.0",
"port-version": 1
},
2023-09-08 15:10:27 +08:00
{
"git-tree": "d3932aae445fce753fd58b103e1dcb0acfff0a39",
"version": "9.3.0",
"port-version": 0
},
{
"git-tree": "b3f5ec4ce13a932cb9f05f074e48b386fd5e4130",
"version": "9.2.1",
"port-version": 1
},
2023-06-07 07:17:57 +08:00
{
"git-tree": "e7dc980fc3b1ca19e8ca6aa5b1ad625949229b2e",
"version": "9.2.1",
"port-version": 0
},
2023-03-07 03:55:28 +08:00
{
"git-tree": "24665244df24460f20293fc879787852554b16c7",
"version": "9.2.0",
"port-version": 0
},
2022-09-07 03:50:48 +08:00
{
"git-tree": "5ae85e19024d23a2ae8c22c16bab44f2fc236a4a",
"version": "9.1.1",
"port-version": 0
},
{
2022-09-07 03:50:48 +08:00
"git-tree": "7c8c2418c56d4f5b5dfd6e1d8e95b008f03ea63f",
"version": "9.1.0",
"port-version": 0
},
{
"git-tree": "d533a2d58a17e3074d52ec045604b32ed049eacb",
"version": "9.0.1",
"port-version": 1
},
{
"git-tree": "55c13547b4c812fc8bbb32a09260b3e54bc0a352",
"version": "9.0.1",
"port-version": 0
},
{
"git-tree": "1566fbbbd7d8abba35cebac6c8821339d1da1d16",
"version": "9.0.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": "a90853a886ef1a9425ad477bc996b99c0824ff33",
"version-string": "0",
"port-version": 1
},
{
"git-tree": "759fac2f92b6fe903300aa2a91f4fd39b6c16911",
"version-string": "0",
"port-version": 0
},
{
"git-tree": "a5961e4930dea226aa16beb019e6ea2a9dbd5ba7",
"version-string": "4.9.3-1",
"port-version": 0
},
{
"git-tree": "bcf202e0b0a9b78f183a3b8c3b1cd7494c1df516",
"version-string": "4.9.3",
"port-version": 0
}
]
}