 
 
 ;; === build-deps ===
+
+(defn ensure-deps-repos
+  "Ensures that any repos, mentioned in dependency metadata, are
+   cloned locally."
+  [deps]
+  (doseq [dep deps
+          :let [dep-meta-repo (-> dep meta :voom :repo)]
+          :when dep-meta-repo]
+    (ensure-repo dep-meta-repo)))
 
 (defn resolve-artifact
   "Build and install given artifact using git. Return value is


  Example: lein voom freshen"
  [project]
  (p-repos (fn [p] (fetch-all [p]) (tag-repo-projects p)))
  (let [prj-file-name (str (:root project) "/project.clj")
        old-deps (:dependencies project)

  (newline))

(defn fresh-version [[prj ver :as dep]]
  (let [voom-meta (-> dep meta :voom)
        ver-spec (or (:version voom-meta)
                     (re-find #"^[^.]+." ver))
        groups (->> (newest-voom-ver-by-spec prj (merge voom-meta {:version ver-spec
