Generated project_root symlink slows down Intellij
See original GitHub issueBackground
With the recent changes to support buck-cells the following commit: https://github.com/facebook/buck/commit/8960005e2ec8900e8fc7c26a7b7239a7f512931a#diff-5ba521442393ce8db30deb6aa188a0eaR213 introduced a changeset that generates a symlink under buck-out/project_root
that points back to the main project when running any sort of buck build
command.
Issue
This introduces a potential infinite recursion in Intellij as the Git
plugin attempts to resolve all the git roots and ultimately drills deep down into the symlink infinitely which causes performance issues in Intellij.
VCS Root: [Git] -
2018-09-12 11:24:25,281 [ 16921] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [../buck-out/project_root]
2018-09-12 11:24:25,281 [ 16921] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [../buck-out/project_root/buck-out/project_root]
2018-09-12 11:24:25,281 [ 16921] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [../buck-out/project_root/buck-out/project_root/buck-out/project_root]
2018-09-12 11:24:25,281 [ 16921] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [../buck-out/project_root/buck-out/project_root/buck-out/project_root/buck-out/project_root]
2018-09-12 11:24:25,281 [ 16921] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [../buck-out/project_root/buck-out/project_root/buck-out/project_root/buck-out/project_root/buck-out/project_root]
2018-09-12 11:24:25,281 [ 16921] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [../buck-out/project_root/buck-out/project_root/buck-out/project_root/buck-out/project_root/buck-out/project_root/buck-out/project_root]
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Problem with symlinks in projects
I have composite project consists from: - several git submodules and root git repository - symlinks from submodules to directories inside...
Read more >Why it's updating indices again and again? making it ...
IntelliJ IDEA indexes any folder that is added to the module content roots or libraries. It could be that you've added your home...
Read more >Intellij Idea is freezing every couple of seconds, blocked ...
The thread dumps show that index of config's file is building very slow. ... In the attached listing I am working on the...
Read more >Problem with symlinks in projects
Hello, question to include a symlink folder. A drive was mounted on a Linux machine. There are several directories on the drive, one...
Read more >Symlinks to UNC mount points problem : IDEA-119608
The project was created earlier on linux machine. I faced two problems 1. If I try to load project directly from symbolic link...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed as of b5687e3f3f1f634308540fdf115c6322d793cd34
Any idea when a version with this fix will be released?