mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
d5beada7c3
commit
debe76299d
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue