Commit Graph

4 Commits

Author SHA1 Message Date
Mollie Munoz
e33819fe06
Azure-IoT-Sdk for C release for 08-30-2021 (#19809)
* Release for 08-30-2021

* Update azure-iot-sdk-c vcpkg.json formatting

* Update version database

* Test commit. In progress.

* bot actions

* Update refs and hashes for main branch test

* bot instructions

* Add OpenSSL for uamqp, umqtt, uhttp

* bot instructions

* Update cmake build options 'warning_as_errors' to OFF; remove patch file

* bot instructions

* Update all REFs to current test commit in azure-iot-sdk-c momuno/curl-vcpkg-fix_20210831

* bot instructions

* c-utility fix -- test

* bot instructions

* Update azure-iot-sdk-c REF and SHA512 for LTS release. Use version-date

* Update version database

* put back remove-werror.patch for LTS release.

* Update versioning. bot instructions

* bot instructions.

* Adding back patch to portfile instructions. Removes warnings as errors

* bot instructions

Co-authored-by: Mollie Munoz <momuno@microsoft.com>
2021-09-10 13:57:06 -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
Francisco Facioni
5eae23f558
[azure-kinect-sensor-sdk] not working on Linux (#14750)
* [azure-kinect-sensor-sdk] fix linux build and other issues
  - linux: warnings stopping the build
  - linux: set correct casing for dependecies
  - linux: depthengine
  - upgrade to 1.4.1

* Update ports/azure-kinect-sensor-sdk/CONTROL

* Update ports/azure-kinect-sensor-sdk/portfile.cmake

* Force to re-download archive, revert 9cd44db8e3

* update version record

* Update ports/azure-kinect-sensor-sdk/CONTROL

* Update versions/a-/azure-kinect-sensor-sdk.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:17:50 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00