Add `--deps/root` option to install command
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start at the bbin install command entry point and compare how bb.edn and deps.edn are resolved for local versus GitHub installs. Use the reported --deps/root command as the first reproduction; done means the nested projects/poly-bb bbin entry installs directly from the GitHub repository without cloning it locally.
Written by the indexing model from the issue text.
Description
I have a project that has a nested project structure with a bbin entry.
Locally I can install this project with
bbin install . --local/root projects/poly-bb
or directly from the dir with
bbin install .
From Github I have not been able to install it without cloning the repo locally.
Ideally one would be able to install this bbin binary with
bbin install io.github.jeroenvandijk/polylith --git/sha "6527bf4b4d6165c8ba7d8f678866e662d34b1c19" --deps/root "projects/poly-bb" --as poly-bb-dev1
I've tried adding a bb.edn file in the root of the project without success (it installs but then gets an error):
bbin install io.github.jeroenvandijk/polylith --git/sha "8c1632cf58d257ad574781192872133c0706941a" --as poly-bb-dev2
----- Error --------------------------------------------------------------------
Type: java.lang.Exception
Message: Could not find namespace: polylith-bb.core.
Location: <expr>:1:10
----- Context ------------------------------------------------------------------
1: (ns user (:require [polylith-bb.core])) (apply polylith-bb.core/-main *command-line-args*)
^--- Could not find namespace: polylith-bb.core.
----- Stack trace --------------------------------------------------------------
user - <expr>:1:10
Another option would be to change the deps.edn file in the root. This would however conflicts with the project structure of Polylith itself.
- Dominant language
- Clojure
- Stars
- 195
- Forks
- 15
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from babashka/bbin
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 64/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nextjournal/clerk#830 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
IOP tokens release blocker team qa team qa autotests WG adoption
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
penpot/penpot#13540 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
izhangzhihao/intellij-rainbow-brackets#2903 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100