vcpkg/versions/i-/ismrmrd.json

85 lines
2.1 KiB
JSON
Raw Normal View History

{
"versions": [
2023-10-04 08:22:16 +08:00
{
"git-tree": "2d06eae0d931f4c173562d89e9b4239f844910ab",
"version": "1.13.7",
"port-version": 0
},
{
"git-tree": "b378ab76b7b723dd6b9091f897c87b5a99fc11b7",
"version": "1.13.2",
"port-version": 1
},
{
"git-tree": "f8f4bb483f585631015c8991706874b535628dec",
"version": "1.13.2",
"port-version": 0
},
{
"git-tree": "c19bcebf0417091d459a15d14506b10905e5db8c",
"version": "1.13.0",
"port-version": 0
},
2021-11-09 06:30:13 +01:00
{
"git-tree": "1754617a629b83fa0cec28903f26187b62b0d4fd",
"version": "1.5.0",
"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 01:24:04 -07:00
{
"git-tree": "5ede8c3ffaae84ba2f4f68f495a23adedb60bd00",
"version-string": "1.5.0",
"port-version": 1
},
{
"git-tree": "b538acb7e61aa1697c9ccb7d415287807d5aa37c",
"version-string": "1.5.0",
"port-version": 0
},
{
"git-tree": "7cfae251706c88b4b3877e6af56df68bb24224a7",
"version-string": "1.4.2",
"port-version": 0
},
{
"git-tree": "865bc5131b32b891d5935f3a89c555a741f55d1f",
"version-string": "1.4.1",
"port-version": 0
},
{
"git-tree": "90c5328457a9cb1185c2d006e0d2b40346e60a31",
"version-string": "1.4.0-1",
"port-version": 0
},
{
"git-tree": "d9b55ce6641a2a67226e2883734a397528af6bc6",
"version-string": "1.4.0",
"port-version": 0
},
{
"git-tree": "5d01aef6016d43978ae1efa9d1d8c2d3f9f60934",
"version-string": "1.4",
"port-version": 0
},
{
"git-tree": "9c90d3f09c4742853e2b2f955dc50bc5bde6e033",
"version-string": "1.3.2-4",
"port-version": 0
},
{
"git-tree": "e31343f4e14583e026ca45c0ac19027dc726ebdf",
"version-string": "1.3.2-3",
"port-version": 0
},
{
"git-tree": "dfe1b6af0cbfa6117a02cc1c02f45642c1bb0094",
"version-string": "1.3.2-2",
"port-version": 0
},
{
"git-tree": "fba58156c09047674fdb6ca717468e8d220604e9",
"version-string": "1.3.2-1",
"port-version": 0
}
]
}