I reckon this has been asked many times, and the general answer is
that we should use a code revision or backup tool.
I recently got my laptop stolen, and hadn't been careful enough with
my backups. Can somebody at Google help me recover my code?
I found a tricky way to do this, but I am afraid I did not have the
remote api handlers installed.
- http://stackoverflow.com/questions/2479087/can-i-restore-my-source-code-that-has-been-uploaded-into-google-appengine/
How does one install remote api handlers? Is there a way I can install
the remote api handler without overwriting my app code?
I tried to create a new empty version of my app and added
handlers:
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
to app.yaml, as instructed in
- http://code.google.com/appengine/articles/remote_api.html
but I get 404 error when trying to use remote_api_shell.py
Thank you for your help.
appcfg.py will only upload the changed files.It first collects hash-md5 values for all files that are part of theapplication.Sends these hash values to the server, in filename-hash combos.The server returns the filenames it does not have, in any of theversions of the app.Then appcfg.py uploads these files.....
...So, I have edited alittle code of appcfg.py to solve this issue....
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Hi,I will have to let you know of a possibility of a loophole, so that it can be fixed my Google App Engine developers - which has been of concern to me for some time now.This thread here talks about uploading a part of the application..djidjadji writes :appcfg.py will only upload the changed files.It first collects hash-md5 values for all files that are part of theapplication.Sends these hash values to the server, in filename-hash combos.The server returns the filenames it does not have, in any of theversions of the app.Then appcfg.py uploads these files.....thanhnv says :...So, I have edited alittle code of appcfg.py to solve this issue....Reading this, I believe it should be possible to hack with appcfg.py (under google/appengine/tools/appcfg.py) and make it upload part of the file - specifically a new version of app.yaml with just the code to enable the downloading of source files - either in the approach Nick Johnson has mentioned in the StackOverFlow article or if you search around, you should be able to find request handler code to do that specifically.After this partial deployment, you should have the version with the old files residing along with the new set of files to download the source files and with the new app.yaml to trigger that download code.