Skip to content

Commit

Permalink
gcloud-node -> google-cloud-node (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored and callmehiphop committed Aug 23, 2016
1 parent ac87e54 commit 2b5795d
Show file tree
Hide file tree
Showing 31 changed files with 44 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ npm test

### System Tests

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:
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:

- **GCLOUD_TESTS_PROJECT_ID**: Developers Console project's ID (e.g. bamboo-shift-455)
- **GCLOUD_TESTS_KEY**: The path to the JSON key file.
Expand Down
18 changes: 9 additions & 9 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ Thanks for stopping by to let us know something could be better!

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

- Search the issues already opened: https://github.com/GoogleCloudPlatform/gcloud-node/issues
- Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
- Search StackOverflow: https://stackoverflow.com/questions/tagged/gcloud-node
- Check our Troubleshooting guide: https://googlecloudplatform.github.io/gcloud-node/#/docs/guides/troubleshooting
- Check our FAQ: https://googlecloudplatform.github.io/gcloud-node/#/docs/guides/faq
- Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
- Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq

If you are still having issues, please be sure to include as much information as possible:

#### Environment details

- OS:
- Node.js version:
- npm version:
- gcloud-node version:
- OS:
- Node.js version:
- npm version:
- google-cloud-node version:

#### Steps to reproduce

1. require `gcloud-node`
1. require `google-cloud`
2. ?

Making sure to follow these steps will guarantee the quickest resolution possible.
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is the official list of gcloud-node authors for copyright purposes.
# This is the official list of google-cloud-node authors for copyright purposes.
# This file is distinct from the CONTRIBUTORS files.
# See the latter for an explanation.

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ If you need support for other Google APIs, check out the [Google Node.js API Cli

## Where did `gcloud-node` go?

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

```sh
$ npm uninstall --save gcloud
Expand All @@ -51,8 +50,8 @@ $ npm install --save google-cloud
## Example Applications

- [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.
- [gcloud-node-todos][gcloud-todos] - A TodoMVC backend using gcloud-node and Datastore.
- [gitnpm][gitnpm] - Easily lookup an npm package's GitHub repo using gcloud-node and Google App Engine.
- [gcloud-node-todos][gcloud-todos] - A TodoMVC backend using google-cloud-node and Datastore.
- [gitnpm][gitnpm] - Easily lookup an npm package's GitHub repo using google-cloud-node and Google App Engine.
- [gcloud-kvstore][gcloud-kvstore] - Use Datastore as a simple key-value store.
- [hya-wave][hya-wave] - Cloud-based web sample editor. Part of the [hya-io][hya-io] family of products.
- [gstore-node][gstore-node] - Google Datastore Entities Modeling library.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "gcloud-node",
"name": "google-cloud-node",
"private": "true",
"devDependencies": {
"async": "^1.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/bigquery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/bigquery/src/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function Job(bigQuery, id) {

// The API endpoint for cancel is: .../bigquery/v2/project/projectId/...
// The rest of the API endpoints are: .../bigquery/v2/projects/projectId/...
// Reference: https://github.com/GoogleCloudPlatform/gcloud-node/issues/1027
// Reference: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1027
this.interceptors.push({
request: function(reqOpts) {
if (reqOpts.uri.indexOf('/cancel') > -1) {
Expand Down
2 changes: 1 addition & 1 deletion packages/bigtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"dependencies": {
"array-uniq": "^1.0.2",
"arrify": "^1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/common/src/grpc-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function GrpcService(config, options) {
if (global.GCLOUD_SANDBOX_ENV) {
// gRPC has a tendency to cause our doc unit tests to fail, so we prevent
// any calls to that library from going through.
// Reference: https://github.com/GoogleCloudPlatform/gcloud-node/pull/1137#issuecomment-193315047
// Reference: https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1137#issuecomment-193315047
return global.GCLOUD_SANDBOX_ENV;
}

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

this.emit('response', grcpStatus);
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var errorMessage = format([
'See {baseUrl}/{path} for a detailed guide on creating an authenticated',
'connection.'
].join(' '), {
baseUrl: 'https://googlecloudplatform.github.io/gcloud-node/#',
baseUrl: 'https://googlecloudplatform.github.io/google-cloud-node/#',
path: '/docs/guides/authentication'
});

Expand Down
2 changes: 1 addition & 1 deletion packages/common/test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('common/util', function() {
'"GCLOUD_PROJECT". See {baseUrl}/{path} for a detailed guide on creating',
'an authenticated connection.'
].join(' '), {
baseUrl: 'https://googlecloudplatform.github.io/gcloud-node/#',
baseUrl: 'https://googlecloudplatform.github.io/google-cloud-node/#',
path: '/docs/guides/authentication'
});

Expand Down
2 changes: 1 addition & 1 deletion packages/compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/compute/system-test/compute.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ describe('Compute', function() {
var HEALTH_CHECK_NAME = generateName('health-check');

// To create a rule, we need to also create a TargetHttpProxy and UrlMap.
// Until they are officially supported by gcloud-node, we make manual
// Until they are officially supported by google-cloud-node, we make manual
// requests to create and delete them.
var TARGET_PROXY_NAME = generateName('target-proxy');
var URL_MAP_NAME = generateName('url-map');
Expand Down
2 changes: 1 addition & 1 deletion packages/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/datastore/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var PKG = require('../package.json');
* // <h4>gcloud SDK not supported</h4>
* //
* // As of this release, the Datastore emulator that is part of the gcloud SDK
* // is not compatible with gcloud-node. We use
* // is not compatible with google-cloud-node. We use
* // <a href="http://grpc.io">gRPC</a> as our transport layer, while the gcloud
* // SDK's Datastore emulator does not support gRPC.
* //
Expand Down
2 changes: 1 addition & 1 deletion packages/datastore/src/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Transaction.prototype.commit = function(callback) {
self.rollback(function() {
// Provide the error & API response from the failed commit to the user.
// Even a failed rollback should be transparent.
// RE: https://github.com/GoogleCloudPlatform/gcloud-node/pull/1369#discussion_r66833976
// RE: https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1369#discussion_r66833976
callback(err, resp);
});
return;
Expand Down
2 changes: 1 addition & 1 deletion packages/dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var apis = {
* projectId: 'grape-spaceship-123',
* keyFilename: '/path/to/keyfile.json',
* zone: 'us-central1-b',
* cluster: 'gcloud-node'
* cluster: 'google-cloud-node'
* });
*/
bigtable: require('@google-cloud/bigtable'),
Expand Down
2 changes: 1 addition & 1 deletion packages/language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/prediction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/prediction/system-test/prediction.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('Prediction', function() {
setTimeout(function() {
bucket.delete(function() {
// Ignoring this error:
// https://github.com/GoogleCloudPlatform/gcloud-node/issues/968
// https://github.com/GoogleCloudPlatform/google-cloud-node/issues/968
// if (err) {
// callback(err);
// return;
Expand Down
2 changes: 1 addition & 1 deletion packages/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
6 changes: 3 additions & 3 deletions packages/pubsub/src/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ function Subscription(pubsub, options) {
if (is.number(options.timeout)) {
this.timeout = options.timeout;
} else {
// The default timeout used in gcloud-node is 60s, but a pull request times
// out around 90 seconds. Allow an extra couple of seconds to give the API a
// chance to respond on its own before terminating the connection.
// The default timeout used in google-cloud-node is 60s, but a pull request
// times out around 90 seconds. Allow an extra couple of seconds to give the
// API a chance to respond on its own before terminating the connection.
this.timeout = PUBSUB_API_TIMEOUT + 2000;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/resource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/src/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Channel(storage, id, resourceId) {
baseUrl: '/channels',

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

methods: {
Expand Down
2 changes: 1 addition & 1 deletion packages/translate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down
2 changes: 1 addition & 1 deletion packages/vision/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"CONTRIBUTORS",
"COPYING"
],
"repository": "googlecloudplatform/gcloud-node",
"repository": "googlecloudplatform/google-cloud-node",
"keywords": [
"google apis client",
"google api client",
Expand Down

0 comments on commit 2b5795d

Please sign in to comment.