Comments (7)
Good point, it's:
Cloning: [email protected]:org/private-repo-name.git
Enter passphrase for key '/home/pavlos/.ssh/id_ed25519':
Like I said it only appears in the REPL nrepl-server buffer (and it's not interactive)
I've added it to the initial description too
from cider.
is your expected workflow entering the passphrase each time
I believe that depends on how the ssh agent is set up. So it doesn't happen always (I think) but:
- when ssh-agent needs a passphrase I expect emacs/CIDER to ask for the user input correctly (magit-clone does so, so I assume it's caused by something that happens somewhere between the git and cider abstraction levels)
- when a passphrase isn't necessary, I expect CIDER to be able to clone the repo and then start the REPL (neither happens in my case, CIDER gets stuck "waiting" for user input that will never come).
from cider.
In case anyone else is facing this, here are some workarounds:
- Spawn a standalone cider/nrepl server and cider-connect to it, as described in the docs
- Download the dependencies with
clojure -P
and then rerun cider-jack-in
(Many thanks to @vemv and @dpsutton from Clojurians slack for the suggestions)
from cider.
Hi!
Thanks much for the report.
I'll try to repro it, anyway could you please provide the exact prompt text?
from cider.
Are you able to git-clone the same repo using e.g. Magit?
If not, it could indicate a generalized issue in your Emacs setup, such that ssh-add
isn't being correctly invoked.
[...] You can confirm this by running eval
$(ssh-agent); ssh-add ~/.ssh/id_rsa
in a terminal, and then in the same terminalemacs &
.
That solution isn't exactly ergonomic, but it would be a start.
Please try that specific approach for CIDER and/or Magit, allowing us to discard hypotheses.
Thanks - V
from cider.
Are you able to git-clone the same repo using e.g. Magit?
Yes! If I delete the cache from .gitlibs and run magit-clone directly I get the correct prompt (same message but interactive)
from cider.
Thanks!
To be clear, is your expected workflow entering the passphrase each time? It would make sense, although perhaps in your terminal emulator you don't have to?
from cider.
Related Issues (20)
- `[shadow-cljs]` output lost when repl-ing node http server HOT 2
- I have developed a simple way to search Clojure symbols with CIDER; merge into this package or keep separate? HOT 6
- Customize banner HOT 8
- `cider--error-phase-of-last-exception` can call itself when the cider-nrepl middleware is faulty HOT 3
- Lots of compilation warnings since update to Emacs 29 HOT 4
- `cider-inspector-inspect-last-exception` should inspect specific exceptions, not the last one HOT 3
- `cider-test-run-loaded-tests` not running newly loaded tests after changing REPL namespace HOT 1
- cider-log: multiline items HOT 5
- Auto completion is not reliable after switching to cider-nrepl 0.45.0 HOT 4
- i'm unable to access javadocs HOT 2
- Don't offer to connect to YourKit ports
- cider-ns: jump to file/line on errors
- cider-ns-refresh: summarize errors as an overlay
- Wrong type argument: plistp HOT 13
- Reduce the `nrepl.middleware.print/quota` for interactive eval
- Ability to auto-inspect on repl eval HOT 2
- cider-log may no longer use Logview after timezone change HOT 2
- cider-pprint-eval-defun-to-comment inside form does not print comments in newline HOT 8
- cider-find-var on lib added via clojure.repl.deps/add-libs HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cider.