vcpkg/versions/x-/xerces-c.json

120 lines
3.0 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "4026f062e68881d5a72ecd5d900c70a46f92a8d9",
"version": "3.2.4",
"port-version": 3
},
{
"git-tree": "2eabf69ed6317e6b9b9fbb7cdb19e884a762f545",
"version": "3.2.4",
"port-version": 2
},
2023-02-03 10:49:20 +08:00
{
"git-tree": "ad60daf68b377020d6ea29ef4a078a43e66fe846",
"version": "3.2.4",
"port-version": 1
},
{
"git-tree": "8b0ef386f33522a64bc06e375ff5e85ce05de31b",
"version": "3.2.4",
"port-version": 0
},
{
"git-tree": "6e0b3743b100fd4c22291b3c55ff73aac8ae188c",
"version": "3.2.3",
"port-version": 4
},
{
"git-tree": "b920ebcb559e728e512c42e7e27ce5db58aba440",
"version-string": "3.2.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 16:24:04 +08:00
{
"git-tree": "f14ab8d047187d9621974f90d1981534ae7eb58a",
"version-string": "3.2.3",
"port-version": 2
},
{
"git-tree": "37d7c50f22be9c769e1c37f9bf12238ceb16b095",
"version-string": "3.2.3-1",
"port-version": 0
},
{
"git-tree": "86986ffb0f543c258e674c119a4a1171f2402c97",
"version-string": "3.2.3",
"port-version": 0
},
{
"git-tree": "5c599e54644454c85d931660c03a261e6f0c3524",
"version-string": "3.2.2-13",
"port-version": 0
},
{
"git-tree": "26c51d5500d35c20f769dea9e2406a79584f9494",
"version-string": "3.2.2-12",
"port-version": 0
},
{
"git-tree": "75afb4372109c7f71aa83cc121abc13cf2ce9f06",
"version-string": "3.2.2-11",
"port-version": 0
},
{
"git-tree": "5edee8dff70dec5ed5f084f1fd840828bb8728a8",
"version-string": "3.2.2-10",
"port-version": 0
},
{
"git-tree": "132a2839c7465e4b32a9cd085778301da5300d6c",
"version-string": "3.2.2-9",
"port-version": 0
},
{
"git-tree": "f8c771fa722a18c879a05d180fc684076a86c40f",
"version-string": "3.2.2-8",
"port-version": 0
},
{
"git-tree": "49115ebe6647037a00a5386bbdfb95dd01d3db02",
"version-string": "3.2.2-7",
"port-version": 0
},
{
"git-tree": "6971a3c6a659208aa6fa8bd6c5a22fbf7d3fcb42",
"version-string": "3.2.2-6",
"port-version": 0
},
{
"git-tree": "d0a6105bff0b5c98b7159043e8ab4788bfd2a850",
"version-string": "3.2.2-5",
"port-version": 0
},
{
"git-tree": "1497c28acbecdd80b2dd58bd477686af4757e2d6",
"version-string": "3.2.2-4",
"port-version": 0
},
{
"git-tree": "b65b09e4a8d8231e03be84856d37a872165c0737",
"version-string": "3.1.4-3",
"port-version": 0
},
{
"git-tree": "cf3af53bfe2b423716f22b01c8343cbad80ebeb9",
"version-string": "3.1.4-2",
"port-version": 0
},
{
"git-tree": "59585ff08d3d615e32914a03fcd6aa41d864ca9f",
"version-string": "3.1.4-1",
"port-version": 0
},
{
"git-tree": "d770dd0d8f954710fb98f304978b399069d848d0",
"version-string": "3.1.4",
"port-version": 0
}
]
}