vcpkg/versions/l-/log4cxx.json

75 lines
1.8 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "fb973202e7b0a9c6060e23b92fee4b33df52204a",
"version": "1.3.0",
"port-version": 0
},
{
"git-tree": "69b1cd84fe4dce29fda6b300bf18ebc8de1aa0de",
"version": "1.2.0",
"port-version": 1
},
{
"git-tree": "d24b9474cf8ec8bca0ec3dce1f0d9e4a030836bd",
"version": "1.2.0",
"port-version": 0
},
{
"git-tree": "c030a796829f4525b2369a135d7bdc615b6fb14b",
"version": "1.1.0",
"port-version": 1
},
2023-09-26 14:39:26 +08:00
{
"git-tree": "eca29ecb5127d26bd46aad143468b069a045d104",
"version": "1.1.0",
"port-version": 0
},
{
"git-tree": "3f8391924df847ec08d25424cb7482be557c3d49",
"version": "1.0.0",
"port-version": 0
},
{
"git-tree": "65dd3e2c021462bc3445c9f215ace6936a177bb6",
"version": "0.13.0.1",
"port-version": 0
},
{
"git-tree": "b85ee3fd18c7e2f12f928ef132e5707059ad32c0",
"version": "0.12.1",
"port-version": 0
},
{
"git-tree": "3a0d34c9d2f6f0d0811bdb43d1a233e025963185",
"version-string": "0.12.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 01:24:04 -07:00
{
"git-tree": "406017355e07d94a41999c3db5e015be8bf0fbbd",
"version-string": "0.11.0",
"port-version": 3
},
{
"git-tree": "e84807f759e37781d7ce7bfc3b7485609a0feb7c",
"version-string": "0.11.0",
"port-version": 2
},
{
"git-tree": "a584f921462afb2f1b269dc9a7b361b17445028b",
"version-string": "0.11.0",
"port-version": 1
},
{
"git-tree": "550cb06dab801272c72e2045fa9f3289b623e68b",
"version-string": "0.11.0",
"port-version": 0
},
{
"git-tree": "fedc13ef6cd03099e0faa16eb305257d52344bf9",
"version-string": "0.10.0-2",
"port-version": 0
}
]
}