26 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
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
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
ewertons
3de5895272
Azure-IoT-Sdk for C release 2020-12-09 (#15109) 2020-12-15 15:19:17 -08:00
ewertons
ffa41582f7
[Azure-IoT-Sdk*] Update to 2020-07-19 (#12493)
* Azure-IoT-Sdk for C release 2020-07-19

* Update ports/azure-c-shared-utility/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-iot-sdk-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-uamqp-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-macro-utils-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-umqtt-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/azure-uhttp-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/umock-c/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Do not update azure-macro-utils-c and umock-c for release 2020-07-19

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-27 17:53:34 -07:00
Tye Tinsley
05c7e2c7de
Update C port files (#12013) 2020-06-18 15:23:54 -07:00
Ewerton Scaboro da Silva
f6023255d1 Azure-IoT-Sdk for C LTS release 2020-02-04 (lts_02_2020) 2020-02-04 15:03:19 -08:00
ewertons
7aebb48108
Azure-IoT-Sdk for C release 2020-01-22 (#9805)
* Azure-IoT-Sdk for C release 2020-01-22

* [azure-c-shared-utility] Patch conditionals in azure_c_shared_utilityFunctions.cmake

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-01-31 11:42:32 -08:00
ewertons
837fcab0ef [azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations (#9117)
* [azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations

* [azure-c-shared-utility]Terminate the build process when building uwp.
2019-12-10 11:11:46 -08:00
ewertons
c258d0947d Revert "[azure] Update azure-iot-sdk-c for 07/2019 LTS refresh (#8686)" (#8731)
This reverts commit bc11674db1f109bd72d2bc4c0786c6ca078c4cf0.

The LTS release broke the regular port of azure-iot-sdk-c.
This will be fixed and re-published.
2019-10-24 15:47:53 -07:00
ewertons
bc11674db1 [azure] Update azure-iot-sdk-c for 07/2019 LTS refresh (#8686) 2019-10-21 15:18:33 -07:00
Ewerton Scaboro da Silva
3a619c1af8 [azure] Update azure-iot-sdk-c for release of 2019-10-07 2019-10-09 09:01:16 -07:00
ewertons
bad7798afe [azure-iot] vcpkg update for master/public-preview release (#7791) 2019-08-20 14:54:36 -07:00
ewertons
3e1b8afb18 [azure] Update azure-iot-sdk-c for public-preview release of 2019-05-16 (#6804) 2019-06-06 23:01:40 -07:00
ewertons
4f6d1278c5 [azure] Update azure-iot-sdk-c for master release of 2019-05-16 (#6615) 2019-05-24 15:16:28 -07:00
ewertons
e290fc43fa [azure] Update vcpkgs (add new port dependencies) (#6511)
* [azure] Update vcpkgs (add new port dependencies)

* [azure-iot-sdk-c] Bump CONTROL versions and normalize tabs/spaces

* [azure] ACR of Update vcpkgs (add new port dependencies)
2019-05-20 10:27:45 -07:00
ewertons
195e4aa18a [azure-iot] vcpkg update for master/public-preview release (#5789)
* [azure-iot] vcpkg update for master/public-preview release

* [azure] Fix download hash strings

* [azure] Bump CONTROL versions
2019-03-26 23:21:51 -07:00
Rajeev Massand
969299ddbf [azure] vcpkg update for master release 1.2.14 (#5405) 2019-02-21 16:46:24 -08:00
Rajeev Massand
78dd5184dc [azure-iot-sdk-c] public-preview 2019_01_31 changes (#5283) 2019-02-01 12:06:23 -08:00
ewertons
7d2f73d36b Add public-preview version of azure-iot-sdk-c (#5155)
* Add public-preview feature to azure-iot-sdk-c suite of packages

* [azure-c-shared-utility][azure-iot-sdk-c] Remove unneeded repeat dependencies in feature
2019-01-17 13:37:44 -08:00
Jelani Brandon
751db7b568 Update Azure IoTHub packages for new release (#5000)
* Update Azure IoTHub packages for new release

* [azure-c-shared-utility] Avoid double expanding variables
2019-01-08 15:26:06 -08:00
Jelani Brandon
593d3af5b9 Update Azure Iot C SDK repo's SHA for the latest release (#4833)
* Update Azure Iot C SDK repo's SHA for the latest release

* [azure-uhttp-c] Fix hash
2018-11-28 22:53:39 -08:00
Rajeev Massand
13e7f60bca [azure-iot-sdk-c] Update sdk to 1.2.10 and update dependencies (#4717)
* new versions for azure-iot-sdk-c, azure-c-shared-utility, azure-uamqp-c, azure-umqtt-c, azure-uhttp-c

* [azure-iot-sdk-c] Modernize & Cleanup

* fix for x64-windows
2018-11-16 15:45:32 -08:00
Robert Schumacher
2a0bf9c488 Upgrades for 2018.06.12 2018-06-12 21:14:14 -07:00
Robert Schumacher
0778f2ef8e [parson][azure-uamqp-c][azure-umqtt-c][azure-c-shared-utility][azure-iot-sdk-c] Initial commits 2018-03-24 09:16:10 -07:00