Skip to content

Commit 2957ec0

Browse files
authored
chore: declare osconfig GA (#9511)
1 parent c3d736a commit 2957ec0

5 files changed

Lines changed: 15 additions & 18 deletions

File tree

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ EXPERIMENTAL_LIBRARIES = [
3434
]
3535

3636
TRANSITION_LIBRARIES = [
37+
# Declared GA on 2022-07-18
3738
"osconfig",
3839
]
3940

google/cloud/osconfig/CMakeLists.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
include(GoogleapisConfig)
1818
set(DOXYGEN_PROJECT_NAME "OS Config API C++ Client")
1919
set(DOXYGEN_PROJECT_BRIEF "A C++ Client Library for the OS Config API")
20-
set(DOXYGEN_PROJECT_NUMBER "${PROJECT_VERSION} (Experimental)")
20+
set(DOXYGEN_PROJECT_NUMBER "${PROJECT_VERSION}")
2121
set(DOXYGEN_EXCLUDE_SYMBOLS "internal" "osconfig_internal" "osconfig_testing"
2222
"examples")
2323
set(DOXYGEN_EXAMPLE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/quickstart)
@@ -66,14 +66,13 @@ target_link_libraries(
6666
google_cloud_cpp_add_common_options(google_cloud_cpp_osconfig)
6767
set_target_properties(
6868
google_cloud_cpp_osconfig
69-
PROPERTIES EXPORT_NAME google-cloud-cpp::experimental-osconfig
69+
PROPERTIES EXPORT_NAME google-cloud-cpp::osconfig
7070
VERSION "${PROJECT_VERSION}"
7171
SOVERSION "${PROJECT_VERSION_MAJOR}")
7272
target_compile_options(google_cloud_cpp_osconfig
7373
PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG})
7474

75-
add_library(google-cloud-cpp::experimental-osconfig ALIAS
76-
google_cloud_cpp_osconfig)
75+
add_library(google-cloud-cpp::osconfig ALIAS google_cloud_cpp_osconfig)
7776

7877
# Create a header-only library for the mocks. We use a CMake `INTERFACE` library
7978
# for these, a regular library would not work on macOS (where the library needs
@@ -92,11 +91,10 @@ add_library(google_cloud_cpp_osconfig_mocks INTERFACE)
9291
target_sources(google_cloud_cpp_osconfig_mocks INTERFACE ${mock_files})
9392
target_link_libraries(
9493
google_cloud_cpp_osconfig_mocks
95-
INTERFACE google-cloud-cpp::experimental-osconfig GTest::gmock_main
96-
GTest::gmock GTest::gtest)
97-
set_target_properties(
98-
google_cloud_cpp_osconfig_mocks
99-
PROPERTIES EXPORT_NAME google-cloud-cpp::experimental-osconfig_mocks)
94+
INTERFACE google-cloud-cpp::osconfig GTest::gmock_main GTest::gmock
95+
GTest::gtest)
96+
set_target_properties(google_cloud_cpp_osconfig_mocks
97+
PROPERTIES EXPORT_NAME google-cloud-cpp::osconfig_mocks)
10098
target_include_directories(
10199
google_cloud_cpp_osconfig_mocks
102100
INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
@@ -109,7 +107,7 @@ include(CTest)
109107
if (BUILD_TESTING)
110108
add_executable(osconfig_quickstart "quickstart/quickstart.cc")
111109
target_link_libraries(osconfig_quickstart
112-
PRIVATE google-cloud-cpp::experimental-osconfig)
110+
PRIVATE google-cloud-cpp::osconfig)
113111
google_cloud_cpp_add_common_options(osconfig_quickstart)
114112
add_test(
115113
NAME osconfig_quickstart

google/cloud/osconfig/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
# OS Config API C++ Client Library
22

3-
:construction:
4-
53
This directory contains an idiomatic C++ client library for the
64
[OS Config API][cloud-service-docs], a service for patch management, patch
75
compliance, and configuration management on VM instances.
86

9-
<!-- TODO(#8139) - fix streaming read updated namespace before GA -->
10-
11-
This library is **experimental**. Its APIs are subject to change without notice.
12-
13-
Please note that the Google Cloud C++ client libraries do **not** follow
7+
While this library is **GA**, please note that the Google Cloud C++ client libraries do **not** follow
148
[Semantic Versioning](https://semver.org/).
159

1610
## Supported Platforms

google/cloud/osconfig/config.cmake.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ find_dependency(google_cloud_cpp_grpc_utils)
2020
find_dependency(absl)
2121

2222
include("${CMAKE_CURRENT_LIST_DIR}/google_cloud_cpp_osconfig-targets.cmake")
23+
24+
if (NOT TARGET google-cloud-cpp::experimental-osconfig)
25+
add_library(google-cloud-cpp::experimental-osconfig ALIAS google-cloud-cpp::osconfig)
26+
endif ()

google/cloud/osconfig/doc/main.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An idiomatic C++ client library for the [OS Config API][cloud-service-docs],
66
a service for patch management, patch compliance, and configuration
77
management on VM instances.
88

9-
This library is **experimental**. Its APIs are subject to change without notice.
9+
While this library is **GA**, please note Google Cloud C++ client libraries do **not** follow [Semantic Versioning](https://semver.org/).
1010

1111
This library requires a C++14 compiler. It is supported (and tested) on multiple
1212
Linux distributions, as well as Windows and macOS. The [README][github-readme]

0 commit comments

Comments
 (0)