Commit 38b1bbe7 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

git-update: Error out if PKGBUILD is missing

Fixes FS#45646.

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 29bffe64
......@@ -216,8 +216,9 @@ cur.execute("SELECT Name FROM PackageBlacklist")
blacklist = [row[0] for row in cur.fetchall()]
for commit in walker:
if not '.SRCINFO' in commit.tree:
die_commit("missing .SRCINFO", str(
for fname in ('.SRCINFO', 'PKGBUILD'):
if not fname in commit.tree:
die_commit("missing {:s}".format(fname), str(
for treeobj in commit.tree:
blob = repo[]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment