<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 23, 2014 at 10:42 AM, Thomas Gazagnaire <span dir="ltr"><<a href="mailto:thomas.gazagnaire@gmail.com" target="_blank">thomas.gazagnaire@gmail.com</a>></span> wrote:<br>

<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>That's very weird. Where did you find that email address ???</div>

</div></blockquote><div><br></div><div>Seems I'm wrong. It was decided to use only opam-devel for both user and devel questions:</div><div><a href="https://sympa.inria.fr/sympa/arc/caml-list/2013-03/msg00023.html">https://sympa.inria.fr/sympa/arc/caml-list/2013-03/msg00023.html</a><br>

</div><div><br></div><div>Thus, cc'ing opam-devel now. I guess <span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><a href="mailto:opam-users@inria.fr">opam-users@inria.fr</a> should be shut down. That would have given me an undeliverable error (though I got lucky and you somehow found this message anyway).</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div style="word-wrap:break-word"><div>that should be asdf/opam/{opam,url,descr}</div></div></blockquote><div><br></div><div>It still doesn't work:</div><div><div><br></div><div>$ opam repository add asdf-dev git@github.com:agarwal/asdf.git</div>

<div>asdf-dev   Fetching git@github.com:agarwal/asdf.git</div><div>Updating ~/.opam/repo/compiler-index ...</div><div>Updating ~/.opam/compilers/ ...</div><div>Updating ~/.opam/repo/package-index ...</div><div>Updating ~/.opam/packages/ ...</div>

<div>Updating the cache of metadata (~/.opam/state.cache) ...</div><div><br></div><div>$ opam info asdf</div><div>[ERROR] No packages found.</div><div>'/Users/ashish/usr/ocaml/4.01.0/bin/opam info asdf' failed.</div>

</div><div><br></div><div><br></div><div>Also, with this, how does opam know what version to assign the package?</div><div><br></div><div><br></div><div><br></div><div>On Wed, Jan 22, 2014 at 2:23 PM, Ashish Agarwal <span dir="ltr"><<a href="mailto:agarwal1975@gmail.com" target="_blank">agarwal1975@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">During development of a repository foo, I often like to create within that repo an opam-repo. I'll have something like this:<div>

<br></div><div>foo/opam-repo/packages/foo/foo.master</div><div><br></div><div>With a local copy of foo, I can now do:</div><div><br></div><div>opam repository add foo-dev foo/opam-repo</div><div><br></div><div>which is nice. It let's me keep the opam package description up-to-date during rapid development of foo. However, now I'm wondering if I can refer to this sub-directory with a git URL, something like the following:</div>

<div><br></div><div>opam repository add foo-dev git@github.com:agarwal/foo/opam-repo</div><div><br></div><div>The above URL isn't valid however. Is there a way to accomplish this?</div><div><br></div><div>The workaround is easy enough. I can define this package in a dedicated git repository, like the main opam-repository. However, it is nice to keep the dev version of an opam package within the related repo.</div>

<div><br></div></div></blockquote></div></div></div></div>