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 retrieve that dependency to your local $HOME/.m2/repository/not-really-trusted-package/version directory, and never update it again (because it doesn't have a SHAPSHOT suffix). In addition, all of the repositories that lein is configured with by default have a policy of never updating non-SNAPSHOT versions, so it's not really possible for that artifact to change out from under you. That's the whole point of the maven/lein "repeatable builds" philosophy. --Aaron On Thu, Mar 27, 2014 at 5:16 AM, t x <txrev...@gmail.com> wrote: > 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 under me. Instead I'd prefer to: > > (1) git fork the not-really-trusted package to > github/txrev319/not-really-trusted > (2) have lein pull from github/txrev319/not-really-trusted > > ## Question: > > How do I achieve the above? > > Thanks! > > (I still don't trust the package, but atleast I want to use the same > untrusted package every time.) > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.