git.annexia.org
/
fedora-ocaml-rebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0271343
)
Allow koji to be changed.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 11:49:49 +0000
(11:49 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 11:49:49 +0000
(11:49 +0000)
Goalfile
patch
|
blob
|
history
diff --git
a/Goalfile
b/Goalfile
index
0df6b07
..
67691bf
100644
(file)
--- a/
Goalfile
+++ b/
Goalfile
@@
-4,6
+4,7
@@
let fedora-dir = "%HOME/d/fedora"
let branch = "master"
let side-tag = "f32-build-side-999999"
let branch = "master"
let side-tag = "f32-build-side-999999"
+let koji = "koji"
# The magic string that must appear in %changelog when the
# package has been rebuilt.
# The magic string that must appear in %changelog when the
# package has been rebuilt.
@@
-54,7
+55,7
@@
tactic *built-in-koji (pkg) = {
# Else we must check Koji itself.
nvr=$(fedpkg verrel)
# Else we must check Koji itself.
nvr=$(fedpkg verrel)
- buildinfo=$(koji buildinfo $nvr)
+ buildinfo=$(
%
koji buildinfo $nvr)
# No build at all, needs rebuild.
echo "$buildinfo" | grep -sq "No such build" && exit 99
# No build at all, needs rebuild.
echo "$buildinfo" | grep -sq "No such build" && exit 99
@@
-72,7
+73,7
@@
tactic *built-in-koji (pkg) = {
exit 1 ;;
BUILDING)
# Cancel the build, we will resubmit it.
exit 1 ;;
BUILDING)
# Cancel the build, we will resubmit it.
- koji cancel $taskid
+
%
koji cancel $taskid
exit 99 ;;
CANCELED|DELETED)
# Do a rebuild.
exit 99 ;;
CANCELED|DELETED)
# Do a rebuild.