【问题标题】:Direct download latest version of GAE SDK Python直接下载最新版GAE SDK Python
【发布时间】:2014-10-20 12:34:34
【问题描述】:

我使用 bildout 和 jenkins 构建我的 Python GAE 应用程序。

问题在于,在每个新版本之后,Google 都会移动 sdk 并从 https://storage.googleapis.com/appengine-sdks/featured/*

现在我在构建中使用硬编码的 url:

[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

有没有人可以强制每次都下载最新版本? 我正在寻找一个开箱即用的解决方案,但看起来 google 没有类似 https://storage.googleapis.com/appengine-sdks/featured/google_appengine_latest.zip

的东西

【问题讨论】:

    标签: google-app-engine jenkins buildout


    【解决方案1】:

    正如您所指出的,appfy.recipe.gae 允许您下载 Google App Engine SDK

    要下载最新版本,您必须删除URL 参数

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

    它从

    读取最新的 SDK 版本

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

    【讨论】:

    • 只是想指出,这个解决方案并不总是 100% 稳定,但它是目前可用的最佳选择。
    • 您好,您在使用该食谱时有时会遇到什么问题?
    • 配方使用的 xml 有一个未公开的 SDK 版本(但在上面列出)
    猜你喜欢
    • 2023-03-03
    • 1970-01-01
    • 1970-01-01
    • 2014-09-18
    • 1970-01-01
    • 2012-11-07
    • 1970-01-01
    • 2015-03-29
    • 1970-01-01
    相关资源
    最近更新 更多