【发布时间】:2014-11-13 14:55:17
【问题描述】:
我正在尝试在 heroku 上部署一个 plone,但我得到了一些未发布的软件包。然后我使用 mr.developer 通过 buildout 开发它们。
我使用这个 buildpack https://github.com/plone/heroku-buildpack-plone 然后我的 buildout 在 heroku 上启动良好,但是当 mr.developer 尝试检查我的包时出现错误。
我错过了什么吗?或者有没有替代方案来部署未发布的包?
这是错误:
-----> Run bin/buildout -c heroku.cfg
Getting distribution for 'mr.developer==1.31'.
Got mr.developer 1.31.
mr.developer: Creating missing sources dir /tmp/build_c5c2025ff75d0cb4931f9747e9290849/devel.
mr.developer: Queued 'ipplf.core' for checkout.
mr.developer: Cloned 'ipplf.core' with git.
mr.developer: git submodule init failed.
mr.developer:
mr.developer: There have been errors, see messages above.
! Push rejected, failed to compile Plone app
我的 buildout.cfg 中的重要行如下所示:
[buildout]
extensions = mr.developer
auto-checkout =
ipplf.core
[sources]
ipplf.core = git git://github.com/affinitic/ipplf.core.git
谢谢
【问题讨论】:
-
我没有得到你的问题的具体答案,你为什么不简单地在 github 上发布一个版本,在那里托管你的开发鸡蛋并将它添加到你的
find-linkbuildout 部分?跨度> -
好吧,我不想失去开发包的灵活性。但如果我没有找到解决该特定问题的方法,我想这就是我要做的。
-
是的,这是一个很好的反对意见。
标签: python heroku plone buildout