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

Comments

Projects
None yet
2 participants
@bradfitz
Copy link
Member

commented Jun 13, 2015

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 label Jun 13, 2015

@bradfitz bradfitz self-assigned this Jun 13, 2015

@bradfitz bradfitz added this to the Unplanned milestone Jun 13, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Jun 13, 2015

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.
You can’t perform that action at this time.