Stephen E. Baker
6d69bbacd2
[luasocket] bump to 3.1.0 ( #31078 )
...
* [luasocket] Bump to 3.1.0
* vcpkg x-add-version luasocket
2023-05-02 15:21:40 -07:00
Alexander Neumann
1a5244ef8b
[Luasocket] fix builds without pdbs ( #26185 )
...
* luasocket: only rename pdbs if they exist
* v db
2022-08-05 23:50:01 -07:00
Stephen E. Baker
f70ecfd8f7
[luasocket] update to v3.0.0 ( #24606 )
...
* [luasocket] Bump to official v3.0.0 release
Upstream changed to https://github.com/lunarmodules/luasocket and an
actual 3.0.0 release was tagged so we no longer need to point to
unversioned commits.
* [luasocket] Specify license in manifest
* Run vcpkg x-add-version --all
2022-05-09 14:47:48 -07:00
autoantwort
ccdb2089ce
[luasocket] only work on windows ( #22432 )
2022-01-11 14:28:39 -08:00
Billy O'Neal
b295670e4b
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