@@ -23,6 +23,7 @@ module Repositories = struct
2323 opam_2_2 : repo ;
2424 opam_2_3 : repo ;
2525 opam_2_4 : repo ;
26+ opam_2_5 : repo ;
2627 opam_master : repo ;
2728 }
2829
@@ -35,6 +36,7 @@ module Repositories = struct
3536 opam_2_2;
3637 opam_2_3;
3738 opam_2_4;
39+ opam_2_5;
3840 opam_master;
3941 } =
4042 let json = `Assoc [
@@ -46,6 +48,7 @@ module Repositories = struct
4648 " opam__2.2" , `String opam_2_2;
4749 " opam__2.3" , `String opam_2_3;
4850 " opam__2.4" , `String opam_2_4;
51+ " opam__2.5" , `String opam_2_5;
4952 " opam__master" , `String opam_master;
5053 ] in
5154 Yojson.Safe. to_string json
@@ -63,6 +66,7 @@ module Repositories = struct
6366 opam_2_2 : hash ;
6467 opam_2_3 : hash ;
6568 opam_2_4 : hash ;
69+ opam_2_5 : hash ;
6670 opam_master : hash ;
6771 } [@@ deriving yojson ]
6872
@@ -107,6 +111,7 @@ module Repositories = struct
107111 opam_2_2;
108112 opam_2_3;
109113 opam_2_4;
114+ opam_2_5;
110115 opam_master
111116 } =
112117 Metrics. set_last_build_time_now () ;
@@ -119,6 +124,7 @@ module Repositories = struct
119124 get_commit_hash ~job ~repo: opam_2_2 ~branch: " 2.2" >>!= fun opam_2_2 ->
120125 get_commit_hash ~job ~repo: opam_2_3 ~branch: " 2.3" >>!= fun opam_2_3 ->
121126 get_commit_hash ~job ~repo: opam_2_4 ~branch: " 2.4" >>!= fun opam_2_4 ->
127+ get_commit_hash ~job ~repo: opam_2_5 ~branch: " 2.5" >>!= fun opam_2_5 ->
122128 get_latest_release_hash ~job ~repo: opam_master >>!= fun opam_master ->
123129 let repos = { Value. opam_repository_master;
124130 opam_repository_mingw_sunset;
@@ -128,6 +134,7 @@ module Repositories = struct
128134 opam_2_2;
129135 opam_2_3;
130136 opam_2_4;
137+ opam_2_5;
131138 opam_master
132139 }
133140 in
@@ -149,6 +156,7 @@ type t = {
149156 opam_2_2 : Current_git.Commit_id .t ;
150157 opam_2_3 : Current_git.Commit_id .t ;
151158 opam_2_4 : Current_git.Commit_id .t ;
159+ opam_2_5 : Current_git.Commit_id .t ;
152160 opam_master : Current_git.Commit_id .t ;
153161}
154162
@@ -163,9 +171,10 @@ let get ~schedule =
163171 opam_2_2 = " https://github.com/ocaml/opam" ;
164172 opam_2_3 = " https://github.com/ocaml/opam" ;
165173 opam_2_4 = " https://github.com/ocaml/opam" ;
174+ opam_2_5 = " https://github.com/ocaml/opam" ;
166175 opam_master = " https://github.com/ocaml/opam" ;
167176 } in
168- let + {Repositories.Value. opam_repository_master; opam_repository_mingw_sunset; opam_overlays; opam_2_0; opam_2_1; opam_2_2; opam_2_3; opam_2_4; opam_master} =
177+ let + {Repositories.Value. opam_repository_master; opam_repository_mingw_sunset; opam_overlays; opam_2_0; opam_2_1; opam_2_2; opam_2_3; opam_2_4; opam_2_5; opam_master} =
169178 Current. component " Git-repositories" |>
170179 let > key = Current. return key in
171180 Cache. get ~schedule Repositories. No_context key
@@ -187,6 +196,8 @@ let get ~schedule =
187196 Current_git.Commit_id. v ~repo: key.opam_2_3 ~gref: " 2.3" ~hash: opam_2_3;
188197 opam_2_4 =
189198 Current_git.Commit_id. v ~repo: key.opam_2_4 ~gref: " 2.4" ~hash: opam_2_4;
199+ opam_2_5 =
200+ Current_git.Commit_id. v ~repo: key.opam_2_5 ~gref: " 2.5" ~hash: opam_2_5;
190201 opam_master =
191202 Current_git.Commit_id. v ~repo: key.opam_master ~gref: " master" ~hash: opam_master;
192203 }
0 commit comments