Commit Graph

7 Commits

Author SHA1 Message Date
Jose Sanchez
2f0bcabe63
[azure-iot-sdk-c] LTS_01_2023_REF01 () 2023-02-03 12:14:45 -08:00
Valerie Avva Lim
9c2ee2a7c5
[azure-iot-sdk-c] LTS Release 07-2022_Ref02 ()
* update versions

* add patches

* fix ninja error

* update port versions

* fix linux build issues

* bot comment fixes

* update version

* add openssl override for c-utility

* format vcpkg.json file

* Update version database

* update licenses

* Update version database

* remove depracated portfile functions

* Update version database

* fix vcpkg_cmake_config_fixup arguments

* Update version database

* point to after openssl 3 support

* revert overrides

* add new openssl patch

* fix patches to work on linux

* update to actual release code

* update versions

* remove leftovers from trying to fix linux

* Revert "remove leftovers from trying to fix linux"

This reverts commit b4589195f1.

* Revert "update versions"

This reverts commit 6a0fbb5318.

* remove leftovers from trying to fix linux

* update versions

* remove unpublished versions

* Update ports/azure-c-shared-utility/vcpkg.json

remove port version

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Update ports/azure-uamqp-c/portfile.cmake

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Update ports/azure-uamqp-c/vcpkg.json

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Update ports/azure-umqtt-c/vcpkg.json

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* pr comments

* update versions

* clean up versions

* remove version updates from un-updated packages

* overwrite versions

* Update vcpkg.json

* Update vcpkg.json

* Update azure-macro-utils-c.json

* Update umock-c.json

Co-authored-by: Valerie Avva Lim <vaavva@DESKTOP-A98NJKG.localdomain>
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Lily Wang <494550702@qq.com>
2022-09-22 14:32:34 -07:00
Mollie Munoz
0bf2f4e517
[Azure IoT C SDK] Public-preview install fix ()
* 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 ()
* [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 ()
* 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. ()
```
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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions () 2021-01-21 09:53:22 -08:00