Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I work on mutlirepos and i really dislike gits subtree, subrepo i use https://pypi.org/project/zc.buildout/. Yes i know i can do [1]. But editing on multirepos at the same time i can only do with zc.buildout [2] Still not perfect but it does the job.

[1]

   $ cat req.txt
   requests
   git+ssh://git@gitlab.com/foo/bar/amber.git@0.4.0
   git+ssh://git@gitlab.com/foo/bar/rebam.git@0.4.0
[2]

   $ cat buildout.cfg
   [buildout]
   extends = versions.cfg
   extensions = mr.developer
   auto-checkout = \*
   develop = .
   show-picked-versions = true
   update-versions-file = versions.cfg
   sources-dir = git-sources

   parts = py

   eggs = 
       amber
       rebam
       hammer

   [sources]
   amber = git git@gitlab.com/foo/bar/amber.git@0.4.0
   rebma = git git@gitlab.com/foo/bar/rebma.git@0.4.0

   [py]
   recipe = zc.recipe.egg
   eggs =
       ${buildout:eggs}
   interpreter = py-backend
   dependent-scripts = true


Ah, I haven't used buildout in years (I remember using it a lot when working with Plone).

I used it for a personal project but gave up a few years ago as some piece of the puzzle seemed broken and abandoned (something hadn't been updated to use a newer version of TLS or something).

I liked buildout though - it was a good system with its bin directory.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: