简体   繁体   中英

Direct download latest version of GAE SDK Python

I use bildout and jenkins to build my Python GAE application.

The problem is that after each new version Google moves the sdk and replaces the new one from https://storage.googleapis.com/appengine-sdks/featured/ *

Right now I use the hardcoded url in my buildout:

[gae_sdk]
# Dowloads and extracts the App Engine SDK.
recipe = appfy.recipe.gae:sdk
url = https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.12.zip
hash-name = false
destination = ${buildout:parts-directory}
clear-destination = true

Does anybody have a way to force downloading the latest version each time? I'm looking for an out-of-the-box solution but it looks like google doesn't have anything like https://storage.googleapis.com/appengine-sdks/featured/google_appengine_latest.zip

As you pointed, appfy.recipe.gae allows you to download Google App Engine SDKs

In order to download the latest version you must remove the URL parameter

:url: URL to the App Engine SDK file. Default is to download the latest version
    from storage.googleapis.com.

It reads the latest SDKs versions from

https://www.googleapis.com/storage/v1/b/appengine-sdks/o?prefix=featured

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM