Skip to content

Commit 5910b22

Browse files
committed
Cleaning up remaining renames of gcloud->google-cloud.
1 parent faab61c commit 5910b22

46 files changed

Lines changed: 85 additions & 81 deletions

Some content is hidden

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

CONTRIBUTING.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,13 @@ Running System Tests
223223
$ gcloud beta emulators datastore env-init
224224
export DATASTORE_LOCAL_HOST=localhost:8417
225225
export DATASTORE_HOST=http://localhost:8417
226-
export DATASTORE_DATASET=gcloud-settings-app-id
227-
export DATASTORE_PROJECT_ID=gcloud-settings-app-id
226+
export DATASTORE_DATASET=google-cloud-settings-app-id
227+
export DATASTORE_PROJECT_ID=google-cloud-settings-app-id
228228

229229
using these environment variables run the emulator::
230230

231231
$ DATASTORE_HOST=http://localhost:8471 \
232-
> DATASTORE_DATASET=gcloud-settings-app-id \
232+
> DATASTORE_DATASET=google-cloud-settings-app-id \
233233
> GOOGLE_CLOUD_NO_PRINT=true \
234234
> python system_tests/run_system_test.py \
235235
> --package=datastore --ignore-requirements
@@ -326,7 +326,7 @@ instead of
326326
``https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/CONTRIBUTING.rst``)
327327
may cause problems creating links or rendering the description.
328328

329-
.. _description on PyPI: https://pypi.python.org/pypi/gcloud
329+
.. _description on PyPI: https://pypi.python.org/pypi/google-cloud
330330

331331
Travis Configuration and Build Optimizations
332332
--------------------------------------------

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include README.rst
2-
graft gcloud
2+
graft google
33
global-exclude *.pyc

Makefile.bigtable_v2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GRPCIO_VIRTUALENV=$(shell pwd)/grpc_python_venv
22
GENERATED_DIR=$(shell pwd)/generated_python
33
GENERATED_SUBDIR=_generated
4-
BIGTABLE_DIR=$(shell pwd)/gcloud/bigtable/$(GENERATED_SUBDIR)
4+
BIGTABLE_DIR=$(shell pwd)/google/cloud/bigtable/$(GENERATED_SUBDIR)
55
PROTOC_CMD=$(GRPCIO_VIRTUALENV)/bin/python -m grpc.tools.protoc
66
GOOGLEAPIS_PROTOS_DIR=$(shell pwd)/googleapis-pb
77

Makefile.datastore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GRPCIO_VIRTUALENV=$(shell pwd)/grpc_python_venv
22
GENERATED_DIR=$(shell pwd)/generated_python
3-
DATASTORE_DIR=$(shell pwd)/gcloud/datastore/_generated
3+
DATASTORE_DIR=$(shell pwd)/google/cloud/datastore/_generated
44
PROTOC_CMD=$(GRPCIO_VIRTUALENV)/bin/python -m grpc.tools.protoc
55
GOOGLEAPIS_PROTOS_DIR=$(shell pwd)/googleapis-pb
66

README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Google Cloud Python Client
1111
- `API Documentation`_
1212

1313
.. _Homepage: https://googlecloudplatform.github.io/google-cloud-python/
14-
.. _API Documentation: http://googlecloudplatform.github.io/google-cloud-python/#/docs/master/gcloud
14+
.. _API Documentation: http://googlecloudplatform.github.io/google-cloud-python/#/docs/master/google-cloud
1515

1616
This client supports the following Google Cloud Platform services:
1717

@@ -41,7 +41,7 @@ Quick Start
4141

4242
::
4343

44-
$ pip install --upgrade gcloud
44+
$ pip install --upgrade google-cloud
4545

4646
Example Applications
4747
--------------------
@@ -58,8 +58,8 @@ Authentication
5858

5959
With ``google-cloud-python`` we try to make authentication as painless as possible.
6060
Check out the `Authentication section`_ in our documentation to learn more.
61-
You may also find the `authentication document`_ shared by all the ``gcloud-*``
62-
libraries to be helpful.
61+
You may also find the `authentication document`_ shared by all the
62+
``google-cloud-*`` libraries to be helpful.
6363

6464
.. _Authentication section: http://google-cloud-python.readthedocs.org/en/latest/gcloud-auth.html
6565
.. _authentication document: https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/authentication
@@ -328,7 +328,7 @@ Apache 2.0 - See `LICENSE`_ for more information.
328328
:target: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python
329329
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-python/badge.png?branch=master
330330
:target: https://coveralls.io/r/GoogleCloudPlatform/google-cloud-python?branch=master
331-
.. |pypi| image:: https://img.shields.io/pypi/v/gcloud.svg
332-
:target: https://pypi.python.org/pypi/gcloud
333-
.. |versions| image:: https://img.shields.io/pypi/pyversions/gcloud.svg
334-
:target: https://pypi.python.org/pypi/gcloud
331+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud.svg
332+
:target: https://pypi.python.org/pypi/google-cloud
333+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud.svg
334+
:target: https://pypi.python.org/pypi/google-cloud

docs/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,17 @@ qthelp:
7777
@echo
7878
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
7979
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/gclouddatastore.qhcp"
80+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/google-cloud.qhcp"
8181
@echo "To view the help file:"
82-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/gclouddatastore.qhc"
82+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/google-cloud.qhc"
8383

8484
devhelp:
8585
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
8686
@echo
8787
@echo "Build finished."
8888
@echo "To view the help file:"
89-
@echo "# mkdir -p $$HOME/.local/share/devhelp/gclouddatastore"
90-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/gclouddatastore"
89+
@echo "# mkdir -p $$HOME/.local/share/devhelp/google-cloud"
90+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/google-cloud"
9191
@echo "# devhelp"
9292

9393
epub:

docs/gcloud-auth.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Overview
2222
2323
$ gcloud auth login
2424
25-
Previously, `gcloud auth login` was used for both use cases. If your gcloud installation does not support the new command, please update it:
25+
Previously, ``gcloud auth login`` was used for both use cases. If
26+
your ``gcloud`` installation does not support the new command,
27+
please update it:
2628

2729
.. code-block:: bash
2830

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. toctree::
22
:maxdepth: 0
33
:hidden:
4-
:caption: gcloud
4+
:caption: google-cloud
55

66
gcloud-api
77
gcloud-config
@@ -170,16 +170,16 @@
170170
GitHub <https://github.com/GoogleCloudPlatform/google-cloud-python/>
171171
Issues <https://github.com/GoogleCloudPlatform/google-cloud-python/issues>
172172
Stack Overflow <http://stackoverflow.com/questions/tagged/google-cloud-python>
173-
PyPI <https://pypi.python.org/pypi/gcloud>
173+
PyPI <https://pypi.python.org/pypi/google-cloud>
174174

175175
Getting started
176176
---------------
177177

178-
The ``gcloud`` library is ``pip`` install-able:
178+
The ``google-cloud`` library is ``pip`` install-able:
179179

180180
.. code-block:: console
181181
182-
$ pip install gcloud
182+
$ pip install google-cloud
183183
184184
If you want to install ``google-cloud-python`` from source,
185185
you can clone the repository from GitHub:

docs/json/json/home.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>google-cloud-python</h1>
99
</div>
1010

1111
<div class="quote-box--supplementary">
12-
<pre class="skip-highlight"><code class="subtle--blue">$</code> pip install <code class="subtle--blue">--upgrade</code> <strong>gcloud</strong></pre>
12+
<pre class="skip-highlight"><code class="subtle--blue">$</code> pip install <code class="subtle--blue">--upgrade</code> <strong>google-cloud</strong></pre>
1313
<h4 class="latest-release subtle" ng-if="home.latestRelease">
1414
Latest Release <a ng-href="{{home.latestRelease.link}}" class="latest-release--link white">{{home.latestRelease.name}}</a>
1515
{{home.latestRelease.date|date}}
@@ -22,7 +22,7 @@ <h4 class="latest-release subtle" ng-if="home.latestRelease">
2222
<div class="container">
2323
<ul class="featuring-links">
2424
<li>
25-
<a href="#/docs/{{home.latestRelease.name}}/gcloud" title="google-cloud-python docs" class="btn btn-docs">
25+
<a href="#/docs/{{home.latestRelease.name}}/google-cloud" title="google-cloud-python docs" class="btn btn-docs">
2626
<img src="src/images/icon-lang-python-gray.svg" alt="Python icon" />
2727
Read the Docs
2828
</a>
@@ -46,7 +46,7 @@ <h4 class="latest-release subtle" ng-if="home.latestRelease">
4646
</a>
4747
</li>
4848
<li>
49-
<a href="https://pypi.python.org/pypi/gcloud" title="google-cloud-python on pypi" class="ext-link">
49+
<a href="https://pypi.python.org/pypi/google-cloud" title="google-cloud-python on pypi" class="ext-link">
5050
<img src="src/images/icon-link-package-manager.svg" alt="pypi icon" />
5151
PyPI
5252
</a>
@@ -105,11 +105,11 @@ <h3 class="block-title">Examples</h3>
105105
<h3 class="block-title">FAQ</h3>
106106

107107
<h4>What is the relationship between the <code>google-cloud-python</code> package
108-
and the <code>gcloud</code> command-line tool?</h4>
109-
<p>Both the <code>gcloud</code> command-line tool and
108+
and the <code>google-cloud</code> command-line tool?</h4>
109+
<p>Both the <code>google-cloud</code> command-line tool and
110110
<code>google-cloud-python</code> package are a part of the Google Cloud SDK: a collection
111111
of tools and libraries that enable you to easily create and manage
112-
resources on the Google Cloud Platform. The <code>gcloud</code> command-line
112+
resources on the Google Cloud Platform. The <code>google-cloud</code> command-line
113113
tool can be used to manage both your development workflow and your
114114
Google Cloud Platform resources while the <code>google-cloud-python</code> package is the
115115
Google Cloud Client Library for Python.</p>

docs/json/json/master/index.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"description": "<div class=\"section\"><h2><code>google-cloud-python</code></h2><p>GCloud API access in idiomatic Python.</p></div>",
2+
"description": "<div class=\"section\"><h2><code>google-cloud-python</code></h2><p>Google Cloud API access in idiomatic Python.</p></div>",
33
"examples": [
44
"import google.cloud"
55
],
6-
"id": "gcloud.__init__",
6+
"id": "google.cloud.__init__",
77
"methods": [],
88
"name": "__Init__",
9-
"source": "/gcloud/__init__.py"
9+
"source": "/google/cloud/__init__.py"
1010
}

0 commit comments

Comments
 (0)