Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: talks repo fails due to size #11199

Closed
bradfitz opened this issue Jun 13, 2015 · 1 comment
Closed

x/build: talks repo fails due to size #11199

bradfitz opened this issue Jun 13, 2015 · 1 comment
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Milestone

Comments

@bradfitz
Copy link
Contributor

The talks repo's .tar.gz export from git archive is over the 25 MB sanity check limit imposed by the builders. It's currently 31 MB compressed.

There's no reason to ship around all those images and PDFs.

Adding export-ignore attributes to the binary files brings the .tar.gz file fom 31 MB to 500 KB:

diff --git a/.gitattributes b/.gitattributes
index d2f212e..2273302 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -8,3 +8,13 @@
 # See golang.org/issue/9281

 * -text
+
+# The builders assume the git archive *.tar.gz of the tree is under
+# 25 MB but this repo is 31+ MB with all the images.
+# So exclude those.
+
+*.jpg export-ignore
+*.jpeg export-ignore
+*.png export-ignore
+*.gif export-ignore
+*.pdf export-ignore
@bradfitz bradfitz added the Builders x/build issues (builders, bots, dashboards) label Jun 13, 2015
@bradfitz bradfitz self-assigned this Jun 13, 2015
@bradfitz bradfitz added this to the Unplanned milestone Jun 13, 2015
@gopherbot
Copy link

CL https://golang.org/cl/11050 mentions this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants