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

Gazelle should follow symlinks to top-level directories #520

Closed
jayconrod opened this issue Jun 8, 2017 · 1 comment
Closed

Gazelle should follow symlinks to top-level directories #520

jayconrod opened this issue Jun 8, 2017 · 1 comment

Comments

@jayconrod
Copy link
Contributor

If a directory is symlinked from somewhere inside $GOPATH, if you run Gazelle from the top of that repository (such that the last component of pwd is the symlink), Gazelle silently does nothing. This occurs because os.FileInfo.IsDir() is false for symlinks that point to directories.

Gazelle should follow symlinks for the top-level directories it is invoked on.

It's unclear to me whether Gazelle should follow symlinks to directories within a tree. Probably not, for now.

@jayconrod
Copy link
Contributor Author

Migrated to bazelbuild/bazel-gazelle#10

groodt pushed a commit to groodt/rules_go that referenced this issue Mar 14, 2022
…bazelbuild#520)

Support different output streams than os.Stderr for std.trace (C API)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant