我正在尝试在heroku上部署一个plone,但我得到了一些未发布的包。然后,我使用mr.developer通过buildout来开发它们。
我使用这个构建包https://github.com/plone/heroku-buildpack-plone,然后我的buildout在heroku上很好地启动了,但是当mr.developer试图签出我的包时,我得到了一个错误。
我错过了什么吗?或者有没有使用buildout部署未发布的包的替代方案?
下面是错误:
-----> 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谢谢
发布于 2014-11-14 17:39:33
根据mr.developer:git子模块初始化失败。由于heroku supports submodules ,您可能需要修复您的用户名和密码;可能是通过“将用户名和密码嵌入到存储库URL中”:
发布于 2014-11-14 22:12:02
我找到了解决方案,简单的说就是'http‘版本的源码。
然后:
[sources]
ipplf.core = git http://github.com/schminitz/ipplf.core.githttps://stackoverflow.com/questions/26911764
复制相似问题