GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — remove google-proto-files by stephenplusplus · Pull Request #2458 · googleapis/google-cloud-node

Conversation

@stephenplusplus

@stephenplusplus stephenplusplus commented Jul 14, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

⚠️ Includes a breaking change for @google-cloud/common-grpc

This removes the usage of "google-proto-files" from @google-cloud/common-grpc, as well as our APIs. It is still in use by the generated code.

To Dos

  • Unit tests

Status

✔️ Handwritten APIs that load files from "protos" directory:

  • Bigtable
  • Datastore
  • Pub/Sub
  • Spanner

❌ Autogen APIs that load files from "google-proto-files" dependency:

  • Datastore
  • Pub/Sub
  • Spanner
  • Speech

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 14, 2017
@stephenplusplus
stephenplusplus requested a review from lukesneeringer July 14, 2017 20:42
@stephenplusplus stephenplusplus added api: bigtable Issues related to the Bigtable API. api: datastore Issues related to the Datastore API. api: pubsub Issues related to the Pub/Sub API. api: spanner Issues related to the Spanner API. api: speech Issues related to the Speech-to-Text API. core status: do not merge labels Jul 14, 2017
@lukesneeringer

lukesneeringer commented Jul 14, 2017

Copy link
Copy Markdown
Contributor

Where do the protos live now?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus

stephenplusplus commented Jul 14, 2017

Copy link
Copy Markdown
Contributor Author

Datastore as an example:

packages/
  datastore/
    protos/
      google/
        api/
          **/*.proto
        datastore/
          v1/
            datastore.proto
        protobuf/
          **/*.proto
        type/
          **/*.proto
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@callmehiphop

callmehiphop commented Jul 17, 2017

Copy link
Copy Markdown
Contributor

What does the process for updating proto files look like now? Are we just essentially copy/pasting?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus

stephenplusplus commented Jul 17, 2017

Copy link
Copy Markdown
Contributor Author

Yes, I believe that's the plan. @lukesneeringer?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus
stephenplusplus force-pushed the spp--remove-google-proto-files branch 2 times, most recently from 18ea4d1 to 3d6dd88 Compare July 17, 2017 18:23
@lukesneeringer

lukesneeringer commented Jul 18, 2017

Copy link
Copy Markdown
Contributor

Yep, straight-out copy/paste is the correct thing to do.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

stephenplusplus added 7 commits July 18, 2017 12:13
@stephenplusplus
remove google-proto-files
2fc7885
@stephenplusplus
bigtable: test index.js
0acffb3
@stephenplusplus
datastore: test index.js
2e32e6d
@stephenplusplus
pubsub: test index.js
8a94514
@stephenplusplus
spanner: test index.js
a053550
@stephenplusplus
common-grpc: test service.js
a183f3d
@stephenplusplus
bigtable: fix & test
104aaba
@stephenplusplus
stephenplusplus force-pushed the spp--remove-google-proto-files branch from 3d6dd88 to 104aaba Compare July 18, 2017 18:00
@stephenplusplus stephenplusplus removed the status: do not merge label Jul 18, 2017
@stephenplusplus
stephenplusplus requested a review from callmehiphop July 18, 2017 18:01
@stephenplusplus
lint fix
c9c6521
@stephenplusplus

stephenplusplus commented Jul 18, 2017

Copy link
Copy Markdown
Contributor Author

@callmehiphop ready for a review! Note that for testing locally, you'll have to run npm run link-common, as the updates to the modules depend on the updates to @google-cloud/common-grpc

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus

stephenplusplus commented Jul 19, 2017

Copy link
Copy Markdown
Contributor Author

@lukesneeringer RE the "❌ Autogen APIs that load files from "google-proto-files" dependency" section from the first post, who can take care of this? Those generated _client.js files will need to load the protos from ../../protos/google/... (the amount of ../../s was a guess).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@callmehiphop

callmehiphop commented Jul 19, 2017

Copy link
Copy Markdown
Contributor

@stephenplusplus I'm getting a lot of failures locally for PubSub unit tests

TypeError: base64 is not a function
      at Function.from (native)
      at Function.from (native)
      at Subscription.formatMessage_ (src/subscription.js:364:31)
      at Function.Subscription.formatMessage_ (test/subscription.js:100:55)
      at src/subscription.js:723:29
      at Array.map (native)
      at src/subscription.js:722:8
      at Object.subscription.parent.request (test/subscription.js:658:9)
      at Subscription.pull (src/subscription.js:704:37)
      at Context.<anonymous> (test/subscription.js:869:22)

Not sure if I missed a step or something

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

callmehiphop
callmehiphop approved these changes Jul 19, 2017
View reviewed changes
@stephenplusplus
stephenplusplus merged commit a64ad81 into googleapis:master Jul 20, 2017
This was referenced Jul 20, 2017
library coverage: 25% #2474
Closed
remove google-proto-files googleapis/google-cloud-node-core#483
Closed
@snyk-bot snyk-bot mentioned this pull request Mar 11, 2020
[Snyk] Upgrade @google-cloud/speech from 0.6.0 to 0.11.0 Chatie/stt#20
Open
sofisl pushed a commit that referenced this pull request Jan 24, 2023
@stephenplusplus
remove google-proto-files (#2458)
34621c9
sofisl pushed a commit that referenced this pull request Jan 25, 2023
@stephenplusplus
remove google-proto-files (#2458)
a046887
miguelvelezsa pushed a commit that referenced this pull request Jan 28, 2026
@stephenplusplus
remove google-proto-files (#2458)
1b93505
@miguelvelezsa miguelvelezsa mentioned this pull request Jan 28, 2026
migrate code from googleapis/nodejs-datastore #7053
Closed
sofisl pushed a commit that referenced this pull request Feb 5, 2026
@stephenplusplus
remove google-proto-files (#2458)
27dec96
@sofisl sofisl mentioned this pull request Feb 5, 2026
migrate code from googleapis/nodejs-datastore #7148
Closed
4 tasks
@sofisl sofisl mentioned this pull request Feb 17, 2026
migrate code from googleapis/nodejs-datastore #7263
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Feb 26, 2026
@stephenplusplus
remove google-proto-files (#2458)
81d8105
GautamSharda pushed a commit that referenced this pull request Mar 11, 2026
@stephenplusplus
remove google-proto-files (#2458)
a26b9dd
@GautamSharda GautamSharda mentioned this pull request Mar 11, 2026
migrate code from googleapis/nodejs-pubsub #7592
Merged
4 tasks
GautamSharda pushed a commit that referenced this pull request Mar 23, 2026
@stephenplusplus
remove google-proto-files (#2458)
d6627aa
@GautamSharda GautamSharda mentioned this pull request Mar 23, 2026
migrate code from googleapis/nodejs-bigtable #7852
Merged
4 tasks
GautamSharda pushed a commit that referenced this pull request Mar 25, 2026
@stephenplusplus @GautamSharda
remove google-proto-files (#2458)
9692773
shivanee-p pushed a commit that referenced this pull request Mar 27, 2026
@stephenplusplus @shivanee-p
remove google-proto-files (#2458)
0abfde4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lukesneeringer lukesneeringer Awaiting requested review from lukesneeringer
1 more reviewer
@callmehiphop callmehiphop callmehiphop approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the Bigtable API. api: datastore Issues related to the Datastore API. api: pubsub Issues related to the Pub/Sub API. api: spanner Issues related to the Spanner API. api: speech Issues related to the Speech-to-Text API. cla: yes This human has signed the Contributor License Agreement. core

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@stephenplusplus @lukesneeringer @callmehiphop @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.