Skip to content

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

@bradfitz

Description

@bradfitz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions