Commit Graph

6 Commits

Author SHA1 Message Date
Mollie Munoz
0bf2f4e517
[Azure IoT C SDK] Public-preview install fix (#23343)
* update public-preview install and cleanup patches

* Update port-versions

* Update deprecated functions

* Add license info

* bot instructions

* Fix updated function arguments

* Update CONFIG_PATH.  in progress.

* Fix uamqp dependency issue, update public preview patches

* Fix versions

* update preview patch

* bot instructions

Co-authored-by: Mollie Munoz <momuno@microsoft.com>
2022-03-03 12:24:47 -08:00
Kai Pastor
53e50bc9ee
[azure-iot-sdk-c, azure-c-shared-utility] Fix linking of parson, uhttp, CURL, OpenSSL; modernize (#22869)
* [azure-c-shared-utility] Use targets for OpenSSL and CURL

* [azure-c-shared-utility] Modernize portfile

* [azure-iot-sdk-c] Fix parson dependency

* [azure-iot-sdk-c] Modernize portfile

* [azure-iot-sdk-c] Fix iothubclient include dirs

* [azure-iot-sdk-c] Fix uhttp dependency

* Update versions
2022-02-01 11:54:22 -08:00
Mollie Munoz
c76e5f092a
[azure-iot-sdk-c] LTS release 2022-01-21 (#22696)
* [azure-iot-sdk-c] LTS release 2022-01-21

* bot instructions

* bot 2 instructions

* Update patches per cmake changes

* bot instructions fix

* update version

* bot instructions

Co-authored-by: Mollie Munoz <momuno@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-01-26 12:06:01 -08:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
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