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
Jack·Boos·Yu
2018406edb
[vcpkg baseline] Clean up baseline, use Keyword Supports ( #14246 )
2020-11-18 10:49:25 -08:00
Jack·Boos·Yu
3856a6bda7
[aws-c-*] Update version ( #13558 )
...
* [many ports] Update version
* [aws-checksums] Add dependency aws-c-common
* update version
* port updates
* port updates
* Update ports/brotli/CONTROL
* [draco] fix uwp build
* [blosc] Fix win static build
* [blosc] fix unix build
* move changes to other PRs
* Remove unuse patches
2020-09-27 18:26:08 -07:00
Jack·Boos·Yu
cf3e688dda
[aws-*]Update version ( #8832 )
...
* [aws-c-common]Upgrade to 0.4.15
* [aws-c-common]Fix cmake target path.
* [aws-c-event-stream]Upgrade to 0.1.4
* [aws-checksums]Upgrade to 0.1.5
[aws-c-event-stream]Fix cmake target path.
[aws-lambda-cpp]Upgrade to 0.2.4
[aws-sdk-cpp]Upgrade to 1.7.214
* [aws=sdk-cpp]Set feature AWSMigrationHub to lowercase.
* [aws-lambda-cpp] Drop support with OSX
2020-01-30 14:43:34 -08:00
JackBoosY
d33468bc67
[aws-checksums]Upgrade version to 0.1.3 ( #7154 )
2019-07-07 23:11:37 -07:00
bdonlan
7d5fa69b33
[aws-sdk-cpp] Update port to version 1.7.38 and add ports for its dependencies ( #5214 )
...
* [aws-c-common] Add new port
* [aws-checksums] Add new port
* [aws-c-event-stream] Add new port
* [aws-sdk-cpp] Update port to version 1.7.38
* [aws-sdk-cpp] Add dependencies on aws-c-event-stream, aws-checksums
2019-01-24 15:53:13 -08:00