-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't cider-jack-in to projects with private git dependencies #3601
Comments
In case anyone else is facing this, here are some workarounds:
(Many thanks to @vemv and @dpsutton from Clojurians slack for the suggestions) |
Hi! Thanks much for the report. I'll try to repro it, anyway could you please provide the exact prompt text? |
Good point, it's:
Like I said it only appears in the |
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
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 |
Yes! If I delete the cache from .gitlibs and run magit-clone directly I get the correct prompt (same message but interactive) |
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? |
I believe that depends on how the ssh agent is set up. So it doesn't happen always (I think) but:
|
Expected behavior
cider-jack-in works in projects with private git repos
Actual behavior
I'm getting some text in the nrepl-server buffer that asks for my passphrase but there's no interactive prompt, so I can't provide it to complete the process. Here's the exact message "prompt" as it appears in the nrepl buffer:
Steps to reproduce the problem
Create a deps.edn with the following contents
where org/private-repo-name is a private repo
Run
M-x cider-jack-in
Environment & Version information
CIDER version information
Lein / Clojure CLI version
Emacs version
Operating system
JDK distribution
The text was updated successfully, but these errors were encountered: