【问题标题】:Heroku with plone and mr.developerHeroku 与 plone 和 mr.developer
【发布时间】: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-link buildout 部分?跨度>
  • 好吧,我不想失去开发包的灵活性。但如果我没有找到解决该特定问题的方法,我想这就是我要做的。
  • 是的,这是一个很好的反对意见。

标签: python heroku plone buildout


【解决方案1】:

根据 mr.developer:git submodule init failed。因为heroku supports submodules ,你可能需要修复你的;可能通过“将用户名和密码嵌入(ding)到存储库 URL”:

【讨论】:

    【解决方案2】:

    我找到了解决办法,干脆把'http'版本的源码工程。

    然后:

    [sources]
    ipplf.core = git http://github.com/schminitz/ipplf.core.git
    

    【讨论】:

    • 很好,所以我们也可以在完整的开发者模式下使用heroku
    猜你喜欢
    • 2013-03-09
    • 1970-01-01
    • 1970-01-01
    • 2011-02-23
    • 1970-01-01
    • 2014-06-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多