summaryrefslogtreecommitdiff
path: root/src/backend/branchinject.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/branchinject.py')
-rw-r--r--src/backend/branchinject.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/backend/branchinject.py b/src/backend/branchinject.py
new file mode 100644
index 0000000..7c9a09f
--- /dev/null
+++ b/src/backend/branchinject.py
@@ -0,0 +1,41 @@
+#!/usr/bin/python3
+
+import sisyphus.check
+import sisyphus.branchreset
+import sisyphus.branchmaster
+import sisyphus.branchnext
+import sisyphus.metadata
+import sisyphus.setjobs
+import sisyphus.setprofile
+
+def gitlabMaster():
+ sisyphus.check.root()
+ sisyphus.branchreset.start()
+ sisyphus.branchmaster.startGitlab()
+ sisyphus.setjobs.start()
+ sisyphus.setprofile.start()
+ sisyphus.metadata.regenAnimated()
+
+def PagureMaster():
+ sisyphus.check.root()
+ sisyphus.branchreset.start()
+ sisyphus.branchmaster.startPagure()
+ sisyphus.setjobs.start()
+ sisyphus.setprofile.start()
+ sisyphus.metadata.regenAnimated()
+
+def GitlabNext():
+ sisyphus.check.root()
+ sisyphus.branchreset.start()
+ sisyphus.branchnext.startGitlab()
+ sisyphus.setjobs.start()
+ sisyphus.setprofile.start()
+ sisyphus.metadata.regenAnimated()
+
+def PagureNext():
+ sisyphus.check.root()
+ sisyphus.branchreset.start()
+ sisyphus.branchnext.startPagure()
+ sisyphus.setjobs.start()
+ sisyphus.setprofile.start()
+ sisyphus.metadata.regenAnimated()