Skip to content

Commit 2b5795d

Browse files
stephenpluspluscallmehiphop
authored andcommitted
gcloud-node -> google-cloud-node (#1521)
1 parent ac87e54 commit 2b5795d

31 files changed

+44
-45
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ npm test
2020

2121
### System Tests
2222

23-
To run the system tests, first create and configure a project in the Google Developers Console following the [instructions on how to run gcloud-node][elsewhere]. After that, set the following environment variables:
23+
To run the system tests, first create and configure a project in the Google Developers Console following the [instructions on how to run google-cloud-node][elsewhere]. After that, set the following environment variables:
2424

2525
- **GCLOUD_TESTS_PROJECT_ID**: Developers Console project's ID (e.g. bamboo-shift-455)
2626
- **GCLOUD_TESTS_KEY**: The path to the JSON key file.

.github/ISSUE_TEMPLATE.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ Thanks for stopping by to let us know something could be better!
22

33
Please run down the following list and make sure you've tried the usual "quick fixes":
44

5-
- Search the issues already opened: https://github.com/GoogleCloudPlatform/gcloud-node/issues
5+
- Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
66
- Search StackOverflow: https://stackoverflow.com/questions/tagged/gcloud-node
7-
- Check our Troubleshooting guide: https://googlecloudplatform.github.io/gcloud-node/#/docs/guides/troubleshooting
8-
- Check our FAQ: https://googlecloudplatform.github.io/gcloud-node/#/docs/guides/faq
9-
7+
- Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
8+
- Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
9+
1010
If you are still having issues, please be sure to include as much information as possible:
1111

1212
#### Environment details
1313

14-
- OS:
15-
- Node.js version:
16-
- npm version:
17-
- gcloud-node version:
14+
- OS:
15+
- Node.js version:
16+
- npm version:
17+
- google-cloud-node version:
1818

1919
#### Steps to reproduce
2020

21-
1. require `gcloud-node`
21+
1. require `google-cloud`
2222
2. ?
2323

2424
Making sure to follow these steps will guarantee the quickest resolution possible.

AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is the official list of gcloud-node authors for copyright purposes.
1+
# This is the official list of google-cloud-node authors for copyright purposes.
22
# This file is distinct from the CONTRIBUTORS files.
33
# See the latter for an explanation.
44

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ If you need support for other Google APIs, check out the [Google Node.js API Cli
2929

3030
## Where did `gcloud-node` go?
3131

32-
`gcloud-node` lives on under a new name, `google-cloud`. Your code will behave
33-
the same, simply change your dependency:
32+
`gcloud-node` lives on under a new name, `google-cloud`. Your code will behave the same, simply change your dependency:
3433

3534
```sh
3635
$ npm uninstall --save gcloud
@@ -51,8 +50,8 @@ $ npm install --save google-cloud
5150
## Example Applications
5251

5352
- [nodejs-getting-started][nodejs-getting-started] - A sample and [tutorial][nodejs-getting-started-tutorial] that demonstrates how to build a complete web application using Cloud Datastore, Cloud Storage, and Cloud Pub/Sub and deploy it to Google App Engine or Google Compute Engine.
54-
- [gcloud-node-todos][gcloud-todos] - A TodoMVC backend using gcloud-node and Datastore.
55-
- [gitnpm][gitnpm] - Easily lookup an npm package's GitHub repo using gcloud-node and Google App Engine.
53+
- [gcloud-node-todos][gcloud-todos] - A TodoMVC backend using google-cloud-node and Datastore.
54+
- [gitnpm][gitnpm] - Easily lookup an npm package's GitHub repo using google-cloud-node and Google App Engine.
5655
- [gcloud-kvstore][gcloud-kvstore] - Use Datastore as a simple key-value store.
5756
- [hya-wave][hya-wave] - Cloud-based web sample editor. Part of the [hya-io][hya-io] family of products.
5857
- [gstore-node][gstore-node] - Google Datastore Entities Modeling library.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "gcloud-node",
2+
"name": "google-cloud-node",
33
"private": "true",
44
"devDependencies": {
55
"async": "^1.4.2",

packages/bigquery/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/bigquery/src/job.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function Job(bigQuery, id) {
134134

135135
// The API endpoint for cancel is: .../bigquery/v2/project/projectId/...
136136
// The rest of the API endpoints are: .../bigquery/v2/projects/projectId/...
137-
// Reference: https://github.com/GoogleCloudPlatform/gcloud-node/issues/1027
137+
// Reference: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1027
138138
this.interceptors.push({
139139
request: function(reqOpts) {
140140
if (reqOpts.uri.indexOf('/cancel') > -1) {

packages/bigtable/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"dependencies": {
4141
"array-uniq": "^1.0.2",
4242
"arrify": "^1.0.0",

packages/common/src/grpc-service.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function GrpcService(config, options) {
148148
if (global.GCLOUD_SANDBOX_ENV) {
149149
// gRPC has a tendency to cause our doc unit tests to fail, so we prevent
150150
// any calls to that library from going through.
151-
// Reference: https://github.com/GoogleCloudPlatform/gcloud-node/pull/1137#issuecomment-193315047
151+
// Reference: https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1137#issuecomment-193315047
152152
return global.GCLOUD_SANDBOX_ENV;
153153
}
154154

@@ -331,7 +331,7 @@ GrpcService.prototype.requestStream = function(protoOpts, reqOpts) {
331331
// this does not provide any kind of response status. So we're faking
332332
// it here with code `0` which translates to HTTP 200.
333333
//
334-
// https://github.com/GoogleCloudPlatform/gcloud-node/pull/1444#discussion_r71812636
334+
// https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1444#discussion_r71812636
335335
var grcpStatus = GrpcService.decorateStatus_({ code: 0 });
336336

337337
this.emit('response', grcpStatus);

packages/common/src/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var errorMessage = format([
5252
'See {baseUrl}/{path} for a detailed guide on creating an authenticated',
5353
'connection.'
5454
].join(' '), {
55-
baseUrl: 'https://googlecloudplatform.github.io/gcloud-node/#',
55+
baseUrl: 'https://googlecloudplatform.github.io/google-cloud-node/#',
5656
path: '/docs/guides/authentication'
5757
});
5858

packages/common/test/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe('common/util', function() {
108108
'"GCLOUD_PROJECT". See {baseUrl}/{path} for a detailed guide on creating',
109109
'an authenticated connection.'
110110
].join(' '), {
111-
baseUrl: 'https://googlecloudplatform.github.io/gcloud-node/#',
111+
baseUrl: 'https://googlecloudplatform.github.io/google-cloud-node/#',
112112
path: '/docs/guides/authentication'
113113
});
114114

packages/compute/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/compute/system-test/compute.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ describe('Compute', function() {
779779
var HEALTH_CHECK_NAME = generateName('health-check');
780780

781781
// To create a rule, we need to also create a TargetHttpProxy and UrlMap.
782-
// Until they are officially supported by gcloud-node, we make manual
782+
// Until they are officially supported by google-cloud-node, we make manual
783783
// requests to create and delete them.
784784
var TARGET_PROXY_NAME = generateName('target-proxy');
785785
var URL_MAP_NAME = generateName('url-map');

packages/datastore/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/datastore/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var PKG = require('../package.json');
7171
* // <h4>gcloud SDK not supported</h4>
7272
* //
7373
* // As of this release, the Datastore emulator that is part of the gcloud SDK
74-
* // is not compatible with gcloud-node. We use
74+
* // is not compatible with google-cloud-node. We use
7575
* // <a href="http://grpc.io">gRPC</a> as our transport layer, while the gcloud
7676
* // SDK's Datastore emulator does not support gRPC.
7777
* //

packages/datastore/src/transaction.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Transaction.prototype.commit = function(callback) {
184184
self.rollback(function() {
185185
// Provide the error & API response from the failed commit to the user.
186186
// Even a failed rollback should be transparent.
187-
// RE: https://github.com/GoogleCloudPlatform/gcloud-node/pull/1369#discussion_r66833976
187+
// RE: https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1369#discussion_r66833976
188188
callback(err, resp);
189189
});
190190
return;

packages/dns/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/google-cloud/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"CONTRIBUTORS",
4141
"COPYING"
4242
],
43-
"repository": "googlecloudplatform/gcloud-node",
43+
"repository": "googlecloudplatform/google-cloud-node",
4444
"keywords": [
4545
"google apis client",
4646
"google api client",

packages/google-cloud/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ var apis = {
6363
* projectId: 'grape-spaceship-123',
6464
* keyFilename: '/path/to/keyfile.json',
6565
* zone: 'us-central1-b',
66-
* cluster: 'gcloud-node'
66+
* cluster: 'google-cloud-node'
6767
* });
6868
*/
6969
bigtable: require('@google-cloud/bigtable'),

packages/language/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/logging/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/prediction/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/prediction/system-test/prediction.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('Prediction', function() {
6868
setTimeout(function() {
6969
bucket.delete(function() {
7070
// Ignoring this error:
71-
// https://github.com/GoogleCloudPlatform/gcloud-node/issues/968
71+
// https://github.com/GoogleCloudPlatform/google-cloud-node/issues/968
7272
// if (err) {
7373
// callback(err);
7474
// return;

packages/pubsub/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/pubsub/src/subscription.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ function Subscription(pubsub, options) {
250250
if (is.number(options.timeout)) {
251251
this.timeout = options.timeout;
252252
} else {
253-
// The default timeout used in gcloud-node is 60s, but a pull request times
254-
// out around 90 seconds. Allow an extra couple of seconds to give the API a
255-
// chance to respond on its own before terminating the connection.
253+
// The default timeout used in google-cloud-node is 60s, but a pull request
254+
// times out around 90 seconds. Allow an extra couple of seconds to give the
255+
// API a chance to respond on its own before terminating the connection.
256256
this.timeout = PUBSUB_API_TIMEOUT + 2000;
257257
}
258258

packages/resource/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/storage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/storage/src/channel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function Channel(storage, id, resourceId) {
4747
baseUrl: '/channels',
4848

4949
// An ID shouldn't be included in the API requests.
50-
// RE: https://github.com/GoogleCloudPlatform/gcloud-node/issues/1145
50+
// RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1145
5151
id: '',
5252

5353
methods: {

packages/translate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

packages/vision/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"CONTRIBUTORS",
3737
"COPYING"
3838
],
39-
"repository": "googlecloudplatform/gcloud-node",
39+
"repository": "googlecloudplatform/google-cloud-node",
4040
"keywords": [
4141
"google apis client",
4242
"google api client",

0 commit comments

Comments
 (0)