vcpkg/versions/t-/theia.json

90 lines
2.2 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "fcce9342a3c7301139dd9d9a388657d99fdcc159",
"version": "0.8",
"port-version": 12
},
2024-10-09 04:08:56 +08:00
{
"git-tree": "f05ea8c0e0055843afe42b688e3b55af9218d62a",
"version": "0.8",
"port-version": 11
},
{
"git-tree": "e0486585337480c0d2d32a30cebbbc14be00eec4",
"version": "0.8",
"port-version": 10
},
{
"git-tree": "244b1ee4928a23a5394691a642a1b56125198228",
"version": "0.8",
"port-version": 9
},
{
"git-tree": "fe4bf7c896536d692bedb215d88cae3297b1ae1b",
"version": "0.8",
"port-version": 8
},
{
"git-tree": "e8a6f763efb9bd7657a6be700493a95ab32d1cb6",
"version": "0.8",
"port-version": 7
},
{
"git-tree": "f19561fe41ab71864fbf9640e491cc6a567c06b8",
"version-string": "0.8",
"port-version": 6
},
{
"git-tree": "eff19230130911fb05e12a22ba59fc35f0d4b341",
"version-string": "0.8",
"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": "9e4f395b731d46fde09836e4ff9a23ace6c74a6a",
"version-string": "0.8",
"port-version": 4
},
{
"git-tree": "6d74e7de2d80d5f3675b381e39c5fedd34493531",
"version-string": "0.8",
"port-version": 3
},
{
"git-tree": "881d1dad1876ac1ac89588a95070e7dcc21cff9c",
"version-string": "0.8-2",
"port-version": 0
},
{
"git-tree": "d6f6a07f80be40dcc23b7f887728bf89acbfa293",
"version-string": "0.8",
"port-version": 0
},
{
"git-tree": "98ef85c66ffddd9807fd365c050a3fd998732ff1",
"version-string": "0.7-d15154a-4",
"port-version": 0
},
{
"git-tree": "20c5d5f1ca4c02020d4143c58baf183fd524d22e",
"version-string": "0.7-d15154a-3",
"port-version": 0
},
{
"git-tree": "8922734aad943c5ca6551fba2ba55eb08dd530c4",
"version-string": "0.7-d15154a-2",
"port-version": 0
},
{
"git-tree": "c24f13e44f8ab6f0188fe80d263bfd2b5fa3c83f",
"version-string": "0.7-d15154a-1",
"port-version": 0
},
{
"git-tree": "ab972b58b4222c8efedd2caa93b84c15e445de6b",
"version-string": "0.7-d15154a",
"port-version": 0
}
]
}