Skip to content

chore: update reference of master branch to main for other repositories #7154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .kokoro/tests/run_single_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ set -e
# If REPORT_TO_BUILD_COP_BOT is set to "true", send the test log
# to the FlakyBot.
# See:
# https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ "${REPORT_TO_BUILD_COP_BOT:-}" == "true" ]]; then
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
$KOKORO_GFILE_DIR/linux_amd64/flakybot
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/tests/run_tests_orig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ for file in **/requirements.txt; do
# If REPORT_TO_BUILD_COP_BOT is set to "true", send the test log
# to the FlakyBot.
# See:
# https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ "${REPORT_TO_BUILD_COP_BOT:-}" == "true" ]]; then
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
$KOKORO_GFILE_DIR/linux_amd64/flakybot
Expand Down
4 changes: 2 additions & 2 deletions AUTHORING_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ client library repository `googleapis/python-{api}`. Other samples should be pla
`python-docs-samples`.

**Library repositories:** Each sample should be in a folder under the top-level samples folder `samples`
in the client library repository. See the [Text-to-Speech samples](https://github.com/googleapis/python-texttospeech/tree/master/samples)
in the client library repository. See the [Text-to-Speech samples](https://github.com/googleapis/python-texttospeech/tree/main/samples)
for an example.

**python-docs-samples:** Each sample should be in a folder under the top-level folder of
Expand Down Expand Up @@ -788,7 +788,7 @@ environment variable.

The resources required by tests can usually be found in the `./resources`
folder inside the `samples/snippets` directory in client libraries, as in
[this example](https://github.com/googleapis/python-automl/tree/master/samples/snippets/resources).
[this example](https://github.com/googleapis/python-automl/tree/main/samples/snippets/resources).
You can upload those resources to your own GCS bucket to run the tests with
[gsutil](https://cloud.google.com/storage/docs/gsutil). For example:

Expand Down
2 changes: 1 addition & 1 deletion asset/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-asset/tree/master/samples
https://github.com/googleapis/python-asset/tree/main/samples
2 changes: 1 addition & 1 deletion automl/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-automl/tree/master/samples
https://github.com/googleapis/python-automl/tree/main/samples
2 changes: 1 addition & 1 deletion bigquery/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-bigquery/tree/master/samples/snippets
https://github.com/googleapis/python-bigquery/tree/main/samples/snippets
2 changes: 1 addition & 1 deletion bigquery_storage/to_dataframe/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-bigquery-storage/tree/master/samples/to_dataframe
https://github.com/googleapis/python-bigquery-storage/tree/main/samples/to_dataframe
2 changes: 1 addition & 1 deletion cloud-sql/mysql/client-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Download a JSON key to use to authenticate your connection.

1. **macOS / Windows only**: Configure gRPC Root Certificates: On some platforms you may need to
accept the Google server certificates, see instructions for setting up
[root certs](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates).
[root certs](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates).

## Running locally

Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/postgres/client-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Download a JSON key to use to authenticate your connection.

1. **macOS / Windows only**: Configure gRPC Root Certificates: On some platforms you may need to
accept the Google server certificates, see instructions for setting up
[root certs](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates).
[root certs](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates).


## Running locally
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/sql-server/client-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Download a JSON key to use to authenticate your connection.

1. **macOS / Windows only**: Configure gRPC Root Certificates: On some platforms you may need to
accept the Google server certificates, see instructions for setting up
[root certs](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates).
[root certs](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates).

## Running locally

Expand Down
4 changes: 3 additions & 1 deletion container_registry/container_analysis/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
These samples have been moved to https://github.com/googleapis/python-containeranalysis/tree/master/samples
These samples have been moved.

https://github.com/googleapis/python-containeranalysis/tree/main/samples
2 changes: 1 addition & 1 deletion datacatalog/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-datacatalog/tree/master/samples
https://github.com/googleapis/python-datacatalog/tree/main/samples
2 changes: 1 addition & 1 deletion datalabeling/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-datalabeling/tree/master/samples
https://github.com/googleapis/python-datalabeling/tree/main/samples
2 changes: 1 addition & 1 deletion dataproc/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-dataproc/tree/master/samples
https://github.com/googleapis/python-dataproc/tree/main/samples
2 changes: 1 addition & 1 deletion dialogflow/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-dialogflow/tree/master/samples
https://github.com/googleapis/python-dialogflow/tree/main/samples
2 changes: 1 addition & 1 deletion dlp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-dlp/tree/master/samples
https://github.com/googleapis/python-dlp/tree/main/samples
2 changes: 1 addition & 1 deletion document/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-documentai/tree/master/samples/snippets
https://github.com/googleapis/python-documentai/tree/main/samples/snippets
2 changes: 1 addition & 1 deletion error_reporting/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-error-reporting/tree/master/samples
https://github.com/googleapis/python-error-reporting/tree/main/samples
2 changes: 1 addition & 1 deletion iot/api-client/manager/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-iot/tree/master/samples
https://github.com/googleapis/python-iot/tree/main/samples
2 changes: 1 addition & 1 deletion jobs/v4beta1/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-talent/tree/master/samples
https://github.com/googleapis/python-talent/tree/main/samples
2 changes: 1 addition & 1 deletion kms/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-kms/tree/master/samples
https://github.com/googleapis/python-kms/tree/main/samples
2 changes: 1 addition & 1 deletion language/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-language/tree/master/samples
https://github.com/googleapis/python-language/tree/main/samples
2 changes: 1 addition & 1 deletion logging/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-logging/tree/master/samples
https://github.com/googleapis/python-logging/tree/main/samples
2 changes: 1 addition & 1 deletion monitoring/api/v3/alerts-client/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-monitoring/tree/master/samples/snippets/v3/alerts-client
https://github.com/googleapis/python-monitoring/tree/main/samples/snippets/v3/alerts-client
2 changes: 1 addition & 1 deletion monitoring/api/v3/cloud-client/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-monitoring/tree/master/samples/snippets/v3/cloud-client
https://github.com/googleapis/python-monitoring/tree/main/samples/snippets/v3/cloud-client
2 changes: 1 addition & 1 deletion monitoring/api/v3/uptime-check-client/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-monitoring/tree/master/samples/snippets/v3/uptime-check-client
https://github.com/googleapis/python-monitoring/tree/main/samples/snippets/v3/uptime-check-client
2 changes: 1 addition & 1 deletion pubsub/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-pubsub/tree/master/samples
https://github.com/googleapis/python-pubsub/tree/main/samples
2 changes: 1 addition & 1 deletion scheduler/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-scheduler/tree/master/samples
https://github.com/googleapis/python-scheduler/tree/main/samples
2 changes: 1 addition & 1 deletion secretmanager/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-secret-manager/tree/master/samples
https://github.com/googleapis/python-secret-manager/tree/main/samples
2 changes: 1 addition & 1 deletion speech/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-speech/tree/master/samples
https://github.com/googleapis/python-speech/tree/main/samples
2 changes: 1 addition & 1 deletion tables/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-automl/tree/master/samples
https://github.com/googleapis/python-automl/tree/main/samples
2 changes: 1 addition & 1 deletion tasks/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-tasks/tree/master/samples
https://github.com/googleapis/python-tasks/tree/main/samples
2 changes: 1 addition & 1 deletion texttospeech/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-texttospeech/tree/master/samples
https://github.com/googleapis/python-texttospeech/tree/main/samples
2 changes: 1 addition & 1 deletion translate/automl/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-automl/tree/master/samples
https://github.com/googleapis/python-automl/tree/main/samples
2 changes: 1 addition & 1 deletion translate/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-translate/tree/master/samples
https://github.com/googleapis/python-translate/tree/main/samples
2 changes: 1 addition & 1 deletion video/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-videointelligence/tree/master/samples
https://github.com/googleapis/python-videointelligence/tree/main/samples
2 changes: 1 addition & 1 deletion vision/cloud-client/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-vision/tree/master/samples
https://github.com/googleapis/python-vision/tree/main/samples