From c162047a779478a43561a7e1f1b8687dda5ecc89 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Mon, 14 Sep 2020 11:59:13 -0600 Subject: [PATCH 1/6] docs: state >=3.6 requirement in README (#42) --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index d60b8671..1e6d6fa4 100644 --- a/README.rst +++ b/README.rst @@ -51,7 +51,7 @@ dependencies. Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ -Python >= 3.5 +Python >= 3.6 Deprecated Python Versions From d03e552abf0b756dcda39c6d55fe7a4acd580ced Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Tue, 22 Sep 2020 14:15:02 -0600 Subject: [PATCH 2/6] chore: add default CODEOWNERS (#48) --- .github/CODEOWNERS | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..30c3973a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,11 @@ +# Code owners file. +# This file controls who is tagged for review for any given pull request. +# +# For syntax help see: +# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax + +# The @googleapis/yoshi-python is the default owner for changes in this repo +* @googleapis/yoshi-python + +# The python-samples-reviewers team is the default owner for samples changes +/samples/ @googleapis/python-samples-owners \ No newline at end of file From e748cb4d27fdc6c7cdde2d63417f7892820c75dd Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Wed, 23 Sep 2020 16:27:46 -0500 Subject: [PATCH 3/6] deps: remove unused google-cloud-core dependency (#50) --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index d959e699..dd928dd6 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,6 @@ release_status = "Development Status :: 3 - Alpha" dependencies = [ "google-api-core[grpc] >= 1.22.0, < 2.0.0dev", - "google-cloud-core >= 1.0.3, < 2.0dev", "proto-plus >= 1.4.0", ] extras = {} From 1985feff307ee117d552e1c13c1ef8b2b86278e0 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Tue, 13 Oct 2020 10:53:34 -0600 Subject: [PATCH 4/6] feat: bump to GA (#51) --- .repo-metadata.json | 4 ++-- README.rst | 18 +++++++++--------- setup.py | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 0e6dcdd6..f0c8892b 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,10 +1,10 @@ { "name": "cloudtrace", - "name_pretty": "Stackdriver Trace", + "name_pretty": "Cloud Trace", "product_documentation": "https://cloud.google.com/trace/docs", "client_documentation": "https://googleapis.dev/python/cloudtrace/latest", "issue_tracker": "https://issuetracker.google.com/savedsearches/559776", - "release_level": "alpha", + "release_level": "ga", "language": "python", "repo": "googleapis/python-trace", "distribution_name": "google-cloud-trace", diff --git a/README.rst b/README.rst index 1e6d6fa4..597d5ca4 100644 --- a/README.rst +++ b/README.rst @@ -1,22 +1,22 @@ -Python Client for Stackdriver Trace API +Python Client for Cloud Trace API ======================================= -|alpha| |pypi| |versions| +|ga| |pypi| |versions| -The `Stackdriver Trace API`_ sends application trace data to Stackdriver Trace +The `Cloud Trace API`_ sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. - `Client Library Documentation`_ - `Product Documentation`_ -.. |alpha| image:: https://img.shields.io/badge/support-alpha-orange.svg - :target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#alpha-support +.. |ga| image:: https://img.shields.io/badge/support-ga-gold.svg + :target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#general-availability .. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-trace.svg :target: https://pypi.org/project/google-cloud-trace/ .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-trace.svg :target: https://pypi.org/project/google-cloud-trace/ -.. _Stackdriver Trace API: https://cloud.google.com/trace +.. _Cloud Trace API: https://cloud.google.com/trace .. _Client Library Documentation: https://googleapis.dev/python/cloudtrace/latest .. _Product Documentation: https://cloud.google.com/trace @@ -54,8 +54,8 @@ Supported Python Versions Python >= 3.6 -Deprecated Python Versions -^^^^^^^^^^^^^^^^^^^^^^^^^^ +Unsupported Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Python == 2.7. The last version of this library compatible with Python 2.7 is google-cloud-trace==0.24.0 @@ -92,7 +92,7 @@ to `Python Development Environment Setup Guide`_ for Google Cloud Platform. Next Steps ~~~~~~~~~~ -- Read the `Client Library Documentation`_ for Stackdriver Trace API +- Read the `Client Library Documentation`_ for Cloud Trace API to see other available methods on the client. - Read the `Product documentation`_ to learn more about the product and see How-to Guides. diff --git a/setup.py b/setup.py index dd928dd6..a1318a0c 100644 --- a/setup.py +++ b/setup.py @@ -21,13 +21,13 @@ # Package metadata. name = "google-cloud-trace" -description = "Stackdriver Trace API client library" +description = "Cloud Trace API client library" version = "1.0.0" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta' # 'Development Status :: 5 - Production/Stable' -release_status = "Development Status :: 3 - Alpha" +release_status = "Development Status :: 5 - Production/Stable" dependencies = [ "google-api-core[grpc] >= 1.22.0, < 2.0.0dev", "proto-plus >= 1.4.0", From 23cc946a02f81f87200dd0f98274edde5d3266ad Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 13 Oct 2020 10:02:02 -0700 Subject: [PATCH 5/6] chore(py-library): update decrypt secrets file (#40) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6119a864-2de4-4996-b2e7-89215093ff0a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/d302f93d7f47e2852e585ac35ab2d15585717ec0 --- scripts/decrypt-secrets.sh | 15 ++++++++++++++- synth.metadata | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/scripts/decrypt-secrets.sh b/scripts/decrypt-secrets.sh index ff599eb2..21f6d2a2 100755 --- a/scripts/decrypt-secrets.sh +++ b/scripts/decrypt-secrets.sh @@ -20,14 +20,27 @@ ROOT=$( dirname "$DIR" ) # Work from the project root. cd $ROOT +# Prevent it from overriding files. +# We recommend that sample authors use their own service account files and cloud project. +# In that case, they are supposed to prepare these files by themselves. +if [[ -f "testing/test-env.sh" ]] || \ + [[ -f "testing/service-account.json" ]] || \ + [[ -f "testing/client-secrets.json" ]]; then + echo "One or more target files exist, aborting." + exit 1 +fi + # Use SECRET_MANAGER_PROJECT if set, fallback to cloud-devrel-kokoro-resources. PROJECT_ID="${SECRET_MANAGER_PROJECT:-cloud-devrel-kokoro-resources}" gcloud secrets versions access latest --secret="python-docs-samples-test-env" \ + --project="${PROJECT_ID}" \ > testing/test-env.sh gcloud secrets versions access latest \ --secret="python-docs-samples-service-account" \ + --project="${PROJECT_ID}" \ > testing/service-account.json gcloud secrets versions access latest \ --secret="python-docs-samples-client-secrets" \ - > testing/client-secrets.json \ No newline at end of file + --project="${PROJECT_ID}" \ + > testing/client-secrets.json diff --git a/synth.metadata b/synth.metadata index 2e2dbd35..d707a262 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-trace.git", - "sha": "d3f18195e92915289f9d9d5075de1f11eb316353" + "sha": "423fb47f6d3294fca9fe1c942c42d941c3ef3378" } }, { @@ -18,7 +18,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d91dd8aac77f7a9c5506c238038a26fa4f9e361e" + "sha": "d302f93d7f47e2852e585ac35ab2d15585717ec0" } } ], From fe4afb8c58af7e3e69a3a79ec41d56129a1954c9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 13 Oct 2020 17:10:03 +0000 Subject: [PATCH 6/6] chore: release 1.1.0 (#52) :robot: I have created a release \*beep\* \*boop\* --- ## [1.1.0](https://www.github.com/googleapis/python-trace/compare/v1.0.0...v1.1.0) (2020-10-13) ### Features * bump to GA ([#51](https://www.github.com/googleapis/python-trace/issues/51)) ([1985fef](https://www.github.com/googleapis/python-trace/commit/1985feff307ee117d552e1c13c1ef8b2b86278e0)) ### Documentation * state >=3.6 requirement in README ([#42](https://www.github.com/googleapis/python-trace/issues/42)) ([c162047](https://www.github.com/googleapis/python-trace/commit/c162047a779478a43561a7e1f1b8687dda5ecc89)) ### Dependencies * remove unused google-cloud-core dependency ([#50](https://www.github.com/googleapis/python-trace/issues/50)) ([e748cb4](https://www.github.com/googleapis/python-trace/commit/e748cb4d27fdc6c7cdde2d63417f7892820c75dd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 17 +++++++++++++++++ setup.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28d31710..22f22a2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ [1]: https://pypi.org/project/google-cloud-trace/#history +## [1.1.0](https://www.github.com/googleapis/python-trace/compare/v1.0.0...v1.1.0) (2020-10-13) + + +### Features + +* bump to GA ([#51](https://www.github.com/googleapis/python-trace/issues/51)) ([1985fef](https://www.github.com/googleapis/python-trace/commit/1985feff307ee117d552e1c13c1ef8b2b86278e0)) + + +### Documentation + +* state >=3.6 requirement in README ([#42](https://www.github.com/googleapis/python-trace/issues/42)) ([c162047](https://www.github.com/googleapis/python-trace/commit/c162047a779478a43561a7e1f1b8687dda5ecc89)) + + +### Dependencies + +* remove unused google-cloud-core dependency ([#50](https://www.github.com/googleapis/python-trace/issues/50)) ([e748cb4](https://www.github.com/googleapis/python-trace/commit/e748cb4d27fdc6c7cdde2d63417f7892820c75dd)) + ## [1.0.0](https://www.github.com/googleapis/python-trace/compare/v0.24.0...v1.0.0) (2020-09-14) diff --git a/setup.py b/setup.py index a1318a0c..f0a8058f 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ name = "google-cloud-trace" description = "Cloud Trace API client library" -version = "1.0.0" +version = "1.1.0" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta'