vcpkg/versions/d-/dcmtk.json

100 lines
2.4 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "bec215b4880ee37ff46a69fdbc6bd3888901c52a",
"version": "3.6.8",
"port-version": 1
},
2024-01-18 04:02:49 +08:00
{
"git-tree": "04c152f7113c88dcfb84b3f4963cadd60c254a74",
"version": "3.6.8",
"port-version": 0
},
2023-12-05 09:24:32 +08:00
{
"git-tree": "bea28d42632b9740c795d645252307fe02c273cc",
"version": "3.6.7",
"port-version": 6
},
{
"git-tree": "a66dd62879ace07389aae2f77cc909744f9d7458",
"version": "3.6.7",
"port-version": 5
},
{
"git-tree": "99287653b98406054ee56cb8447c38aff0528444",
"version": "3.6.7",
"port-version": 4
},
{
"git-tree": "39b7057f1236e5a218c8cda2f56c5409d067681a",
"version": "3.6.7",
"port-version": 3
},
{
"git-tree": "cbfc85b6b840eb68b947c8b9bd69988c938198d3",
"version": "3.6.7",
"port-version": 2
},
2022-07-28 02:41:12 +08:00
{
"git-tree": "c08360f31aa07d9514b52b3c98ca6c5ae6e17bb2",
"version": "3.6.7",
"port-version": 1
},
{
"git-tree": "df20e5c0215de121a9137a9047fabbde17bab8f7",
"version": "3.6.7",
"port-version": 0
},
{
"git-tree": "ce25087f7df7d83c796eee09b4457e7aa70848ad",
"version": "3.6.6",
"port-version": 3
},
2021-11-19 13:02:06 +08:00
{
"git-tree": "24716759e4aa3fb67b014163ae3be95ad88120b6",
"version-string": "3.6.6",
"port-version": 2
},
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": "6b830172b906fea2468685175d0ecca5f374217c",
"version-string": "3.6.6",
"port-version": 1
},
{
"git-tree": "0c53e59b36c487946025ebf3c2ea38ce5401d207",
"version-string": "3.6.6",
"port-version": 0
},
{
"git-tree": "c5cc40d9aabe103e79ca9315543646243b001814",
"version-string": "3.6.5+_20191213",
"port-version": 0
},
{
"git-tree": "d1268262fdac724d439ce2950d6b00058ede17fb",
"version-string": "3.6.4-2",
"port-version": 0
},
{
"git-tree": "3088b7b6f30c56be7c6b2bc5b9f67418b9c13304",
"version-string": "3.6.4-1",
"port-version": 0
},
{
"git-tree": "1360e42bd90285d9008a1cf1fc45180fe996f8ab",
"version-string": "3.6.4",
"port-version": 0
},
{
"git-tree": "4c631af1b36122e775699e41567c26de0c65959f",
"version-string": "3.6.3-1",
"port-version": 0
},
{
"git-tree": "e66fa18f406e495a6f130273c3a4be915fbdb625",
"version-string": "3.6.3",
"port-version": 0
}
]
}