Skip to content
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

org-projectile:known-projects shouldn't load remote projects #10

Closed
Mekk opened this issue Nov 3, 2015 · 4 comments
Closed

org-projectile:known-projects shouldn't load remote projects #10

Mekk opened this issue Nov 3, 2015 · 4 comments

Comments

@Mekk
Copy link

@Mekk Mekk commented Nov 3, 2015

My attempts to call org-projectile:project-todo-completing-read take long time, ask passwords (and then end up in crash which may be related, or not). The reason is that they include remote (scp) paths for remote repositories I happened to open in the past.

There are two parts of this issue:

  • (easier) org-projectile:project-root-of-filepath could limit itself to local paths
  • (harder) the whole idea of org-projectile:project-root-of-filepath scanning complete projectile-project-root-cache is controversial; in my case projectile-project-root-cache has more than hundred items including more than 10 remote (tramp) items
@IvanMalison
Copy link
Owner

@IvanMalison IvanMalison commented Nov 3, 2015

I feel like this is more of an issue with projectile than with org-projectile. You should have the same issue when switchign to a project wiht projectile.

@Mekk
Copy link
Author

@Mekk Mekk commented Nov 4, 2015

projectile does not acess the path until I pick it, it uses the list on purely textual basis. I didn't read the code but it never asked me for remote ssh password (unless I actually picked remote project).

@IvanMalison
Copy link
Owner

@IvanMalison IvanMalison commented Jun 14, 2016

I see. I think that the password prompts come from when we run file-truename on the path. This is still something I would like to do, but ill try to come up with a way to avoid this.

@IvanMalison
Copy link
Owner

@IvanMalison IvanMalison commented Nov 1, 2016

@Mekk I added an option that is enabled by default that skips over projects that require any special access. Things should work now.

@IvanMalison IvanMalison closed this Nov 1, 2016
sdwolfz added a commit to syl20bnr/spacemacs that referenced this issue Jan 20, 2019
According to org-projectile's repo, this bug has been fixed:

IvanMalison/org-projectile#10

Recommending the reference be removed from the documentation.
vv111y added a commit to vv111y/spacemacs that referenced this issue Jan 21, 2019
According to org-projectile's repo, this bug has been fixed:

IvanMalison/org-projectile#10

Recommending the reference be removed from the documentation.
billy1kaplan added a commit to billy1kaplan/spacemacs that referenced this issue Apr 19, 2019
According to org-projectile's repo, this bug has been fixed:

IvanMalison/org-projectile#10

Recommending the reference be removed from the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants