Thanks Josh, I didn't think the source for this was available as 'appcfg.py 
download_app' is purposely blocked for 'ah-builtin-python-bundle', but it 
was right in the SDK all along! 

Although restoring to 'ah-builtin-python-bundle' won't work due to 
'ah-builtin' being a reserved version name prefix (the console button will 
remain broken), you can still restore to a different version and access the 
datastore admin functionality that way. The source is available in the App 
Engine Python SDK under $GAE_SDK_PATH/google/appengine/ext/datastore_admin 
or in the Google Cloud SDK under 
$CLOUD_SDK_PATH/platform/google_appengine/google/appengine/ext/datastore_admin. 
You can add a simple app.yaml to deploy:

    application: my-project-id
    version: datastore-admin
    runtime: python27
    api_version: 1
    threadsafe: yes

    handlers:
    - url: .*
      script: main.APP

On Friday, April 29, 2016 at 3:04:18 PM UTC-4, joshuamo wrote:
>
> For anyone who is or has been affected by an accidental deletion of 
> datastore admin, a workaround is to deploy datastore admin as a separate 
> version or module of your app.  The code for datastore admin is provided in 
> the Cloud SDK:  $CLOUD_SDK_PATH/google/appengine/ext/datastore_admin
>
>
>
> On Fri, Apr 29, 2016 at 10:45 AM, Michael Steurer wrote:
>
>> Adam,
>> unfortunately the 'ah-builtin-python-bundle'  is visible under 
>> 'Versions'. At least it was visible for me in the afternoon - now it 
>> disappeared again. I can provide you with a screenshot if you like. From my 
>> perspective this looks like a bug in Console.
>>
>> Cheers Michael
>>
>> On Wednesday, April 27, 2016 at 11:12:33 PM UTC+2, Christian F. Howes 
>> wrote:
>>>
>>> Adam,
>>>
>>> since this is a required version for administering our applications, can 
>>> Google put in safeties to prevent it from being deleted?  It's pretty scary 
>>> that it can accidently be deleted and not be re-created.
>>>
>>> thanks,
>>>
>>> christian 
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/f52a0a5f-f722-4f97-80ed-9b1db0a0ca0e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/f52a0a5f-f722-4f97-80ed-9b1db0a0ca0e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Josh Moore |  Cloud Solutions Engineer |  joshu...@google.com |  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3d432e14-0c9b-4d01-974e-8d8287401043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to