vcpkg/versions/l-/lz4.json

115 lines
2.8 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "d7704e3869f579ffdf927b5419579473e9d702d4",
"version": "1.9.4",
"port-version": 1
},
2023-01-05 06:47:07 +08:00
{
"git-tree": "93e8c0e6177da62db34480c9f8b40d72b3561849",
"version": "1.9.4",
"port-version": 0
},
{
"git-tree": "f3b3f8d7799086d118dd166c346665ad71b66c19",
"version": "1.9.3",
"port-version": 4
},
{
"git-tree": "43957fa49e865966b52c6729db11aa067f790d49",
"version": "1.9.3",
"port-version": 3
},
{
"git-tree": "c73172e611edeb3ef440fd1ea7ef4fe746237cfc",
"version": "1.9.3",
"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": "05857030abda5345ee64ed534732f07147844de6",
"version-string": "1.9.3",
"port-version": 1
},
{
"git-tree": "d1303e53c110c86d844b41116cd872c8bc967300",
"version-string": "1.9.3",
"port-version": 0
},
{
"git-tree": "b6dfac9ea3f75a0a79736cf1ea2e0ba9bfa67086",
"version-string": "1.9.2-2",
"port-version": 0
},
{
"git-tree": "54c1eacd475f91e4b11447a2c1d45a18023c23a3",
"version-string": "1.9.2-1",
"port-version": 0
},
{
"git-tree": "757d50986c7cdc2aad60e83f62c90d9a8e89988b",
"version-string": "1.9.2",
"port-version": 0
},
{
"git-tree": "bd6ef5fe877aee1d1a4cf02583cd177d9bc83308",
"version-string": "1.9.1-2",
"port-version": 0
},
{
"git-tree": "75863599b807bc9502aabd8c60d916c58e018d49",
"version-string": "1.9.1-1",
"port-version": 0
},
{
"git-tree": "6af395159c52f740c87e44de0e6214e383735ff1",
"version-string": "1.9.1",
"port-version": 0
},
{
"git-tree": "f0ebbf5776dfabe6893f0595134706270dad5002",
"version-string": "1.9.0",
"port-version": 0
},
{
"git-tree": "349110d4d66533a2a437e509ed323a863e8fea58",
"version-string": "1.8.3",
"port-version": 0
},
{
"git-tree": "069250ff6ad210fbf1eed6cf7cf4af54937a0ff6",
"version-string": "1.8.2",
"port-version": 0
},
{
"git-tree": "d86db7c9a2511a1e5074035a3b691976a8911c93",
"version-string": "1.8.1.2-1",
"port-version": 0
},
{
"git-tree": "fb15fbe7c6ed6384ebda2e9839f78d540b6145b5",
"version-string": "1.8.1.2",
"port-version": 0
},
{
"git-tree": "71909a479e4d54bbb65e12b93b21f268088ba81e",
"version-string": "1.8.0-1",
"port-version": 0
},
{
"git-tree": "a5aa2155adfe2571966af6db1ae73bc2c6db5291",
"version-string": "1.8.0",
"port-version": 0
},
{
"git-tree": "832dc4e66bbd303fbcee642af8ca1927ef3b0ee8",
"version-string": "1.7.5",
"port-version": 0
},
{
"git-tree": "263a6d8657f96a86e5da840035aa3527d70233a2",
"version-string": "1.7.4.2",
"port-version": 0
}
]
}