vcpkg/versions/m-/mpfr.json

105 lines
2.6 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "a2163475ac427c02bc7a7c24142b45662d5993cc",
"version": "4.2.0",
"port-version": 1
},
2023-01-20 09:59:49 +08:00
{
"git-tree": "843923d6f0b86ada254232a971968923c83bc1b5",
"version": "4.2.0",
"port-version": 0
},
2022-12-29 05:12:11 +08:00
{
"git-tree": "e03248f0a54aa99977a77f1a3d7e4be91c1048ec",
"version": "4.1.1",
"port-version": 0
},
{
"git-tree": "23e0ddc3c974f7b5b6e70c6be1389ed3d6182e81",
"version": "4.1.0",
"port-version": 7
},
2022-08-26 01:38:49 +08:00
{
"git-tree": "0d41295a2963c8db8171724b2456dfaa2ec1a866",
"version": "4.1.0",
"port-version": 6
},
{
"git-tree": "39b251ed109ce7a5787fe0e7235f9fe0ce436a09",
"version": "4.1.0",
"port-version": 5
},
{
"git-tree": "af50e086428e7b7b1e1e5969a296a770a32ff88d",
"version": "4.1.0",
"port-version": 4
},
{
"git-tree": "9f38beb4c3179d0b08008af901d05c2a70afaa1b",
"version-string": "4.1.0",
"port-version": 3
},
{
"git-tree": "655c136cd8328e30476ae39a3fd5ff99c915907c",
"version-string": "4.1.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 16:24:04 +08:00
{
"git-tree": "54544af431b7f178bc7bbe6604f103c40b7aa93b",
"version-string": "4.1.0",
"port-version": 1
},
{
"git-tree": "6cb77c01fbda04c72b1767e3fbd79078bd29895e",
"version-string": "4.1.0",
"port-version": 0
},
{
"git-tree": "7eefb0bc78d4e4422f50379f1ccd05f13c3ed8c2",
"version-string": "4.0.2-2",
"port-version": 0
},
{
"git-tree": "fc2c7a4c7a71980713500a219c8501e7f9662695",
"version-string": "4.0.2-1",
"port-version": 0
},
{
"git-tree": "ba226cf87ef03e64d62b703f670a6a3dca586f98",
"version-string": "4.0.1",
"port-version": 0
},
{
"git-tree": "78fc43c69a8dee26f7271682eab37876b9fc0a8b",
"version-string": "3.1.6-3",
"port-version": 0
},
{
"git-tree": "9f0187f4046838905689258fe4660a84ce42324b",
"version-string": "3.1.6-2",
"port-version": 0
},
{
"git-tree": "f9edf8950aa0bcc80bb2bafbd0383a05ae4de373",
"version-string": "3.1.6-1",
"port-version": 0
},
{
"git-tree": "8be5785333992cc870c9b8d6f4ebafaba9c67d41",
"version-string": "3.1.6",
"port-version": 0
},
{
"git-tree": "1803812dc76fc401aba673fc04a2d6c2e70949b7",
"version-string": "3.1.5-1",
"port-version": 0
},
{
"git-tree": "258b3bc093a74319c644a8108e86f784f6b2a132",
"version-string": "3.1.5",
"port-version": 0
}
]
}