bbin install <non raw gist link> does not work
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start by reproducing the reported bbin install command with the non-raw gist URL and compare it with the raw URL that works. Inspect the install dispatch around the reported bbin line 629 and trace how gist URLs are classified; done means non-raw gist links install successfully without breaking raw links.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
bbin install currently does not seem to work with non-raw gist links. It might be a nice convenience feature to add such capability.
I tried to run bbin with a non-raw gist link: bbin install https://gist.github.com/chase-lambert/c5533d8e8fbb71268a25e83ecf8e3cc6 but got the following error:
----- Error --------------------------------------------------------------------
Type: clojure.lang.ExceptionInfo
Message: Invalid script coordinates.
If you're trying to install from the filesystem, make sure the path actually exists.
Data: {:script/lib "https://gist.github.com/chase-lambert/c5533d8e8fbb71268a25e83ecf8e3cc6", :procurer :http, :artifact :unknown-artifact}
Location: /home/chase/.babashka/bbin/bin/bbin:629:11
----- Context ------------------------------------------------------------------
625: [:local :dir] (install-deps-git-or-local cli-opts' summary)
626: [:local :file] (install-local-script cli-opts')
627: [:local :jar] (install-local-jar cli-opts')
628: [:maven :jar] (install-deps-maven cli-opts')
629: (throw (ex-info "Invalid script coordinates.\nIf you're trying to install from the filesystem, make sure the path actually exists."
^--- Invalid script coordinates.
If you're trying to install from the filesystem, make sure the path actually exists.
630: {:script/lib (:script/lib cli-opts')
631: :procurer procurer
632: :artifact artifact})))))))
633:
634: (defn uninstall [cli-opts]
----- Stack trace --------------------------------------------------------------
babashka.bbin.scripts - /home/chase/.babashka/bbin/bin/bbin:629:11
babashka.bbin.cli/run - /home/chase/.babashka/bbin/bin/bbin:657:5
babashka.bbin.cli/run - /home/chase/.babashka/bbin/bin/bbin:654:1
babashka.bbin.cli - /home/chase/.babashka/bbin/bin/bbin:671:10
babashka.bbin.cli/bbin - /home/chase/.babashka/bbin/bin/bbin:706:5
babashka.bbin.cli/bbin - /home/chase/.babashka/bbin/bin/bbin:703:1
babashka.bbin.cli - /home/chase/.babashka/bbin/bin/bbin:709:3
clojure.core/apply - <built-in>
babashka.bbin.cli - /home/chase/.babashka/bbin/bin/bbin:713:3
babashka.bbin.cli - /home/chase/.babashka/bbin/bin/bbin:711:1
Everything worked as expected when I used the raw link: https://gist.githubusercontent.com/chase-lambert/c5533d8e8fbb71268a25e83ecf8e3cc6/raw/9cc7b4208f9bed2609f4736c4f469e1828273af5/chatgpt-cli.clj
- Lingua principale
- Clojure
- Stelle
- 195
- Fork
- 15
- Merge medio
- 1m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di babashka/bbin
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
Tutte le issue di babashka/bbin
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nextjournal/clerk#830 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
IOP tokens release blocker team qa team qa autotests WG adoption
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
penpot/penpot#13540 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
izhangzhihao/intellij-rainbow-brackets#2903 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100