简体   繁体   English

既然 appcfg 不见了,就从 app_engine 下载源代码?

[英]Download source code from app_engine now that appcfg is gone?

We have hit an issue where our dependencies weren't locked and now we think a sub-dependency has been changed, causing issues in our application.我们遇到了一个问题,即我们的依赖项没有被锁定,现在我们认为子依赖项已被更改,从而导致我们的应用程序出现问题。 I want to download the node_modules from app_engine for the functioning deployed code, but I have hit a number of issues:我想从 app_engine 下载 node_modules 以获取运行中的部署代码,但我遇到了许多问题:

  1. The old way of doing this, appcfg, is deprecated and the download_app functionality is entirely gone.旧方法 appcfg 已被弃用,并且 download_app 功能完全消失。
  2. The source tool in app engine's versions doesn't let you download the code--only see the raw text.应用引擎版本中的源工具不允许您下载代码——只能看到原始文本。 The issue with that is there are hundreds, if not thousands, of packages installed so this is not a practical solution to do manually.问题是安装了数百个(如果不是数千个)软件包,因此这不是手动执行的实用解决方案。

The best solution I can think of here is to scrape the page and download everything, but I'm hoping there is a better solution.我在这里能想到的最佳解决方案是抓取页面并下载所有内容,但我希望有更好的解决方案。

每个已部署构建的工件都存储在 GCS 中,进入GCS 浏览器,找到一个名称中包含artifacts的存储桶,其中包含您之前的所有构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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