Gitbase does not load repositories for a workdir with unauthorized sub-dirs
If I use path C:\Users\Windows10\Documents for keeping my repositories engine always returns 0 results for any sql query.
Please check details here: https://github.com/src-d/empathy-sessions/issues/35
Copying here relevant screenshots and comments from https://github.com/src-d/empathy-sessions/issues/35:
@smacker I did some very quick tests. I remembered that I tried with a repo in
C:\Users\Windows10\go\src\github.com\src-d\engine. And by initializing engineC:\Users\Windows10\goit actually works as expected (both CLI and web), but it doesn't if engine is initialized withC:\Users\Windows:![]()
Similarly happens by initializing engine with
C:\Users\Windows\Documents. So it seems that it misbehaves depending on the workdir. At a glance, I don't see any particular pattern though.
In both cases the directory is correctly mounted. Shouldn't gitbase be able to find it anyway?
![]()
This is what happened on gitbase. The path seems to be correctly mounted as it is possible to see the repo in the mounted path, but then the path cannot be inspected.
This should be fixed once https://github.com/src-d/gitbase/issues/718 is closed.