[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: opam-repo-dev now less useful
On 11 Feb 2013, at 11:00, Anil Madhavapeddy wrote: > On 11 Feb 2013, at 10:27, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> > wrote: >> >> that's probably handy. also useful to be able to easily pull source for >> some/all the dependencies of a package when setting up to try and do some >> development. maybe just an easy way to output all the deps and their source >> urls? (just in case, e.g., it turns out i already have those trees -- seems >> that letting opam start to magically manage my dev environment might be a >> step too far... :) > > That's too magic for now. Once a feature goes into OPAM, it can't ever leave > easily, so minimal steps! agree :) > But some variation of `opam info lwt -f available-versions` is probably what > you want. We could expose the dependencies via that and make it suitable for > scripting. yes- just getting the data out in an easily parsable format would be sufficient... > There's a git-like extension mechanism built into OPAM, which is that 'opam > foo' will execute 'opam-foo' if the sub-command isn't known. Much of the > workflow stuff can/should be shell scripts that just call OPAM commands and > glue them together. oh, cool. that works then. -- Cheers, R. This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |