vcpkg/versions/c-/curlpp.json

60 lines
1.5 KiB
JSON
Raw Normal View History

{
"versions": [
2024-09-12 05:03:28 +08:00
{
"git-tree": "f0a72e60279d7929599cd47abf01c243d7ee0e69",
"version-date": "2018-06-15",
"port-version": 10
},
{
"git-tree": "5f1ce1e78bf1fca65c8f47bde61824589bd11e5c",
"version-date": "2018-06-15",
"port-version": 9
},
{
"git-tree": "bce2ac6d85261a2aca4b9ea5e974e5a7ee45be3a",
"version-date": "2018-06-15",
"port-version": 8
},
{
"git-tree": "ebde1c1d303f750ce06e530295a820787878e6cd",
"version-date": "2018-06-15",
"port-version": 7
},
2021-11-30 09:22:25 +08:00
{
"git-tree": "a4cea77cfb3429b1ea778167d06c39a691b97e13",
"version-date": "2018-06-15",
"port-version": 6
},
{
"git-tree": "c4802498d8b285cc5a3d3bcb574db0fe22267381",
"version-string": "2018-06-15",
"port-version": 5
},
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": "a764bda6f69b8e79e3f3734ceb420d4c814e9605",
"version-string": "2018-06-15",
"port-version": 4
},
{
"git-tree": "121083d20c3bd1cdb738697da5ae8ae1917ccee8",
"version-string": "2018-06-15-3",
"port-version": 0
},
{
"git-tree": "ccdf1419c1aa3030cba618bf696e064e8a089772",
"version-string": "2018-06-15-2",
"port-version": 0
},
{
"git-tree": "55c1ee44b050a3a3d79a2e2d7bf3df7dfaca0fb1",
"version-string": "2018-06-15-1",
"port-version": 0
},
{
"git-tree": "8b7093e6772f8b0e137fa018122444e15f194bef",
"version-string": "2018-06-15",
"port-version": 0
}
]
}