diff options
Diffstat (limited to 'aurweb/git')
-rwxr-xr-x | aurweb/git/update.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aurweb/git/update.py b/aurweb/git/update.py index af2dfed8..3b84eb5d 100755 --- a/aurweb/git/update.py +++ b/aurweb/git/update.py @@ -337,6 +337,9 @@ def main(): for field in extract_arch_fields(pkginfo, 'source'): fname = field['value'] + if len(fname) > 8000: + die_commit('source entry too long: {:s}'.format(fname), + str(commit.id)) if "://" in fname or "lp:" in fname: continue if fname not in commit.tree: |