vcpkg/versions/n-/nanoflann.json

65 lines
1.5 KiB
JSON
Raw Normal View History

{
"versions": [
2024-11-07 12:25:28 +08:00
{
"git-tree": "4507bff853611eae4a7b92bf22cb4b8e790299c0",
"version": "1.6.2",
"port-version": 0
},
2024-08-27 16:27:42 +08:00
{
"git-tree": "f36048fc06dedbe1c1999c026b0ff8ceef57be72",
"version": "1.6.1",
"port-version": 0
},
2024-07-16 01:28:51 +08:00
{
"git-tree": "8bba1423bcf5058d9e90a49fc40b6d67898399de",
"version": "1.6.0",
"port-version": 0
},
2024-05-25 10:20:07 +08:00
{
"git-tree": "3cc3051c80e35e5bcc7f55c34217865afcd5cfee",
"version": "1.5.5",
"port-version": 0
},
2023-11-29 13:40:40 +08:00
{
"git-tree": "a2d0d87e714fc8a7ec923469a4bf2ae0ceb405c3",
"version": "1.5.1",
"port-version": 0
},
{
"git-tree": "23c05262f235796a1f01174f1dedc48c346e96af",
"version": "1.5.0",
"port-version": 0
},
{
"git-tree": "91e87dd11fdfc2cb98925ded3aab041f5f507715",
"version": "1.4.3",
"port-version": 0
},
{
"git-tree": "59c3e1998e35dcf6648c1775b19e40c5017b2c84",
"version": "1.4.2",
"port-version": 0
},
{
"git-tree": "481ec544fb82ec73f6f0e01d1333f412d3e82d2d",
"version": "1.3.2",
"port-version": 1
},
{
"git-tree": "d9c4ef40eda67ef94cca10e5a50ac679ac0a34ad",
"version": "1.3.2",
"port-version": 0
},
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": "256c8df02e530498eeb951b7760d5988d22615eb",
"version-string": "1.3.1",
"port-version": 1
},
{
"git-tree": "d570a82d4db97264fa7c99bdbbea6f5d42d9e674",
"version-string": "1.3.1",
"port-version": 0
}
]
}