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>
This commit is contained in:
Lukas Fleischer 2015-06-08 13:15:05 +02:00
parent d5beada7c3
commit debe76299d

View file

@ -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')