Skip to content

Reducing size of the repository / remove vendoring #5

Description

@selfhoster1312

Currently a full checkout is ~350MB on disk or ~100MB transfer (with compression).

That's too much for people to get started reasonably. The biggest part of it is the vendor folder.

We should consider:

  • adding vendoring only in source release tarballs for new versions
    • is that even useful in the golang ecosystem?
    • is that useful for packaging for distros?
  • dropping or rewriting some git history removing the vendoring from the repository
    • if we can make sure the repository stays buildable on every previously-buildable commit, that's a plus (that's only 1700 commits to test)
    • it's important if we do this to provide a script that transparently compares with upstream to verify that we didn't rewrite any other part of history to alter the source code (even in non-malicious ways)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions