-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support to GAE Backend #41
Comments
Seems quite good... Thanks |
But I can't. I don't find the option to pull request....
|
http://help.github.com/send-pull-requests/ thanks On Mon, Feb 27, 2012 at 3:39 PM, robertowm <
|
Just committed your modifs |
I use backend instances in my project and it is a very cool feature to improve this module. I've already implemented this, changing 'commands.py'. The solution is below.
File: commands.py
Changes:
Put the commands in the array COMMANDS, line 18:
COMMANDS = ["gae:deploy", "gae:package", "gae:update_indexes", "gae:vacuum_indexes", "gae:update_queues", "gae:update_dos", "gae:update_cron", "gae:cron_info", "gae:update_backend", "gae:backend_info", "gae:request_logs"]
Put the explanations of the new commands in the array HELP, line 19:
HELP = {
'gae:deploy': "Deploy to Google App Engine",
'gae:update_indexes': "Updating Indexes",
'gae:vacuum_indexes': "Deleting Unused Indexes",
'gae:update_queues': "Managing Task Queues",
'gae:update_dos': "Managing DoS Protection",
'gae:update_cron': "Managing Scheduled Tasks : upload cron job specifications",
'gae:cron_info': "Managing Scheduled Tasks : verify your cron configuration",
'gae:update_backend': "Managing Backend Instances : update your backend configuration",
'gae:backend_info': "Managing Backend Instances : verify your backend configuration",
'gae:request_logs': "Download logs from Google App Engine",
}
Insert the following code in the end of the file (inside 'def execute(**kargs)'):
if command == "gae:update_backend":
print '
'Updating backend specifications'print '
print '~ ---------'
The text was updated successfully, but these errors were encountered: