mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 21:37:56 +08:00
[opentelemetry-cpp-contrib-version] Add port opentelemetry-cpp-contrib-version (#39513)
This commit is contained in:
parent
f00e89ae19
commit
3f69545b98
5
ports/opentelemetry-cpp-contrib-version/portfile.cmake
Normal file
5
ports/opentelemetry-cpp-contrib-version/portfile.cmake
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
file(INSTALL
|
||||||
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
|
||||||
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
|
|
||||||
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
@ -0,0 +1,12 @@
|
|||||||
|
include_guard(GLOBAL)
|
||||||
|
|
||||||
|
function(clone_opentelemetry_cpp_contrib CONTRIB_SOURCE_PATH)
|
||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO open-telemetry/opentelemetry-cpp-contrib
|
||||||
|
REF 93733bb2e52273474f4298d10645bf7d1157fc55
|
||||||
|
HEAD_REF main
|
||||||
|
SHA512 bfe297e313b8e960a4557dd8750c814af2f9b574dd248f8c30b452160f5b7aba53af85b2c5b87a423ea3878e8a852022e3ff3d08a983db073c68418e64f671b2
|
||||||
|
)
|
||||||
|
set(${CONTRIB_SOURCE_PATH} ${SOURCE_PATH} CACHE INTERNAL "")
|
||||||
|
endfunction()
|
8
ports/opentelemetry-cpp-contrib-version/vcpkg.json
Normal file
8
ports/opentelemetry-cpp-contrib-version/vcpkg.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||||
|
"name": "opentelemetry-cpp-contrib-version",
|
||||||
|
"version-date": "2024-06-17",
|
||||||
|
"description": "This port manages the opentelemetry-cpp-version that will be used for opentelemetry-cpp",
|
||||||
|
"homepage": "https://github.com/open-telemetry/opentelemetry-cpp-contrib",
|
||||||
|
"license": "Apache-2.0"
|
||||||
|
}
|
@ -50,13 +50,7 @@ set(OPENTELEMETRY_CPP_EXTERNAL_COMPONENTS "OFF")
|
|||||||
if(WITH_GENEVA OR WITH_USER_EVENTS)
|
if(WITH_GENEVA OR WITH_USER_EVENTS)
|
||||||
# Geneva and user events exporters from opentelemetry-cpp-contrib are tightly coupled with opentelemetry-cpp repo,
|
# Geneva and user events exporters from opentelemetry-cpp-contrib are tightly coupled with opentelemetry-cpp repo,
|
||||||
# so they should be ported as a feature under opentelemetry-cpp.
|
# so they should be ported as a feature under opentelemetry-cpp.
|
||||||
vcpkg_from_github(
|
clone_opentelemetry_cpp_contrib(CONTRIB_SOURCE_PATH)
|
||||||
OUT_SOURCE_PATH CONTRIB_SOURCE_PATH
|
|
||||||
REPO open-telemetry/opentelemetry-cpp-contrib
|
|
||||||
REF 4f3059390ad09d12d93255a10f7be8ff948d26fc
|
|
||||||
HEAD_REF main
|
|
||||||
SHA512 392e3a414ea0ee016768dd75a286d2a7a3a7a011cc0fce4ee2f796ad7e0cd70d534eb38cb1d22f91300f4670dfa212a4239ba8e008c2444d47e13c5fe3fb75c0
|
|
||||||
)
|
|
||||||
|
|
||||||
if(WITH_GENEVA)
|
if(WITH_GENEVA)
|
||||||
set(OPENTELEMETRY_CPP_EXTERNAL_COMPONENTS "${CONTRIB_SOURCE_PATH}/exporters/geneva")
|
set(OPENTELEMETRY_CPP_EXTERNAL_COMPONENTS "${CONTRIB_SOURCE_PATH}/exporters/geneva")
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||||
"name": "opentelemetry-cpp",
|
"name": "opentelemetry-cpp",
|
||||||
"version-semver": "1.16.0",
|
"version-semver": "1.16.0",
|
||||||
"port-version": 1,
|
"port-version": 2,
|
||||||
"description": [
|
"description": [
|
||||||
"OpenTelemetry is a collection of tools, APIs, and SDKs.",
|
"OpenTelemetry is a collection of tools, APIs, and SDKs.",
|
||||||
"You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior."
|
"You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior."
|
||||||
@ -44,7 +44,8 @@
|
|||||||
"etw"
|
"etw"
|
||||||
],
|
],
|
||||||
"platform": "windows"
|
"platform": "windows"
|
||||||
}
|
},
|
||||||
|
"opentelemetry-cpp-contrib-version"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"otlp-grpc": {
|
"otlp-grpc": {
|
||||||
@ -81,7 +82,8 @@
|
|||||||
"features": [
|
"features": [
|
||||||
"otlp-http"
|
"otlp-http"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"opentelemetry-cpp-contrib-version"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"zipkin": {
|
"zipkin": {
|
||||||
|
@ -6602,7 +6602,11 @@
|
|||||||
},
|
},
|
||||||
"opentelemetry-cpp": {
|
"opentelemetry-cpp": {
|
||||||
"baseline": "1.16.0",
|
"baseline": "1.16.0",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
|
},
|
||||||
|
"opentelemetry-cpp-contrib-version": {
|
||||||
|
"baseline": "2024-06-17",
|
||||||
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"opentracing": {
|
"opentracing": {
|
||||||
"baseline": "1.6.0",
|
"baseline": "1.6.0",
|
||||||
|
9
versions/o-/opentelemetry-cpp-contrib-version.json
Normal file
9
versions/o-/opentelemetry-cpp-contrib-version.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "5206130235588a761f3f16867efff91e9ba63950",
|
||||||
|
"version-date": "2024-06-17",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "799204d8df71719e37312c777904fec2ed63152e",
|
||||||
|
"version-semver": "1.16.0",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "24f0a022ab07e290283011657cac26e32a6dd648",
|
"git-tree": "24f0a022ab07e290283011657cac26e32a6dd648",
|
||||||
"version-semver": "1.16.0",
|
"version-semver": "1.16.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user