<div dir="ltr">Thanks Louis. It would make sense for all this to be in a repo `<a href="http://opam.ocaml.org">opam.ocaml.org</a>` under the GitHub `ocaml` account. You could include the scripts and documentation in one place.<div>

<br></div><div>The particular reason I was asking is I wanted to submit a few issues and didn't know where to go. Here are they are:<div><br></div><div>* Make design consistent with <a href="http://ocaml.org">ocaml.org</a>. The opam subdomain is now very integrated into <a href="http://ocaml.org">ocaml.org</a> from an end-user perspective. Yaron reported [1] that it is jarring to have such a different design. Also, within the opam subdomain, the front page and opam.o.o/pkg/ pages have a different design. Ideally, all of *.<a href="http://ocaml.org">ocaml.org</a> pages would use the main <a href="http://ocaml.org">ocaml.org</a> style sheets.</div>

<div><br></div><div>* Use same Google Analytics account. Right now <a href="http://ocaml.org">ocaml.org</a> and <a href="http://opam.ocaml.org">opam.ocaml.org</a> use different tracking accounts. Anil recommended [2] that we use the same code for all *.<a href="http://ocaml.org">ocaml.org</a> domains.</div>

<div><br></div><div>[1] <a href="https://github.com/ocaml/ocaml.org/issues/218">https://github.com/ocaml/ocaml.org/issues/218</a><br><div><div>[2] <a href="https://github.com/ocaml/ocaml.org/issues/242#issuecomment-28313040">https://github.com/ocaml/ocaml.org/issues/242#issuecomment-28313040</a></div>

<div><br></div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 4:58 AM, Louis Gesbert <span dir="ltr"><<a href="mailto:louis.gesbert@ocamlpro.com" target="_blank">louis.gesbert@ocamlpro.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:'Monospace';font-size:8pt;font-weight:400;font-style:normal"><div class="im">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> Where is the repo implementing <a href="http://opam.ocaml.org" target="_blank">opam.ocaml.org</a>? I understand that opam2web</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> is used, but there must be additional scripts and content on top of that</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> specifically for <a href="http://opam.ocaml.org" target="_blank">opam.ocaml.org</a>.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Right, this is probably a good time to document the layout a little bit.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://opam.ocaml.org" target="_blank">opam.ocaml.org</a> is hosted on a Debian VM ; Anil, Thomas and I have accounts there, but everything of interest is in an 'opam' account:</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> ~opam</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |-- git</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |   |-- opam     (auto-updated, reset, complied and installed every night)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |   |-- opam2web (auto-updated, reset, complied and installed every night)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |   `-- scripts  (version-controlled but without a master upstream atm. No auto-update)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |-- local        (where the above are installed)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |   |-- bin</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |   `-- share</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |-- var</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |   `-- log      (holds both the apache logs and cron logs)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |-- www          (currently deployed opam web. Rebuilt every hour)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> |-- www-bak      (previous version)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> `-- www-new      (version currently being built by the scripts, swapped with www once done)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">The scripts include a cron wrapper that fills the logs and reports failures by mail to opam-commits@, a script that synchronises sources with git remotes, and a script that synches the opam repo and web. Should I share them on github ? On a private ocaml repo ?</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">The crontab is as follows:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> # m h  dom mon dow   command</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">   0 2  *   *   *     /home/opam/local/bin/cron-wrapper.sh update-opam update-from-git.sh opam</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">   0 3  *   *   *     /home/opam/local/bin/cron-wrapper.sh update-opam2web update-from-git.sh opam2web</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">  15 *  *   *   *     /home/opam/local/bin/cron-wrapper.sh update-opam-repo update-opam-repo.sh</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Cheers,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Louis</p></div></blockquote></div><br></div>