Olical / depot

Find newer versions of your dependencies in your deps.edn file
https://clojars.org/olical/depot
The Unlicense
258 stars 14 forks source link

Failure on git/url (no known relationship between git versions) #38

Closed dharrigan closed 4 years ago

dharrigan commented 4 years ago

Hi,

 :outdated-update {:extra-deps {olical/depot {:mvn/version "RELEASE"}}
                    :main-opts ["-m" "depot.outdated.main" "--update"]}

and clojure -A:outdated-update

Using latest, I receive this stack:

{:clojure.main/message
 "Execution error (ExceptionInfo) at clojure.tools.deps.alpha.extensions.git/eval972$fn (git.clj:67).\nNo known relationship between git versions\n",
 :clojure.main/triage
 {:clojure.error/class clojure.lang.ExceptionInfo,
  :clojure.error/line 67,
  :clojure.error/cause "No known relationship between git versions",
  :clojure.error/symbol
  clojure.tools.deps.alpha.extensions.git/eval972$fn,
  :clojure.error/source "git.clj",
  :clojure.error/phase :execution},
 :clojure.main/trace
 {:via
  [{:type java.util.concurrent.ExecutionException,
    :message
    "clojure.lang.ExceptionInfo: No known relationship between git versions {:x {:git/url \"https://github.com/juxt/aero.git\", :sha \"5783fc8527ed16668573a5ef82cbf9e98b5201ad\"}, :y {:git/url \"https://github.com/juxt/aero.git\", :sha \"eecf3f1cc9b9a855b796bb1d90bcb6bb5dcc04e0\"}}",
    :at [java.util.concurrent.FutureTask report "FutureTask.java" 122]}
   {:type clojure.lang.ExceptionInfo,
    :message "No known relationship between git versions",
    :data
    {:x
     {:git/url "https://github.com/juxt/aero.git",
      :sha "5783fc8527ed16668573a5ef82cbf9e98b5201ad"},
     :y
     {:git/url "https://github.com/juxt/aero.git",
      :sha "eecf3f1cc9b9a855b796bb1d90bcb6bb5dcc04e0"}},
    :at
    [clojure.tools.deps.alpha.extensions.git$eval972$fn__975
     invoke
     "git.clj"
     67]}],
  :trace
  [[clojure.tools.deps.alpha.extensions.git$eval972$fn__975
    invoke
    "git.clj"
    67]
   [clojure.lang.MultiFn invoke "MultiFn.java" 244]
   [depot.outdated$eval1393$fn__1394 invoke "outdated.clj" 93]
   [clojure.lang.MultiFn invoke "MultiFn.java" 239]
   [depot.outdated$current_latest_map invokeStatic "outdated.clj" 102]
   [depot.outdated$current_latest_map invoke "outdated.clj" 98]
   [depot.outdated.update$new_versions$fn__4093 invoke "update.clj" 22]
   [clojure.core$pmap$fn__8462$fn__8463 invoke "core.clj" 7022]
   [clojure.core$binding_conveyor_fn$fn__5754 invoke "core.clj" 2030]
   [clojure.lang.AFn call "AFn.java" 18]
   [java.util.concurrent.FutureTask run "FutureTask.java" 264]
   [java.util.concurrent.ThreadPoolExecutor
    runWorker
    "ThreadPoolExecutor.java"
    1128]
   [java.util.concurrent.ThreadPoolExecutor$Worker
    run
    "ThreadPoolExecutor.java"
    628]
   [java.lang.Thread run "Thread.java" 834]],
  :cause "No known relationship between git versions",
  :data
  {:x
   {:git/url "https://github.com/juxt/aero.git",
    :sha "5783fc8527ed16668573a5ef82cbf9e98b5201ad"},
   :y
   {:git/url "https://github.com/juxt/aero.git",
    :sha "eecf3f1cc9b9a855b796bb1d90bcb6bb5dcc04e0"}}}}

Here is an example deps.edn

{:paths ["src" "resources"]
 :deps {org.clojure/clojure {:mvn/version "1.10.1"}
        aero {:git/url "https://github.com/juxt/aero.git"
              :sha "5783fc8527ed16668573a5ef82cbf9e98b5201ad"}}}
Olical commented 4 years ago

Hmm this doesn't look great, sorry for the inconvenience and thanks for the report! I'll try to look into it soon.

On Mon, 30 Dec 2019, 14:08 David Harrigan, notifications@github.com wrote:

Hi,

Using latest, I receive this stack:

{:clojure.main/message "Execution error (ExceptionInfo) at clojure.tools.deps.alpha.extensions.git/eval972$fn (git.clj:67).\nNo known relationship between git versions\n", :clojure.main/triage {:clojure.error/class clojure.lang.ExceptionInfo, :clojure.error/line 67, :clojure.error/cause "No known relationship between git versions", :clojure.error/symbol clojure.tools.deps.alpha.extensions.git/eval972$fn, :clojure.error/source "git.clj", :clojure.error/phase :execution}, :clojure.main/trace {:via [{:type java.util.concurrent.ExecutionException, :message "clojure.lang.ExceptionInfo: No known relationship between git versions {:x {:git/url \"https://github.com/juxt/aero.git\", :sha \"5783fc8527ed16668573a5ef82cbf9e98b5201ad\"}, :y {:git/url \"https://github.com/juxt/aero.git\", :sha \"eecf3f1cc9b9a855b796bb1d90bcb6bb5dcc04e0\"}}", :at [java.util.concurrent.FutureTask report "FutureTask.java" 122]} {:type clojure.lang.ExceptionInfo, :message "No known relationship between git versions", :data {:x {:git/url "https://github.com/juxt/aero.git", :sha "5783fc8527ed16668573a5ef82cbf9e98b5201ad"}, :y {:git/url "https://github.com/juxt/aero.git", :sha "eecf3f1cc9b9a855b796bb1d90bcb6bb5dcc04e0"}}, :at [clojure.tools.deps.alpha.extensions.git$eval972$fn975 invoke "git.clj" 67]}], :trace [[clojure.tools.deps.alpha.extensions.git$eval972$fn975 invoke "git.clj" 67] [clojure.lang.MultiFn invoke "MultiFn.java" 244] [depot.outdated$eval1393$fn__1394 invoke "outdated.clj" 93] [clojure.lang.MultiFn invoke "MultiFn.java" 239] [depot.outdated$current_latest_map invokeStatic "outdated.clj" 102] [depot.outdated$current_latest_map invoke "outdated.clj" 98] [depot.outdated.update$new_versions$fn4093 invoke "update.clj" 22] [clojure.core$pmap$fn8462$fn8463 invoke "core.clj" 7022] [clojure.core$binding_conveyor_fn$fn5754 invoke "core.clj" 2030] [clojure.lang.AFn call "AFn.java" 18] [java.util.concurrent.FutureTask run "FutureTask.java" 264] [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1128] [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 628] [java.lang.Thread run "Thread.java" 834]], :cause "No known relationship between git versions", :data {:x {:git/url "https://github.com/juxt/aero.git", :sha "5783fc8527ed16668573a5ef82cbf9e98b5201ad"}, :y {:git/url "https://github.com/juxt/aero.git", :sha "eecf3f1cc9b9a855b796bb1d90bcb6bb5dcc04e0"}}}}```

Here is an example deps.edn

{:paths ["src" "resources"]

:deps {org.clojure/clojure {:mvn/version "1.10.1"} aero {:git/url "https://github.com/juxt/aero.git" :sha "5783fc8527ed16668573a5ef82cbf9e98b5201ad"}}}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Olical/depot/issues/38?email_source=notifications&email_token=AACM6XPZVZEW22W6UJD6U3TQ3H6HJA5CNFSM4KBM4MV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDLEPJQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACM6XIZD6UFXGJ7KAIN4KTQ3H6HJANCNFSM4KBM4MVQ .

Olical commented 4 years ago

Sorry about the delay, out of interest can you reproduce this by using the master commit? If this is no longer relevant and you've moved on, no problem!

dharrigan commented 4 years ago

Closing for now. Will re-open if I encounter again.