Skip to content

Commit e552dc9

Browse files
authored
cleanup: shorten quickstart workspace names (#9916)
With the longer names some of the quickstarts fail to compile on Windows.
1 parent 87cb09c commit e552dc9

File tree

93 files changed

+93
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+93
-93
lines changed

generator/internal/scaffold_generator.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ void GenerateQuickstartWorkspace(
937937
938938
# A minimal WORKSPACE file showing how to use the $title$
939939
# C++ client library in Bazel-based projects.
940-
workspace(name = "$library$_quickstart")
940+
workspace(name = "qs")
941941
942942
# Add the necessary Starlark functions to fetch google-cloud-cpp.
943943
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/accessapproval/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Access Approval API C++
1616
# client library in Bazel-based projects.
17-
workspace(name = "accessapproval_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/accesscontextmanager/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Access Context Manager API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "accesscontextmanager_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/apigateway/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the API Gateway API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "apigateway_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/apigeeconnect/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Apigee Connect API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "apigeeconnect_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/apikeys/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the API Keys API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "apikeys_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/appengine/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the App Engine Admin API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "appengine_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/artifactregistry/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Artifact Registry API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "artifactregistry_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/asset/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Asset API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "asset_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/assuredworkloads/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Assured Workloads API C++
1616
# client library in Bazel-based projects.
17-
workspace(name = "assuredworkloads_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/automl/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud AutoML API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "automl_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/baremetalsolution/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Bare Metal Solution API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "baremetalsolution_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/batch/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Batch API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "batch_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/beyondcorp/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the BeyondCorp API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "beyondcorp_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/bigquery/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Google Cloud BigQuery C++
1616
# client library in Bazel-based projects.
17-
workspace(name = "bigquery_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/bigtable/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Google Cloud Bigtable C++
1616
# client library in Bazel-based projects.
17-
workspace(name = "bigtable_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/billing/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Billing Budget API C++
1616
# client library in Bazel-based projects.
17-
workspace(name = "billing_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/binaryauthorization/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Binary Authorization API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "binaryauthorization_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/channel/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Channel API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "channel_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/cloudbuild/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Build API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "cloudbuild_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/composer/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Composer API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "composer_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/contactcenterinsights/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Contact Center AI Insights API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "contactcenterinsights_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/container/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Kubernetes Engine API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "container_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/containeranalysis/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Container Analysis API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "containeranalysis_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/datacatalog/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Google Cloud Data Catalog API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "datacatalog_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/datamigration/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Database Migration API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "datamigration_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/dataplex/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Dataplex API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "dataplex_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/dataproc/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Dataproc API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "dataproc_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/debugger/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Stackdriver Debugger API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "debugger_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/dialogflow_cx/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Dialogflow API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "dialogflow_cx_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/dialogflow_es/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Dialogflow API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "dialogflow_es_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/dlp/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Data Loss Prevention (DLP) API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "dlp_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/documentai/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Document AI API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "documentai_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/edgecontainer/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Distributed Cloud Edge Container API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "edgecontainer_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/eventarc/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Eventarc API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "eventarc_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/filestore/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Filestore API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "filestore_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/functions/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Functions API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "functions_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/gameservices/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Game Services API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "gameservices_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/gkehub/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the GKE Hub
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "gkehub_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/iam/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Google Cloud IAM C++ client
1616
# library in Bazel-based projects.
17-
workspace(name = "iam_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/iap/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Identity-Aware Proxy API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "iap_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/ids/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud IDS API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "ids_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/iot/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud IoT API
1616
# C++ client library in Bazel-based projects.
17-
workspace(name = "iot_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

google/cloud/kms/quickstart/WORKSPACE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# A minimal WORKSPACE file showing how to use the Cloud Key Management Service (KMS) API C++
1616
# client library in Bazel-based projects.
17-
workspace(name = "kms_quickstart")
17+
workspace(name = "qs")
1818

1919
# Add the necessary Starlark functions to fetch google-cloud-cpp.
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

0 commit comments

Comments
 (0)