summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-08 13:15:05 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-08 13:15:23 +0200
commitdebe76299dc1521ae8964dfbf60bf7941b5d29ee (patch)
tree74f79d72240dd6147454be96d5707a1ce957ba94
parentd5beada7c36529dd5f1ef500e2bbb4dcdcc0336a (diff)
downloadaur-debe76299dc1521ae8964dfbf60bf7941b5d29ee.tar.gz
aur-debe76299dc1521ae8964dfbf60bf7941b5d29ee.tar.xz
git-update: Increase maximum blob size to 250kB
Large blobs are needed in some packages, such as customized Linux kernels including kernel configurations. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rwxr-xr-xgit-interface/git-update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-interface/git-update.py b/git-interface/git-update.py
index 0a4130e0..b2a00d6d 100755
--- a/git-interface/git-update.py
+++ b/git-interface/git-update.py
@@ -191,8 +191,8 @@ for commit in walker:
die_commit("missing .SRCINFO", commit.id)
for treeobj in commit.tree:
- if repo[treeobj.id].size > 100000:
- die_commit("maximum blob size (100kB) exceeded", commit.id)
+ if repo[treeobj.id].size > 250000:
+ die_commit("maximum blob size (250kB) exceeded", commit.id)
srcinfo_raw = repo[commit.tree['.SRCINFO'].id].data.decode()
srcinfo_raw = srcinfo_raw.split('\n')