Re: dependencies from github

2014-03-29 Thread t x
Ray, David, Aaron, Phil, dgrnbrg: Understood. Thanks for clarifying my misunderstandings! On Thu, Mar 27, 2014 at 10:39 AM, dgrnbrg dsg123456...@gmail.com wrote: Voom is a Lein plugin that lets you depend on a repository and pins you to a specific commit. It also provides tools manage

dependencies from github

2014-03-27 Thread t x
Hi, ## Context: * I'm using lein. * In my project.clj, I have something like: :dependencies[ [org.clojure/clojure 1.5.1] [org.clojure/clojurescript 0.0.-2173] [not-really-trusted-package version]] Now, I don't like pulling not-really-trusted-package, which can change

Re: dependencies from github

2014-03-27 Thread Ray Miller
Have you considered pushing your build of the package to Clojars under the org.clojars.USERNAME group? Ray. On 27 March 2014 09:16, t x txrev...@gmail.com wrote: Hi, ## Context: * I'm using lein. * In my project.clj, I have something like: :dependencies[ [org.clojure/clojure

Re: dependencies from github

2014-03-27 Thread David Powell
If you checkout the package to checkouts/not-really-trusted-package, then that version will automatically be used instead. https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies -- Dave On Thu, Mar 27, 2014 at 9:16 AM, t x txrev...@gmail.com wrote: Hi,

Re: dependencies from github

2014-03-27 Thread David Powell
On Thu, Mar 27, 2014 at 10:23 AM, David Powell d...@djpowell.net wrote: If you checkout the package to checkouts/not-really-trusted-package, then that version will automatically be used instead. https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies

Re: dependencies from github

2014-03-27 Thread Aaron Cohen
I think you have 1 minor misunderstanding about how lein is working here. Lein isn't checking not-really-trusted-package out of github, it's retrieving the corresponding artifact from a maven-style repository. If version doesn't end in -SNAPSHOT, then lein (deferring to the way maven works) will

Re: dependencies from github

2014-03-27 Thread Phil Hagelberg
On Thursday, March 27, 2014 7:16:36 AM UTC-7, Aaron Cohen wrote: If version doesn't end in -SNAPSHOT, then lein (deferring to the way maven works) will retrieve that dependency to your local $HOME/.m2/repository/not-really-trusted-package/version directory, and never update it again (because

Re: dependencies from github

2014-03-27 Thread dgrnbrg
Voom is a Lein plugin that lets you depend on a repository and pins you to a specific commit. It also provides tools manage systems spanning multiple repos. You can find it here: https://github.com/LonoCloud/lein-voom and see the video from clojure/west here: