From fd117d229d413dec5a3d0179ce2a46467145ae9d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 14 Jul 2022 12:15:41 -0700 Subject: [PATCH] [azure-core-tracing-opentelemetry-cpp | azure-core-cpp] Add new port and publish azure-core-cpp version to 1.0.0-beta.2 (#25507) * [azure-core-tracing-opentelemetry-cpp] Update to 1.0.0-beta.2 ## 1.0.0-beta.2 (2022-06-30) ### Breaking Changes - The `Azure::Core::Tracing::OpenTelemetry::OpenTelemetryProvider` type can only be instantiated via a factory method: `OpenTelemetryProvider::Create()`. ### Other Changes - Removed `_internal` APIs from the public API surface. Also removed most of the `_internal` APIs from the public `opentelemetry.hpp` headers. * [azure-core-cpp] Update to 1.7.0 ## 1.7.0 (2022-06-30) ### Features Added - Added prototypes and initial service support for Distributed Tracing. --- ports/azure-core-cpp/portfile.cmake | 4 +-- ports/azure-core-cpp/vcpkg.json | 5 ++-- .../portfile.cmake | 18 +++++++++++ .../vcpkg.json | 30 +++++++++++++++++++ versions/a-/azure-core-cpp.json | 5 ++++ .../azure-core-tracing-opentelemetry-cpp.json | 9 ++++++ versions/baseline.json | 6 +++- 7 files changed, 71 insertions(+), 6 deletions(-) create mode 100644 ports/azure-core-tracing-opentelemetry-cpp/portfile.cmake create mode 100644 ports/azure-core-tracing-opentelemetry-cpp/vcpkg.json create mode 100644 versions/a-/azure-core-tracing-opentelemetry-cpp.json diff --git a/ports/azure-core-cpp/portfile.cmake b/ports/azure-core-cpp/portfile.cmake index a7d0a06d2a..50fa05d0ab 100644 --- a/ports/azure-core-cpp/portfile.cmake +++ b/ports/azure-core-cpp/portfile.cmake @@ -1,8 +1,8 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-sdk-for-cpp - REF azure-core_1.6.0 - SHA512 13374ddf74488c080ef19d78569961dc859cd95cb64f359e0d3a0d763a314f005a6ba51b8f8fe900a7acb3eb4b783f4570962569855f6e4839b02de4db0d026e + REF azure-core_1.7.0 + SHA512 dca77d9b64b9ad3a91b63226f3650a531c024adb0a1d313356b78eb9c76d54f092c7c5d6e353058ad4b3c7ce7fd6d62ea95ab69a116e43f53025b379720f7cca ) vcpkg_check_features( diff --git a/ports/azure-core-cpp/vcpkg.json b/ports/azure-core-cpp/vcpkg.json index c94da535b3..58122b059b 100644 --- a/ports/azure-core-cpp/vcpkg.json +++ b/ports/azure-core-cpp/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-core-cpp", - "version-semver": "1.6.0", + "version-semver": "1.7.0", "description": [ "Microsoft Azure Core SDK for C++", "This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++." @@ -10,8 +10,7 @@ "dependencies": [ { "name": "openssl", - "platform": "!windows & !uwp", - "version>=": "1.1.1n" + "platform": "!windows & !uwp" }, { "name": "vcpkg-cmake", diff --git a/ports/azure-core-tracing-opentelemetry-cpp/portfile.cmake b/ports/azure-core-tracing-opentelemetry-cpp/portfile.cmake new file mode 100644 index 0000000000..a906a37687 --- /dev/null +++ b/ports/azure-core-tracing-opentelemetry-cpp/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF azure-core-tracing-opentelemetry_1.0.0-beta.2 + SHA512 a0697ed440a08f3814013adf476c2a1333b462a2eb96bac18c47939c54686396639935568e229dad6bbbae06f54c324da82544634c6384a2c1498f9959836b6d +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core-tracing-opentelemetry/ + OPTIONS + -DWARNINGS_AS_ERRORS=OFF +) + +vcpkg_cmake_install() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +vcpkg_cmake_config_fixup() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +vcpkg_copy_pdbs() diff --git a/ports/azure-core-tracing-opentelemetry-cpp/vcpkg.json b/ports/azure-core-tracing-opentelemetry-cpp/vcpkg.json new file mode 100644 index 0000000000..137ef7272f --- /dev/null +++ b/ports/azure-core-tracing-opentelemetry-cpp/vcpkg.json @@ -0,0 +1,30 @@ +{ + "name": "azure-core-tracing-opentelemetry-cpp", + "version-semver": "1.0.0-beta.2", + "description": [ + "Microsoft Azure Core Tracing OpenTelemetry SDK for C++", + "This library provides support for modern Azure SDK client libraries written in C++ to leverage OpenTelemetry APIs." + ], + "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/core/azure-core-tracing-opentelemetry", + "license": "MIT", + "supports": "!(windows & !static)", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false, + "version>=": "1.7.0-beta.1" + }, + { + "name": "opentelemetry-cpp", + "version>=": "1.3.0" + }, + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/a-/azure-core-cpp.json b/versions/a-/azure-core-cpp.json index 8dbdcb38ed..b9b8d8b885 100644 --- a/versions/a-/azure-core-cpp.json +++ b/versions/a-/azure-core-cpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "677fc287c3ba4d9a3582498071e1d14d5632e48f", + "version-semver": "1.7.0", + "port-version": 0 + }, { "git-tree": "5b920c224b5fa4daa427701a123bdf213dac8c43", "version-semver": "1.6.0", diff --git a/versions/a-/azure-core-tracing-opentelemetry-cpp.json b/versions/a-/azure-core-tracing-opentelemetry-cpp.json new file mode 100644 index 0000000000..09861ff933 --- /dev/null +++ b/versions/a-/azure-core-tracing-opentelemetry-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "4113db6be129830ea748465ca56fcb75e6ef4a31", + "version-semver": "1.0.0-beta.2", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 8204a8bd20..98b0274e9a 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -325,7 +325,11 @@ "port-version": 3 }, "azure-core-cpp": { - "baseline": "1.6.0", + "baseline": "1.7.0", + "port-version": 0 + }, + "azure-core-tracing-opentelemetry-cpp": { + "baseline": "1.0.0-beta.2", "port-version": 0 }, "azure-identity-cpp": {