X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libguestfs_fedora.ml;h=3d9ba212a7c7e08ed4f0337444dfe94c596feff0;hb=0af7eb8508526f0a6a7a0a80164b9c5380b2783e;hp=4b5ec7cc036780fa9fe5f7b60129f1f467b8cfda;hpb=0aa1cf778d664452a5cf467ca5866b6e721f2aff;p=goaljobs-goals.git diff --git a/libguestfs_fedora.ml b/libguestfs_fedora.ml index 4b5ec7c..3d9ba21 100644 --- a/libguestfs_fedora.ml +++ b/libguestfs_fedora.ml @@ -22,10 +22,10 @@ let package = "libguestfs" (* How branches in libguestfs upstream map to branches in Fedora. *) let branches = [ - "1.23-development", "master"; (* Rawhide follows development. *) - (* f20 is being done by hand until 1.24 is released. *) - "1.22-stable", "f19"; (* F19 follows 1.22. *) - "1.20-stable", "f18"; (* F18 follows 1.20. *) + "1.37-development", "master"; (* Rawhide follows development. *) + "1.36-stable", "f26"; (* F26 follows 1.36. *) + "1.36-stable", "f25"; (* F25 follows 1.36. *) + "1.34-stable", "f24"; (* F24 follows 1.34. *) ] (* Goal: Latest website version has been built in every branch. *) @@ -43,7 +43,9 @@ and fedora_built version branch = let specfile = fedora_specfile package branch in target (file_contains_string specfile version.version && - koji_build_state (fedora_verrel package branch) == `Complete); + match koji_build_state (fedora_verrel package branch) with + | `Complete | `Building -> true + | _ -> false); require (sources_uploaded version branch); require (specfile_pushed version branch); @@ -92,7 +94,8 @@ and specfile_updated version branch = and specfile_committed version branch = let repodir = fedora_repo package branch in - let key = sprintf "libguestfs_fedora_specfile_committed_%s" version.version in + let key = sprintf "libguestfs_fedora_specfile_committed_%s_%s" + branch version.version in target (memory_exists key); onrun (fun () -> memory_set key "1"); @@ -106,7 +109,8 @@ and specfile_committed version branch = and specfile_pushed version branch = let repodir = fedora_repo package branch in - let key = sprintf "libguestfs_fedora_specfile_pushed_%s" version.version in + let key = + sprintf "libguestfs_fedora_specfile_pushed_%s_%s" branch version.version in target (memory_exists key); onrun (fun () -> memory_set key "1");