You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JSChronicles this repo currently vendors all of the Go dependencies into source control, likely because it was implemented before Go modules. I'm asking if anyone has a reason why we need to keep the pattern or if we should move to a native Go modules pattern.
@JSChronicles this repo currently vendors all of the Go dependencies into source control, likely because it was implemented before Go modules. I'm asking if anyone has a reason why we need to keep the pattern or if we should move to a native Go modules pattern.
@JSChronicles this repo currently vendors all of the Go dependencies into source control, likely because it was implemented before Go modules. I'm asking if anyone has a reason why we need to keep the pattern or if we should move to a native Go modules pattern.
One major benefit I'm getting is being able to peruse the go-github codebase directly in my IDE and all code links go directly to the source.
Though most IDEs do support multiple repos in projects nowadays, so the same could probably be achieved with my IDE without vendoring
@deiga I'm pretty sure the code is all pulled down locally even if it's not vendored. Personally I can't see a clear benefit but I can see a number of downsides.
@deiga I'm pretty sure the code is all pulled down locally even if it's not vendored. Personally I can't see a clear benefit but I can see a number of downsides.
You are probably right, I don't know that part of go too well.
I don't oppose removing vendoring. Simpler is better.
Activity
JSChronicles commentedon Jan 21, 2026
I'd be interested to understand what vendoring would mean here.
@stevehipwell
stevehipwell commentedon Jan 27, 2026
@JSChronicles this repo currently vendors all of the Go dependencies into source control, likely because it was implemented before Go modules. I'm asking if anyone has a reason why we need to keep the pattern or if we should move to a native Go modules pattern.
JSChronicles commentedon Jan 27, 2026
Thank you for explaining it to me!
deiga commentedon Jan 27, 2026
One major benefit I'm getting is being able to peruse the go-github codebase directly in my IDE and all code links go directly to the source.
Though most IDEs do support multiple repos in projects nowadays, so the same could probably be achieved with my IDE without vendoring
stevehipwell commentedon Jan 27, 2026
@deiga I'm pretty sure the code is all pulled down locally even if it's not vendored. Personally I can't see a clear benefit but I can see a number of downsides.
deiga commentedon Jan 27, 2026
You are probably right, I don't know that part of go too well.
I don't oppose removing vendoring. Simpler is better.