                     stats (calculate-stats deps)
                     plugins-stats (calculate-stats plugins)
                     result (assoc info-map
+                             :lein? true
                              :name project-name
                              :repo-name repo-name
                              :repo-owner repo-owner

    (read-string s)))

(defn read-project-clj [repo-owner repo-name]
  (let [url (str "https://raw.github.com/" repo-owner "/" repo-name "/master/project.clj")]
    (edn/read (PushbackReader. (io/reader url)))))


(defn check-deps [deps]
  (map #(conj % (anc/artifact-outdated? % {:snapshots? false :qualified? false})) deps))

                             :stats stats
                             :plugins-stats plugins-stats)]
                (log/info "project map" result profiles)
                result)))))

(defn project-map [repo-owner repo-name]
  (let [lein-result (future (lein-project-map repo-owner repo-name))
        boot-result (future (boot-project-map repo-owner repo-name))]
    (if (nil? @lein-result)
      @boot-result
      @lein-result)))

(defn- repo-redirect [{:keys [params]}]
  (log/info params)
