Commit Graph

9 Commits

Author SHA1 Message Date
Oskari Timperi
309743b4ac
[aws-lambda-cpp] Update to 0.2.7 (#20770)
Co-authored-by: Oskari Timperi <oskari.timperi@novatron.fi>
2021-10-18 14:33:31 -07: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
Jack·Boos·Yu
2018406edb
[vcpkg baseline] Clean up baseline, use Keyword Supports (#14246) 2020-11-18 10:49:25 -08:00
Robert Schumacher
08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08: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
Alexander Neumann
cabbe16525 [vcpkg/cmake] Added a function to fail from portfiles in a default way (#7601)
* added function vcpkg_fail_port_install to fail the portfile under requested circumstances and display a standarized failure message

* added always option.

* fix linux regressions

* bump control for ci tu rerun
2019-08-11 23:24:20 -07:00
Cheney Wang
a5a5e870aa [aws-lambda-cpp]Add warning to non-Linux platform when building (#6211)
* [aws-lambda-cpp]Add warning to non-Linux platform when building

* Also allow osx builds

* Correct Mac check

* OR to AND
2019-04-26 12:45:43 -07:00
Marco Magdy
9e773bd912 Target the v0.1.0 release 2018-12-11 10:07:26 -08:00
Marco Magdy
8dc28516f6 [aws-lambda-cpp] add new port 2018-12-06 17:47:30 -08:00