<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">We do something similar to this in Mirage via a custom remote:<div class=""><br class=""></div><div class="">    <a href="https://github.com/mirage/mirage-dev" class="">https://github.com/mirage/mirage-dev</a></div><div class=""><br class=""></div><div class="">And a cron job that builds packages from this remote regularly:</div><div class=""><br class=""></div><div class="">   <a href="https://github.com/mirage/is-mirage-broken" class="">https://github.com/mirage/is-mirage-broken</a></div><div class=""><br class=""></div><div class="">It uses Docker images to perform the rebuilds, but you could use anything that can construct an appropriate requirement.</div><div class=""><br class=""></div><div class="">That should cover all of the points below except 4).  You can do that in OPAM 1.2 via "opam list --depends-on cohttp --rec" (in this example, to find all the reverse dependencies of cohttp recursively).</div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class=""><br class=""></div><div class="">-anil</div><div class=""><br class=""></div><div class=""><div class=""><div><blockquote type="cite" class=""><div class="">On 5 Nov 2014, at 00:19, Sylvain Le Gall <<a href="mailto:sylvain@le-gall.net" class="">sylvain@le-gall.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<div class=""><br class=""></div><div class="">I have several projects that depends on each other and I would like to create an overall Jenkins jobs that will build all these projects with their VCS version and measure how much breakage will introduce a change.</div><div class=""><br class=""></div><div class="">What I would like:</div><div class="">1. gather project sources:</div><div class="">  a. checkout a project</div><div class="">  b. create an OPAM package</div><div class="">  c. inject the package in a local repository</div><div class="">  d. repeat for every project</div><div class="">2. mix the locally created repository with the official OPAM repository</div><div class="">3. build/test/install projects in order and report results at each step</div><div class="">4. build/test direct reverse dependencies of the projects</div><div class=""><br class=""></div><div class="">I know that they are a lot of missing pieces and I don't really think that OPAM should handle this kind of test. I would just like to build a tool that can do it for me.</div><div class=""><br class=""></div><div class="">Is there any already existing scripts that do something close to that ?</div><div class=""><br class=""></div><div class="">Have you any hint on how to build this kind of tools ?</div><div class=""><br class=""></div><div class="">Thanks in advance</div><div class="">Sylvain Le Gall</div><div class=""><br class=""></div>
_______________________________________________<br class="">opam-devel mailing list<br class=""><a href="mailto:opam-devel@lists.ocaml.org" class="">opam-devel@lists.ocaml.org</a><br class="">http://lists.ocaml.org/listinfo/opam-devel<br class=""></div></blockquote></div><br class=""></div></div></body></html>