Skip to content

Commit e93b2a5

Browse files
authored
Merge pull request #5887 from xapi-project/master
Merge master into feature/update-backwards-compat
2 parents acb97a1 + 76b3db6 commit e93b2a5

File tree

233 files changed

+1893
-2764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+1893
-2764
lines changed

clock.opam

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
77
homepage: "https://xapi-project.github.io/"
88
bug-reports: "https://github.com/xapi-project/xen-api/issues"
99
depends: [
10-
"dune" {>= "3.0"}
10+
"dune" {>= "3.15"}
1111
"ocaml" {>= "4.12"}
1212
"alcotest" {with-test}
1313
"astring"
1414
"mtime"
1515
"ptime"
16+
"qcheck-core" {with-test}
17+
"qcheck-alcotest" {with-test}
1618
"odoc" {with-doc}
1719
]
1820
build: [

dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(ocamlopt_flags (:standard -g -p -w -39))
44
(flags (:standard -w -39))
55
)
6-
(dev (flags (:standard -g -w -39)))
6+
(dev (flags (:standard -g -w -39 -warn-error -69)))
77
(release
88
(flags (:standard -w -39-6@5))
99
(env-vars (ALCOTEST_COMPACT 1))

dune-project

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
(lang dune 3.0)
1+
(lang dune 3.15)
2+
23
(formatting (enabled_for ocaml))
34
(using menhir 2.0)
45

@@ -28,6 +29,8 @@
2829
astring
2930
mtime
3031
ptime
32+
(qcheck-core :with-test)
33+
(qcheck-alcotest :with-test)
3134
)
3235
)
3336

@@ -66,7 +69,6 @@
6669
(synopsis "Xen-API client library for remotely-controlling a xapi host")
6770
(authors "David Scott" "Anil Madhavapeddy" "Jerome Maloberti" "John Else" "Jon Ludlam" "Thomas Sanders" "Mike McClurg")
6871
(depends
69-
dune-build-info
7072
(alcotest :with-test)
7173
astring
7274
(cohttp (>= "0.22.0"))
@@ -187,7 +189,6 @@
187189
(description "This daemon monitors 'datasources' i.e. time-varying values such as performance counters and records the samples in RRD archives. These archives can be used to examine historical performance trends.")
188190
(depends
189191
(ocaml (>= "4.02.0"))
190-
dune-build-info
191192
(alcotest :with-test)
192193
astring
193194
(gzip (= :version))
@@ -300,6 +301,68 @@
300301

301302
(package
302303
(name xapi)
304+
(synopsis "The toolstack daemon which implements the XenAPI")
305+
(description "This daemon exposes the XenAPI and is used by clients such as 'xe' and 'XenCenter' to manage clusters of Xen-enabled hosts.")
306+
(depends
307+
alcotest ; needed for the quicktest binary
308+
angstrom
309+
base-threads
310+
base64
311+
cdrom
312+
conf-pam
313+
(crowbar :with-test)
314+
ctypes
315+
ctypes-foreign
316+
domain-name
317+
(ezxenstore (= :version))
318+
(fmt :with-test)
319+
hex
320+
(http-lib (and :with-test (= :version))) ; the public library is only used for testing
321+
ipaddr
322+
mirage-crypto
323+
mirage-crypto-pk
324+
(mirage-crypto-rng (>= "0.11.0"))
325+
(message-switch-unix (= :version))
326+
mtime
327+
opentelemetry-client-ocurl
328+
pci
329+
(pciutil (= :version))
330+
ppx_deriving_rpc
331+
ppx_sexp_conv
332+
ppx_deriving
333+
psq
334+
rpclib
335+
(rrdd-plugin (= :version))
336+
rresult
337+
sexpr
338+
sha
339+
(stunnel (= :version))
340+
tar
341+
tar-unix
342+
(uuid (= :version))
343+
x509
344+
(xapi-client (= :version))
345+
(xapi-cli-protocol (= :version))
346+
(xapi-consts (= :version))
347+
(xapi-datamodel (= :version))
348+
(xapi-expiry-alerts (= :version))
349+
(xapi-idl (= :version))
350+
(xapi-inventory (= :version))
351+
(xapi-log (= :version))
352+
(xapi-stdext-date (= :version))
353+
(xapi-stdext-pervasives (= :version))
354+
(xapi-stdext-std (= :version))
355+
(xapi-stdext-threads (= :version))
356+
(xapi-stdext-unix (= :version))
357+
(xapi-stdext-zerocheck (= :version))
358+
(xapi-test-utils :with-test)
359+
(xapi-tracing (= :version))
360+
(xapi-types (= :version))
361+
(xapi-xenopsd (= :version))
362+
(xml-light2 (= :version))
363+
yojson
364+
(zstd (= :version))
365+
)
303366
)
304367

305368
(package
@@ -321,6 +384,32 @@
321384

322385
(package
323386
(name vhd-tool)
387+
(synopsis "Manipulate .vhd files")
388+
(tags ("org.mirage" "org:xapi-project"))
389+
(depends
390+
(alcotest-lwt :with-test)
391+
cohttp-lwt
392+
conf-libssl
393+
(cstruct (>= "3.0.0"))
394+
(ezxenstore (= :version))
395+
(forkexec (= :version))
396+
io-page
397+
lwt
398+
nbd-unix
399+
ppx_cstruct
400+
ppx_deriving_rpc
401+
re
402+
rpclib
403+
sha
404+
tar
405+
(vhd-format (= :version))
406+
(vhd-format-lwt (= :version))
407+
(xapi-idl (= :version))
408+
(xapi-log (= :version))
409+
(xen-api-client-lwt (= :version))
410+
xenstore
411+
xenstore_transport
412+
)
324413
)
325414

326415
(package
@@ -438,6 +527,16 @@ This package provides an Lwt compatible interface to the library.")
438527

439528
(package
440529
(name message-switch-unix)
530+
(synopsis "A simple store-and-forward message switch")
531+
(description "The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages.")
532+
(depends
533+
base-threads
534+
cohttp
535+
(message-switch-core (= :version))
536+
ppx_deriving_rpc
537+
rpclib
538+
(xapi-stdext-threads (= :version))
539+
)
441540
)
442541

443542
(package

forkexec.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
88
homepage: "https://xapi-project.github.io/"
99
bug-reports: "https://github.com/xapi-project/xen-api/issues"
1010
depends: [
11-
"dune" {>= "3.0"}
11+
"dune" {>= "3.15"}
1212
"base-threads"
1313
"fd-send-recv" {>= "2.0.0"}
1414
"ppx_deriving_rpc"

http-lib.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
99
homepage: "https://xapi-project.github.io/"
1010
bug-reports: "https://github.com/xapi-project/xen-api/issues"
1111
depends: [
12-
"dune" {>= "3.0"}
12+
"dune" {>= "3.15"}
1313
"alcotest" {with-test}
1414
"astring"
1515
"base64" {>= "3.1.0"}

message-switch-core.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
99
homepage: "https://xapi-project.github.io/"
1010
bug-reports: "https://github.com/xapi-project/xen-api/issues"
1111
depends: [
12-
"dune" {>= "3.0"}
12+
"dune" {>= "3.15"}
1313
"astring"
1414
"cohttp" {>= "0.21.1"}
1515
"ppx_deriving_rpc"

message-switch-unix.opam

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
11
# This file is generated by dune, edit dune-project instead
2-
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
32
opam-version: "2.0"
4-
name: "message-switch-unix"
5-
maintainer: "xen-api@lists.xen.org"
6-
authors: [ "xen-api@lists.xen.org" ]
7-
homepage: "https://github.com/xapi-project/xen-api"
3+
synopsis: "A simple store-and-forward message switch"
4+
description:
5+
"The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages."
6+
maintainer: ["Xapi project maintainers"]
7+
authors: ["xen-api@lists.xen.org"]
8+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
9+
homepage: "https://xapi-project.github.io/"
810
bug-reports: "https://github.com/xapi-project/xen-api/issues"
9-
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
10-
tags: [ "org:xapi-project" ]
11-
build: [
12-
["./configure" "--prefix" "%{prefix}%"]
13-
[ "dune" "build" "-p" name "-j" jobs ]
14-
]
1511
depends: [
16-
"ocaml"
17-
"dune" {build & >= "1.4"}
18-
"odoc" {with-doc}
12+
"dune" {>= "3.15"}
1913
"base-threads"
20-
"message-switch-core"
14+
"cohttp"
15+
"message-switch-core" {= version}
2116
"ppx_deriving_rpc"
17+
"rpclib"
18+
"xapi-stdext-threads" {= version}
19+
"odoc" {with-doc}
2220
]
23-
synopsis: "A simple store-and-forward message switch"
24-
description: """
25-
The switch stores messages in queues with well-known names. Clients use
26-
a simple HTTP protocol to enqueue and dequeue messages."""
27-
url {
28-
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
29-
}
21+
build: [
22+
["dune" "subst"] {dev}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@runtest" {with-test}
32+
"@doc" {with-doc}
33+
]
34+
]
35+
dev-repo: "git+https://github.com/xapi-project/xen-api.git"

message-switch-unix.opam.template

Lines changed: 0 additions & 27 deletions
This file was deleted.

message-switch.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ depends: [
3131
"ppx_sexp_conv"
3232
"sexplib"
3333
"shared-block-ring" {>= "2.3.0"}
34+
"xapi-stdext-unix"
3435
]
3536
synopsis: "A simple store-and-forward message switch"
3637
description: """

message-switch.opam.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ depends: [
2929
"ppx_sexp_conv"
3030
"sexplib"
3131
"shared-block-ring" {>= "2.3.0"}
32+
"xapi-stdext-unix"
3233
]
3334
synopsis: "A simple store-and-forward message switch"
3435
description: """

0 commit comments

Comments
 (0)