caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Use opam to pull source and pin locally
@ 2015-03-18 20:57 Kenneth Adam Miller
  2015-03-18 21:03 ` Daniel Bünzli
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth Adam Miller @ 2015-03-18 20:57 UTC (permalink / raw)
  To: caml users

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

I need to edit a package that is in the opam repositories already. I want
the edit to correspond to a minor version update. I would rather not have
to clone the source manually because typically tools just tend to operate
better when you use the intended functionality that's built in.

Is there a way to tell opam to download the source from a default repo to a
specific directory, and then pin the package to that directory? I know you
can do opam pin add pkg_name ./

[-- Attachment #2: Type: text/html, Size: 520 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Use opam to pull source and pin locally
  2015-03-18 20:57 [Caml-list] Use opam to pull source and pin locally Kenneth Adam Miller
@ 2015-03-18 21:03 ` Daniel Bünzli
  2015-03-18 21:05   ` Kenneth Adam Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Bünzli @ 2015-03-18 21:03 UTC (permalink / raw)
  To: Kenneth Adam Miller; +Cc: caml users

Le mercredi, 18 mars 2015 à 21:57, Kenneth Adam Miller a écrit :
> I need to edit a package that is in the opam repositories already. I want the edit to correspond to a minor version update. I would rather not have to clone the source manually because typically tools just tend to operate better when you use the intended functionality that's built in.
>  
> Is there a way to tell opam to download the source from a default repo to a specific directory, and then pin the package to that directory? I know you can do opam pin add pkg_name ./

opam source —help maybe ?  

Best,

Daniel   



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Use opam to pull source and pin locally
  2015-03-18 21:03 ` Daniel Bünzli
@ 2015-03-18 21:05   ` Kenneth Adam Miller
  0 siblings, 0 replies; 3+ messages in thread
From: Kenneth Adam Miller @ 2015-03-18 21:05 UTC (permalink / raw)
  Cc: caml users

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

Thanks.

On Wed, Mar 18, 2015 at 5:03 PM, Daniel Bünzli <daniel.buenzli@erratique.ch>
wrote:

> Le mercredi, 18 mars 2015 à 21:57, Kenneth Adam Miller a écrit :
> > I need to edit a package that is in the opam repositories already. I
> want the edit to correspond to a minor version update. I would rather not
> have to clone the source manually because typically tools just tend to
> operate better when you use the intended functionality that's built in.
> >
> > Is there a way to tell opam to download the source from a default repo
> to a specific directory, and then pin the package to that directory? I know
> you can do opam pin add pkg_name ./
>
> opam source —help maybe ?
>
> Best,
>
> Daniel
>
>
>

[-- Attachment #2: Type: text/html, Size: 1080 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-18 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 20:57 [Caml-list] Use opam to pull source and pin locally Kenneth Adam Miller
2015-03-18 21:03 ` Daniel Bünzli
2015-03-18 21:05   ` Kenneth Adam Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).