Heroku with plone and mr.developer

199 views Asked by At

I am trying to deploy a plone on heroku, but I got some unreleased packages. I then use mr.developer to develop them with the buildout.

I use this buildpack https://github.com/plone/heroku-buildpack-plone then my buildout is well launched on heroku, but I got an error when mr.developer is trying to checkout my package.

Did I miss something? Or is there an alternative to deploy unreleased package with buildout?

Here is the error:

-----> 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

Here is what the important lines in my buildout.cfg looks like:

[buildout]
extensions = mr.developer

auto-checkout =
  ipplf.core

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

Thanks

2

There are 2 answers

0
aclark On

According to mr.developer: git submodule init failed. Since heroku supports submodules , you probably need to fix yours; possibly by "embed(ding) the username and password into the repository URL":

1
Schminitz On

I found the solution, simply put the 'http' version of the source works.

Then:

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