| |
@@ -115,6 +115,14 @@
|
| |
|
| |
def add_appdata(path, username, projectname, lock=None):
|
| |
out = ""
|
| |
+
|
| |
+ # We need to have a possibility to disable an appstream builder for some projects
|
| |
+ # because it doesn't properly scale up for a large ammount of packages
|
| |
+ parent_dir = os.path.dirname(os.path.normpath(path))
|
| |
+ assert parent_dir.endswith(os.path.join(username, projectname))
|
| |
+ if os.path.exists(os.path.join(parent_dir, ".disable-appstream")):
|
| |
+ return out
|
| |
+
|
| |
kwargs = {
|
| |
"packages_dir": path,
|
| |
"username": username,
|
| |
See #738