Skip to content

[MAINT]: Vendoring? #2924

Closed

Description

@stevehipwell

Describe the need

I'd be interested in what the current benefits of vendoring are and if it's providing "value for money"?

SDK Version

No response

API Version

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the v7.0.0 Release milestone on Nov 19, 2025
  2. added
    Status: Triage
    Type: Maintenance
    on Nov 19, 2025
  3. JSChronicles commented on Jan 21, 2026

    @JSChronicles

    I'd be interested to understand what vendoring would mean here.

    @stevehipwell

  4. stevehipwell commented on Jan 27, 2026

    @stevehipwell
    CollaboratorAuthor

    @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.

  5. JSChronicles commented on Jan 27, 2026

    @JSChronicles

    @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.

    Thank you for explaining it to me!

  6. deiga commented on Jan 27, 2026

    @deiga
    Collaborator

    @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

  7. stevehipwell commented on Jan 27, 2026

    @stevehipwell
    CollaboratorAuthor

    @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.

  8. deiga commented on Jan 27, 2026

    @deiga
    Collaborator

    @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.

  9. moved this from Backlog to In Progress in Terraform Provideron Feb 16, 2026
  10. removed
    Status: Triage
    on Feb 17, 2026
  11. self-assigned this
    on Feb 17, 2026
  12. moved this from In Progress to Done in Terraform Provideron Feb 20, 2026
  13. moved this from Done to In Progress in Terraform Provideron Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Maintenance

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions