Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: doc/source/structure.rst

Issue 725843004: DOC: added appengine.rst (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebased and fixed case Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « doc/source/index.rst ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/source/structure.rst
diff --git a/doc/source/structure.rst b/doc/source/structure.rst
index 9deb53363d65d23f96bbc93458ece1c05583ebc7..e5fa47883212def87201e221461989e6ba6b05e7 100644
--- a/doc/source/structure.rst
+++ b/doc/source/structure.rst
@@ -42,13 +42,16 @@ infra/services/
appengine/ and appengine_modules/
---------------------------------
-appengine/ should only contain appengine applications (i.e. directories
-containing an app.yaml file), appengine_modules/ should contain python packages
-that can be shared between appengine apps. The correct way to use one of them is
-to symlink the directory inside the application directory.
+``appengine/`` is meant to contain appengine applications, one per directory
+(the testing framework relies on this assumption to list all tests).
+To be consistent with appengine principles, each of these directories must
+contain everything it needs to work. Code shared between several applications
+should live in ``appengine_modules/`` and be symlinked into each application
+directory that need it.
Example: the `myapp` application should live in `appengine/myapp`. To use
`appengine_module/testing_utils`, create a symlink to it in
`appengine/myapp/testing_utils`. The name should remain the same as Python
relies on directory names for its import system.
+For more details, see :doc:`appengine`
« no previous file with comments | « doc/source/index.rst ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698