4

I tried following the directions at https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Downloading_Source_Code

The download does not include the index.yaml file. Anyone know how to force download of index.yaml using appcfg, or another method?

4

1 回答 1

2

默认情况下,该index.yaml文件不包含在应用程序上传中。因此,如果您没有修改文件中的skip_files设置,app.yaml您将无法下载该index.yaml文件。

skip_files但是,您可以通过修改文件中的标签来自定义将包含的app.yaml文件。像这样的东西:

skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak$

有关 skip_files 的更多信息,请阅读:https ://developers.google.com/appengine/docs/python/config/appconfig#Skipping_Files

编辑:

要更清楚。默认情况下——index.yaml文件不包含在上传中。下载文件的唯一方法是首先对我建议的文件index.yaml进行更改。app.yaml然后,再次上传应用程序。无法下载尚未上传的文件。

于 2012-08-16T02:26:35.087 回答