Code Monkey home page Code Monkey logo

java-cloud-bom's Introduction

Google Cloud Libraries BOM

The Google Cloud Libraries BOM is a Bill-of-Materials (BOM) that provides consistent versions of Google Cloud Java libraries and their core Google libraries (gRPC, Protobuf, etc.). Here is a code snippet showing how to use BOM in the <dependencyManagement> section. For details, please refer to Google Cloud: Using Cloud Client Libraries.

To use it in Maven, add the following to your POM:

 <dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>libraries-bom</artifactId>
      <version>26.38.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

Maven

When you use the Libraries BOM, you don't specify individual library versions and your application runs on a consistent set of the dependencies.

Libraries in Scope

The content of the Libraries BOM consists of 2 categories:

  • Google Cloud Java client libraries (Maven coordinates com.google.cloud:google-cloud-XXX, where XXX is a GCP service name) and
  • Core Google dependency libraries, such as gRPC, Protobuf, and Guava.

This is the table of modules included in the latest libraries-bom release:

libraries-bom: v26.38.0

Artifact ID Library Type Google Cloud Library Reference Google Cloud Product Reference
api-common Runtime 2.30.0 N/A
gax Runtime 2.47.0 N/A
google-analytics-admin Product 0.52.0 Analytics Admin
google-analytics-data Product 0.53.0 Analytics Data
google-area120-tables Product 0.46.0 Area 120 Tables
google-auth-library Product 1.23.0 Google Auth Library
google-cloud-accessapproval Product 2.43.0 Access Approval
google-cloud-advisorynotifications Product 0.31.0 Advisory Notifications API
google-cloud-aiplatform Product 3.43.0 Vertex AI
google-cloud-alloydb Product 0.31.0 AlloyDB
google-cloud-alloydb-connectors Product 0.20.0 N/A
google-cloud-analyticshub Product 0.39.0 Analytics Hub API
google-cloud-api-gateway Product 2.42.0 API Gateway
google-cloud-apigee-connect Product 2.42.0 Apigee Connect
google-cloud-apigee-registry Product 0.42.0 Registry API
google-cloud-apikeys Product 0.40.0 API Keys API
google-cloud-appengine-admin Product 2.42.0 App Engine Admin API
google-cloud-apphub Product 0.6.0 N/A
google-cloud-artifact-registry Product 1.41.0 Artifact Registry
google-cloud-asset Product 3.46.0 Cloud Asset Inventory
google-cloud-assured-workloads Product 2.42.0 Assured Workloads for Government
google-cloud-automl Product 2.42.0 Cloud Auto ML
google-cloud-backupdr Product 0.1.0 N/A
google-cloud-bare-metal-solution Product 0.42.0 Bare Metal Solution
google-cloud-batch Product 0.42.0 Cloud Batch
google-cloud-beyondcorp-appconnections Product 0.40.0 BeyondCorp AppConnections
google-cloud-beyondcorp-appconnectors Product 0.40.0 BeyondCorp AppConnectors
google-cloud-beyondcorp-appgateways Product 0.40.0 BeyondCorp AppGateways
google-cloud-beyondcorp-clientconnectorservices Product 0.40.0 BeyondCorp ClientConnectorServices
google-cloud-beyondcorp-clientgateways Product 0.40.0 BeyondCorp ClientGateways
google-cloud-biglake Product 0.30.0 BigLake
google-cloud-bigquery Product 2.39.1 Cloud BigQuery
google-cloud-bigquery-data-exchange Product 2.37.0 Analytics Hub
google-cloud-bigqueryconnection Product 2.44.0 Cloud BigQuery Connection
google-cloud-bigquerydatapolicy Product 0.39.0 BigQuery DataPolicy API
google-cloud-bigquerydatatransfer Product 2.42.0 BigQuery Data Transfer Service
google-cloud-bigquerymigration Product 0.45.0 BigQuery Migration
google-cloud-bigqueryreservation Product 2.43.0 Cloud BigQuery Reservation
google-cloud-bigquerystorage Product 3.5.0 BigQuery Storage
google-cloud-bigtable Product 2.39.0 Cloud Bigtable
google-cloud-billing Product 2.42.0 Cloud Billing
google-cloud-billingbudgets Product 2.42.0 Cloud Billing Budgets
google-cloud-binary-authorization Product 1.41.0 Binary Authorization
google-cloud-build Product 3.44.0 Cloud Build
google-cloud-certificate-manager Product 0.45.0 Certificate Manager
google-cloud-channel Product 3.46.0 Channel Services
google-cloud-chat Product 0.6.0 N/A
google-cloud-cloudcommerceconsumerprocurement Product 0.40.0 Cloud Commerce Consumer Procurement
google-cloud-cloudcontrolspartner Product 0.6.0 N/A
google-cloud-cloudquotas Product 0.10.0 N/A
google-cloud-cloudsupport Product 0.26.0 Google Cloud Support API
google-cloud-compute Product 1.52.0 Compute Engine
google-cloud-confidentialcomputing Product 0.28.0 Confidential Computing API
google-cloud-contact-center-insights Product 2.42.0 CCAI Insights
google-cloud-container Product 2.45.0 Kubernetes Engine
google-cloud-containeranalysis Product 2.43.0 Cloud Container Analysis
google-cloud-contentwarehouse Product 0.38.0 Document AI Warehouse
google-cloud-core Runtime 2.37.0 Google Cloud Core
google-cloud-data-fusion Product 1.42.0 Cloud Data Fusion
google-cloud-datacatalog Product 1.48.0 Data Catalog
google-cloud-dataflow Product 0.46.0 Dataflow
google-cloud-dataform Product 0.41.0 Cloud Dataform
google-cloud-datalabeling Product 0.162.0 Data Labeling
google-cloud-datalineage Product 0.34.0 Data Lineage
google-cloud-dataplex Product 1.40.0 Cloud Dataplex
google-cloud-dataproc Product 4.39.0 Dataproc
google-cloud-dataproc-metastore Product 2.43.0 Dataproc Metastore
google-cloud-datastore Product 2.19.1 Cloud Datastore
google-cloud-datastream Product 1.41.0 Datastream
google-cloud-debugger-client Product 1.42.0 Cloud Debugger
google-cloud-deploy Product 1.40.0 Google Cloud Deploy
google-cloud-dialogflow Product 4.48.0 Dialogflow API
google-cloud-dialogflow-cx Product 0.53.0 Dialogflow CX
google-cloud-discoveryengine Product 0.38.0 Discovery Engine API
google-cloud-distributedcloudedge Product 0.39.0 Google Distributed Cloud Edge
google-cloud-dlp Product 3.46.0 Cloud Data Loss Prevention
google-cloud-dms Product 2.41.0 Database Migration Service
google-cloud-dns Product 2.40.0 Cloud DNS
google-cloud-document-ai Product 2.46.0 Document AI
google-cloud-domains Product 1.39.0 Cloud Domains
google-cloud-edgenetwork Product 0.10.0 N/A
google-cloud-enterpriseknowledgegraph Product 0.38.0 Enterprise Knowledge Graph
google-cloud-errorreporting Product 0.163.0-beta Error Reporting
google-cloud-essential-contacts Product 2.42.0 Essential Contacts API
google-cloud-eventarc Product 1.42.0 Eventarc
google-cloud-eventarc-publishing Product 0.42.0 Eventarc Publishing
google-cloud-filestore Product 1.43.0 Cloud Filestore API
google-cloud-firestore Product 3.21.0 Cloud Firestore
google-cloud-functions Product 2.44.0 Cloud Functions
google-cloud-gke-backup Product 0.41.0 Backup for GKE
google-cloud-gke-connect-gateway Product 0.43.0 Connect Gateway API
google-cloud-gke-multi-cloud Product 0.41.0 Anthos Multicloud
google-cloud-gkehub Product 1.42.0 GKE Hub API
google-cloud-gsuite-addons Product 2.42.0 Google Workspace Add-ons API
google-cloud-iamcredentials Product 2.42.0 IAM Service Account Credentials API
google-cloud-ids Product 1.41.0 Intrusion Detection System
google-cloud-infra-manager Product 0.19.0 N/A
google-cloud-iot Product 2.42.0 Cloud Internet of Things (IoT) Core
google-cloud-kms Product 2.45.0 Cloud Key Management Service
google-cloud-kmsinventory Product 0.31.0 KMS Inventory API
google-cloud-language Product 2.43.0 Natural Language
google-cloud-life-sciences Product 0.44.0 Cloud Life Sciences
google-cloud-live-stream Product 0.44.0 Live Stream API
google-cloud-logging Product 3.17.0 Cloud Logging
google-cloud-logging-logback Product 0.131.5-alpha Cloud Logging Logback Appender
google-cloud-managed-identities Product 1.40.0 Managed Service for Microsoft Active Directory
google-cloud-mediatranslation Product 0.48.0 Media Translation API
google-cloud-meet Product 0.9.0 N/A
google-cloud-memcache Product 2.42.0 Cloud Memcache
google-cloud-migrationcenter Product 0.24.0 Migration Center API
google-cloud-monitoring Product 3.43.0 Stackdriver Monitoring
google-cloud-monitoring-dashboard Product 2.44.0 Monitoring Dashboards
google-cloud-monitoring-metricsscope Product 0.36.0 Monitoring Metrics Scopes
google-cloud-netapp Product 0.21.0 N/A
google-cloud-network-management Product 1.43.0 Network Management API
google-cloud-network-security Product 0.45.0 Network Security API
google-cloud-networkconnectivity Product 1.41.0 Network Connectivity Center
google-cloud-nio Product 0.127.16 NIO Filesystem Provider for Google Cloud Storage
google-cloud-notebooks Product 1.40.0 AI Platform Notebooks
google-cloud-notification Product 0.160.0-beta Google Cloud Pub/Sub Notifications for GCS
google-cloud-optimization Product 1.40.0 Cloud Fleet Routing
google-cloud-orchestration-airflow Product 1.42.0 Cloud Composer
google-cloud-orgpolicy Product 2.42.0 Cloud Organization Policy
google-cloud-os-config Product 2.44.0 OS Config API
google-cloud-os-login Product 2.41.0 Cloud OS Login
google-cloud-parallelstore Product 0.5.0 N/A
google-cloud-phishingprotection Product 0.73.0 Phishing Protection
google-cloud-policy-troubleshooter Product 1.41.0 IAM Policy Troubleshooter API
google-cloud-policysimulator Product 0.21.0 N/A
google-cloud-private-catalog Product 0.44.0 Private Catalog
google-cloud-profiler Product 2.42.0 Cloud Profiler
google-cloud-publicca Product 0.39.0 Public Certificate Authority
google-cloud-pubsub Product 1.129.1 Cloud Pub/Sub
google-cloud-pubsublite Product 1.13.3 Cloud Pub/Sub Lite
google-cloud-rapidmigrationassessment Product 0.25.0 Rapid Migration Assessment API
google-cloud-recaptchaenterprise Product 3.39.0 reCAPTCHA Enterprise
google-cloud-recommendations-ai Product 0.49.0 Recommendations AI
google-cloud-recommender Product 2.44.0 Recommender
google-cloud-redis Product 2.45.0 Cloud Redis
google-cloud-redis-cluster Product 0.14.0 N/A
google-cloud-resource-settings Product 1.42.0 Resource Settings API
google-cloud-resourcemanager Product 1.44.0 Resource Manager API
google-cloud-retail Product 2.44.0 Cloud Retail
google-cloud-run Product 0.42.0 Cloud Run
google-cloud-scheduler Product 2.42.0 Google Cloud Scheduler
google-cloud-secretmanager Product 2.42.0 Secret Management
google-cloud-securesourcemanager Product 0.12.0 N/A
google-cloud-security-private-ca Product 2.44.0 Certificate Authority Service
google-cloud-securitycenter Product 2.50.0 Security Command Center
google-cloud-securitycenter-settings Product 0.45.0 Security Command Center Settings API
google-cloud-securitycentermanagement Product 0.10.0 N/A
google-cloud-securityposture Product 0.7.0 N/A
google-cloud-service-control Product 1.42.0 Service Control API
google-cloud-service-management Product 3.40.0 Service Management API
google-cloud-service-usage Product 2.42.0 Service Usage
google-cloud-servicedirectory Product 2.43.0 Service Directory
google-cloud-servicehealth Product 0.9.0 N/A
google-cloud-shell Product 2.41.0 Cloud Shell
google-cloud-spanner Product 6.65.1 Cloud Spanner
google-cloud-spanner-jdbc Product 2.17.0 Google Cloud Spanner JDBC
google-cloud-speech Product 4.37.0 Cloud Speech
google-cloud-storage Product 2.37.0 Cloud Storage
google-cloud-storage-control Product 2.37.0-alpha N/A
google-cloud-storage-transfer Product 1.42.0 Storage Transfer Service
google-cloud-storageinsights Product 0.27.0 Storage Insights API
google-cloud-talent Product 2.43.0 Talent Solution
google-cloud-tasks Product 2.42.0 Cloud Tasks
google-cloud-telcoautomation Product 0.12.0 N/A
google-cloud-texttospeech Product 2.43.0 Cloud Text-to-Speech
google-cloud-tpu Product 2.43.0 Cloud TPU
google-cloud-trace Product 2.42.0 Stackdriver Trace
google-cloud-translate Product 2.42.0 Cloud Translation
google-cloud-vertexai Product 1.2.0 N/A
google-cloud-video-intelligence Product 2.41.0 Cloud Video Intelligence
google-cloud-video-stitcher Product 0.42.0 Video Stitcher API
google-cloud-video-transcoder Product 1.41.0 Video Transcoder
google-cloud-vision Product 3.40.0 Cloud Vision
google-cloud-vmmigration Product 1.42.0 VM Migration
google-cloud-vmwareengine Product 0.36.0 Google Cloud VMware Engine
google-cloud-vpcaccess Product 2.43.0 Serverless VPC Access
google-cloud-webrisk Product 2.41.0 Web Risk
google-cloud-websecurityscanner Product 2.42.0 Cloud Security Scanner
google-cloud-workflow-executions Product 2.42.0 Cloud Workflow Executions
google-cloud-workflows Product 2.42.0 Cloud Workflows
google-cloud-workspaceevents Product 0.6.0 N/A
google-cloud-workstations Product 0.30.0 Cloud Workstations
google-http-client Runtime 1.44.1 N/A
google-iam-admin Product 3.37.0 IAM Admin API
google-iam-policy Product 1.40.0 IAM
google-identity-accesscontextmanager Product 1.43.0 Identity Access Context Manager
graal-sdk Product 22.3.5 N/A
grafeas Product 2.43.0 Grafeas
opentelemetry-api Product 1.37.0 N/A
opentelemetry-context Product 1.37.0 N/A
opentelemetry-exporter-common Product 1.37.0 N/A
opentelemetry-exporter-logging Product 1.37.0 N/A
opentelemetry-exporter-logging-otlp Product 1.37.0 N/A
opentelemetry-exporter-otlp Product 1.37.0 N/A
opentelemetry-exporter-otlp-common Product 1.37.0 N/A
opentelemetry-exporter-sender-grpc-managed-channel Product 1.37.0 N/A
opentelemetry-exporter-sender-okhttp Product 1.37.0 N/A
opentelemetry-exporter-zipkin Product 1.37.0 N/A
opentelemetry-extension-kotlin Product 1.37.0 N/A
opentelemetry-extension-trace-propagators Product 1.37.0 N/A
opentelemetry-opentracing-shim Product 1.37.0 N/A
opentelemetry-sdk Product 1.37.0 N/A
opentelemetry-sdk-common Product 1.37.0 N/A
opentelemetry-sdk-extension-autoconfigure Product 1.37.0 N/A
opentelemetry-sdk-extension-autoconfigure-spi Product 1.37.0 N/A
opentelemetry-sdk-extension-jaeger-remote-sampler Product 1.37.0 N/A
opentelemetry-sdk-logs Product 1.37.0 N/A
opentelemetry-sdk-metrics Product 1.37.0 N/A
opentelemetry-sdk-testing Product 1.37.0 N/A
opentelemetry-sdk-trace Product 1.37.0 N/A

Dependency Dashboard

The google-cloud-bom dashboard provides client library consumers with easy access to dependency information pertaining to each client library that goes into the google-cloud-bom.

The dashboard shows the content of each version of the BOM which includes all the versions of the artifacts in it and their underlying google-cloud-shared-dependencies BOM version.

The dashboard also has an all versions page where user can easily search on any artifact or version to see which version of the google-cloud-bom it exists in -- this could be helpful in providing client library consumer advice on which version(s) of google-cloud-bom to import to address their needs.

Contributing

Contributions to this library are always welcome and highly encouraged.

See google-cloud's CONTRIBUTING documentation and the shared documentation for more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

License

Apache 2.0 - See LICENSE for more information.

java-cloud-bom's People

Contributors

alicejli avatar andreamlin avatar chingor13 avatar cloud-java-bot avatar codyoss avatar ddixit14 avatar dependabot[bot] avatar elharo avatar garrettjonesgoogle avatar gcf-merge-on-green[bot] avatar gcf-owl-bot[bot] avatar igorbernstein2 avatar jesselovelace avatar kolea2 avatar lqiu96 avatar meltsufin avatar mpeddada1 avatar neenu1995 avatar neozwu avatar pongad avatar release-please[bot] avatar renovate-bot avatar salehsquared avatar sduskis avatar stephaniewang526 avatar suztomo avatar vam-google avatar yihanzhen avatar yoshi-automation avatar zhumin8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-cloud-bom's Issues

Synthesis failed for java-cloud-bom

Hello! Autosynth couldn't regenerate java-cloud-bom. 💔

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to branch 'autosynth'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
On branch autosynth
nothing to commit, working tree clean
HEAD detached at FETCH_HEAD
nothing to commit, working tree clean
synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/tmpfs/src/git/autosynth/working_repo/synth.py", line 21, in <module>
    templates = common_templates.java_library()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/gcp/common.py", line 75, in java_library
    return self._generic_library("java_library", **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/gcp/common.py", line 43, in _generic_library
    if not kwargs["metadata"]["samples"]:
KeyError: 'samples'

Synthesis failed

Google internal developers can see the full log here.

Promote to Beta

Package name: google-cloud-bom
Current release: alpha
Proposed release: beta

Instructions

Check the lists below, adding tests / documentation as required. Once all the "required" boxes are ticked, please create a release and close this issue.

Required

  • Server API is beta or GA
  • Service API is public
  • Client surface is mostly stable (no known issues that could significantly change the surface)
  • All manual types and methods have comment documentation
  • Package name is idiomatic for the platform
  • At least one integration/smoke test is defined and passing
  • Central GitHub README lists and points to the per-API README
  • Per-API README links to product page on cloud.google.com
  • Manual code has been reviewed for API stability by repo owner

Optional

  • Most common / important scenarios have descriptive samples
  • Public manual methods have at least one usage sample each (excluding overloads)
  • Per-API README includes a full description of the API
  • Per-API README contains at least one “getting started” sample using the most common API scenario
  • Manual code has been reviewed by API producer
  • Manual code has been reviewed by a DPE responsible for samples
  • 'Client LIbraries' page is added to the product documentation in 'APIs & Reference' section of the product's documentation on Cloud Site

Cloud BOM should not include non-GA'd API's

Ideally, the Cloud BOM would not include unstable API's like the Healthcare and Jobs api's.

GoogleCloudPlatform/java-docs-samples#2577 shows where methods, fields and such change and BOM updates break samples.

  • accessapproval
  • billing-budgets
  • compute
  • datalabeling
  • dns
  • document-ai
  • errorreporting
  • irm
  • logging-logback
  • mediatranslation
  • memcache
  • monitoring-dashboard
  • phishingprotection
  • resourcemanager
  • servicedirectory
  • talent
  • grafeas

Investigate maven-flatten-plugin

See if we can use maven-flatten-plugin so that the published google-cloud-bom has all artifact versions at the top level, rather than importing other boms.

We want to keep using imports of other boms for maintenance sake (updating one version at a time when other multi-module artifacts are published)

Synthesis failed for java-cloud-bom

Hello! Autosynth couldn't regenerate java-cloud-bom. 💔

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmp_c3v20d6/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out 'd8789515aebaf80a707cabb5f537cf292bbd040e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d878951 chore: release 0.125.1-SNAPSHOT (#569)
Note: checking out '52638600f387deb98efb5f9c85fec39e82aa9052'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 5263860 build(java): set GOOGLE_CLOUD_PROJECT env for samples/integration tests (#484)
Switched to a new branch 'autosynth-self-1'
2020-04-30 14:02:37 [INFO] Running synthtool
2020-04-30 14:02:37 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/tmpfs/src/github/synthtool/synthtool/__init__.py", line 21, in <module>
    from synthtool import update_check
  File "/tmpfs/src/github/synthtool/synthtool/update_check.py", line 19, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
2020-04-30 14:02:37 [ERROR] Synthesis failed
HEAD is now at d878951 chore: release 0.125.1-SNAPSHOT (#569)
Switched to branch 'autosynth-self'
Note: checking out 'd8789515aebaf80a707cabb5f537cf292bbd040e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d878951 chore: release 0.125.1-SNAPSHOT (#569)
Previous HEAD position was 5263860 build(java): set GOOGLE_CLOUD_PROJECT env for samples/integration tests (#484)
HEAD is now at 6b685a2 fix: synthtool path (#515)
Switched to a new branch 'autosynth-16'
2020-04-30 14:02:37 [INFO] Running synthtool
2020-04-30 14:02:37 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/tmpfs/src/github/synthtool/synthtool/__init__.py", line 21, in <module>
    from synthtool import update_check
  File "/tmpfs/src/github/synthtool/synthtool/update_check.py", line 19, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
2020-04-30 14:02:37 [ERROR] Synthesis failed
HEAD is now at d878951 chore: release 0.125.1-SNAPSHOT (#569)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 576, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 457, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 566, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 352, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 362, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

  • deps: update dependency com.google.googlejavaformat:google-java-format to v1.9

  • Check this box to trigger a request for Renovate to run again on this repository

Firestore dependency version is not found in BOM

When trying to package an mvn application using the BOM and google-cloud-firestore, there is an error:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-firestore:jar is missing. @ line 56, column 17
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.example.guestbook:guestbook-cloud-firestore:1.0-SNAPSHOT (/tmpfs/src/github/java-docs-samples/appengine-java11/guestbook-cloud-firestore/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for com.google.cloud:google-cloud-firestore:jar is missing. @ line 56, column 17
[ERROR]

pom.xml:

...
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>libraries-bom</artifactId>
        <version>3.3.0</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-firestore</artifactId>
    </dependency>
...

Integration test/sanity check for google-cloud-bom

google-cloud-bom 0.120.0 went out with three major problems caused by two different root causes:

googleapis/google-cloud-java#6996
https://github.com/googleapis/java-kms/issues/21

Then 0.120.1 went out with a fix for one but not the other two.

All three problems were caught by a test for libraries-bom but not until after these release shipped.

I think we need to prioritize an integration test of google-cloud-bom that verifies that everything in the BOM can be resolved and that runs before we publish a release, probably as part of our main test suite.

Synthesis failed for java-cloud-bom

Hello! Autosynth couldn't regenerate java-cloud-bom. 💔

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 256, in <module>
    main()
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 196, in main
    last_synth_commit_hash = get_last_metadata_commit(args.metadata_path)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 149, in get_last_metadata_commit
    text=True,
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/subprocess.py", line 403, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'text'

Google internal developers can see the full log here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.