Skip to content

Repository size over 500mb #616

@ivucica

Description

@ivucica

Hi,

The total directory size for $GOPATH/src/google.golang.org/api is 692.7MB, out of which $GOPATH/src/google.golang.org/api/.git is 548.1MB.

Even a single checkout is large, but if someone keeps different projects in different $GOPATHs, this means storing multiple copies of half-a-gigabyte directory. go get doesn't support shallow clones and doing so would mean involving wrappers around git.

Even if generated code cannot be reduced in size, should alternatives be explored for google.golang.org/api, such as splitting it into multiple Git repositories and restarting the history every once in a while?

Metadata

Metadata

Assignees

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions