-
Notifications
You must be signed in to change notification settings - Fork 380
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
go.mod FilePath ReplaceDirective fails copying folder. #1829
Comments
It seems reasonable to skip all top-level directories that start with a |
Yeah! I'm easily able to recreate it so I'll work on making a PR. |
Ah! I found what the true issue is. It doesn't handle things that are symlinks:
Edit: excluding dirs that start with
|
Ah, that makes sense. Then let's try to fix symlinks instead :-) |
#1830 |
What version of gazelle are you using?
0.37.0
What version of rules_go are you using?
0.48.0
What version of Bazel are you using?
7.1.2
Does this issue reproduce with the latest releases of all the above?
Yes.
What operating system and processor architecture are you using?
x86_64 Ubuntu
What did you do?
Trying to use go.mod FilePath ReplaceDirective with repo https://github.com/ngrok/ngrok-go
Our repo uses direnv and nix to setup the environment.
What did you expect to see?
I expected to be able to use the local replace.
(If I delete the .direnv folder from my local repo checkout it works.)
What did you see instead?
It fails.
Attempting to run the
fetch_repo
script manually:Deleting that dir I then get the following:
Is there a way to tell it to ignore that
.direnv
directory. It doesn't need it as a dep.The text was updated successfully, but these errors were encountered: