Skip to content

Commit

Permalink
update .gcloudignore files & Blobstore/GCS READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
wescpy committed Sep 15, 2022
1 parent 22efc23 commit 7bd35d9
Show file tree
Hide file tree
Showing 26 changed files with 11 additions and 27 deletions.
1 change: 0 additions & 1 deletion mod0-baseline/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod1-flask/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod11-functions/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod12-memcache/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod12b-memcache/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod13a-memorystore/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod13b-memorystore/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
4 changes: 3 additions & 1 deletion mod15-blobstore/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#
.gcloudignore

# Special files in this dir
main-gcs.py

# Source code control files
.git/
.gitignore
Expand All @@ -20,7 +23,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
2 changes: 1 addition & 1 deletion mod15-blobstore/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Module 15 - Add usage of App Engine `blobstore` to `webapp2 ndb` sample app

This repo folder is the corresponding code to the (forthcoming) Module 15 codelab. The tutorial STARTs with the Python 2 code in the [Module 0 repo folder](/mod0-baseline) and leads developers through adding use of App Engine `blobstore`. Unlike other sample apps, this does not use the default Django templating system, but instead, uses Jinja2, which is supported in `webapp2_extras`.
This repo folder is the corresponding code to the [Module 15 codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-15-blobstore?utm_source=codelabs&utm_medium=et&utm_campaign=CDR_wes_aap-serverless_mgrblobstore_sms_202029&utm_content=-). The tutorial STARTs with the Python 2 code in the [Module 0 repo folder](/mod0-baseline) and leads developers through adding use of App Engine `blobstore`, resulting in the code in _this_ folder. Unlike other sample apps, this does not use the default Django templating system, but instead, uses Jinja2, which is supported in `webapp2_extras`.

Blobstore evolved into [Google Cloud Storage](https://cloud.google.com/storage), and all blobs/files created using the Blobstore API go into the default Cloud Storage bucket for your project. It's named the same as the `appspot` domain name given to your app. For example, if your project is named `my-project`, your default bucket would be `my-project.appspot.com`. The default GCS bucket name is programmatically accessible via `google.appengine.api.app_identity.get_default_gcs_bucket_name()`.

Expand Down
4 changes: 3 additions & 1 deletion mod16-cloudstorage/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#
.gcloudignore

# Special files in this dir
main-migrate.py

# Source code control files
.git/
.gitignore
Expand All @@ -20,7 +23,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
2 changes: 1 addition & 1 deletion mod16-cloudstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Migrations

This repo folder is the corresponding code to the [Module 16 codelab](http://g.co/codelabs/pae-migrate-blobstore). The tutorial STARTs with the Python 2 code in the [Module 15 repo folder](/mod15-blobstore) and leads developers through a set of migrations, culminating in the code in this folder. In addition to migrating to Cloud Storage, a few others are done to get from Modules 15 to 16... here is the complete list:
This repo folder is the corresponding code to the [Module 16 codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-16-cloudstorage?utm_source=codelabs&utm_medium=et&utm_campaign=CDR_wes_aap-serverless_mgrcloudstorage_sms_202029&utm_content=-). The tutorial STARTs with the Python 2 code in the [Module 15 repo folder](/mod15-blobstore) and leads developers through a set of migrations, culminating in the code in _this_ folder. In addition to migrating to Cloud Storage, a few others are done to get from Modules 15 to 16... here is the complete list:

1. Migrate from App Engine `webapp2` to Flask
1. Migrate from App Engine `ndb` to Cloud NDB
Expand Down
1 change: 0 additions & 1 deletion mod18-gaepull/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
5 changes: 3 additions & 2 deletions mod19-pubsub/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#
.gcloudignore

# Special files in this dir
maker.py

# Source code control files
.git/
.gitignore
Expand All @@ -20,8 +23,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
maker.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod1b-flask/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod2a-cloudndb/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod2b-cloudndb/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod3a-datastore/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod3b-datastore/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod4a-rundocker/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod4b-rundocker/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod5-runbldpks/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod6-firestore/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod7-gaetasks/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod7b-gaetasks/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod8-cloudtasks/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down
1 change: 0 additions & 1 deletion mod9-py3dstasks/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ LICENSE

# Tests/results (not in .gitignore)
noxfile.py
test_translate.py
pylintrc
pylintrc.test

Expand Down

0 comments on commit 7bd35d9

Please sign in to comment.