[aur-dev] [PATCH] git-update: Increase maximum blob size to 250kB

Lukas Fleischer lfleischer at archlinux.org
Mon Jun 8 11:15:59 UTC 2015


Large blobs are needed in some packages, such as customized Linux
kernels including kernel configurations.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 git-interface/git-update.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-interface/git-update.py b/git-interface/git-update.py
index 0a4130e..b2a00d6 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')
-- 
2.4.2


More information about the aur-dev mailing list