Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Reduce size of repository #362

Closed
surajnarwade opened this issue Oct 16, 2017 · 3 comments
Closed

Reduce size of repository #362

surajnarwade opened this issue Oct 16, 2017 · 3 comments

Comments

@surajnarwade
Copy link
Collaborator

We can reduce size of repo by polulating vendor directory after cloning the repo.

Current size of repo:

$ du -sh kedge/
737M	kedge/

After removing vendor,

$ du -sh kedge/
87M	kedge/
@concaf
Copy link
Collaborator

concaf commented Oct 16, 2017

Is 737M the size when we first clone the repo?

@kadel
Copy link
Member

kadel commented Oct 16, 2017

If we remove vendor from git, it is not guaranteed that we can build Kedge.

Kedge depends on a lot of libraries (transitively because of Kubernetes an OpenShift). What if some of the libraries are deleted from github? Or tag or commit we depend on is deleted? Then it won't be possible to build Kedge.

By having vendor in git we can always be sure that we can build Kedge regarding what happens with any of the libraries.

@cdrage
Copy link
Collaborator

cdrage commented Oct 26, 2017

Yeah, vendor is required. Look at kubernetes/kubernetes, I think mine's near 1gig.

@cdrage cdrage closed this as completed Oct 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants