From c982580bde9dd0eb0e4668a4c2a5439325bd6c8e Mon Sep 17 00:00:00 2001 From: Pau Ruiz Safont Date: Wed, 30 Nov 2022 09:20:49 +0000 Subject: [PATCH] xapi-stdext: update to 4.21.0 - date: consolidate the types into a single t - date: add conversion functions that have semantic meaning, the previous functions containing 'float' and 'string' will be deprecated in a future release. - unix: add permissions to write_{bytes,string}_to_file - threads, unix: avoid using C functions deprecated in OCaml 5 - zerocheck: remove wrong, unused code. It was dangerous to leave it available Signed-off-by: Pau Ruiz Safont --- .../opam | 14 +++++++------- .../opam | 14 +++++++------- .../opam | 14 +++++++------- .../opam | 14 +++++++------- .../opam | 12 ++++++------ .../opam | 15 ++++++++------- .../opam | 12 ++++++------ 7 files changed, 48 insertions(+), 47 deletions(-) rename packages/xs/{xapi-stdext-date.4.19.0 => xapi-stdext-date.4.21.0}/opam (66%) rename packages/xs/{xapi-stdext-encodings.4.19.0 => xapi-stdext-encodings.4.21.0}/opam (64%) rename packages/xs/{xapi-stdext-pervasives.4.19.0 => xapi-stdext-pervasives.4.21.0}/opam (66%) rename packages/xs/{xapi-stdext-std.4.19.0 => xapi-stdext-std.4.21.0}/opam (65%) rename packages/xs/{xapi-stdext-threads.4.19.0 => xapi-stdext-threads.4.21.0}/opam (69%) rename packages/xs/{xapi-stdext-unix.4.19.0 => xapi-stdext-unix.4.21.0}/opam (65%) rename packages/xs/{xapi-stdext-zerocheck.4.19.0 => xapi-stdext-zerocheck.4.21.0}/opam (67%) diff --git a/packages/xs/xapi-stdext-date.4.19.0/opam b/packages/xs/xapi-stdext-date.4.21.0/opam similarity index 66% rename from packages/xs/xapi-stdext-date.4.19.0/opam rename to packages/xs/xapi-stdext-date.4.21.0/opam index d6444e01d..b70fb94c5 100644 --- a/packages/xs/xapi-stdext-date.4.19.0/opam +++ b/packages/xs/xapi-stdext-date.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-date" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Dates" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,8 +8,8 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ - "ocaml" {>= "4.08.0"} - "dune" {>= "1.11"} + "dune" {>= "2.7"} + "ocaml" {>= "4.12"} "alcotest" {with-test} "astring" "base-unix" @@ -33,10 +33,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa" diff --git a/packages/xs/xapi-stdext-encodings.4.19.0/opam b/packages/xs/xapi-stdext-encodings.4.21.0/opam similarity index 64% rename from packages/xs/xapi-stdext-encodings.4.19.0/opam rename to packages/xs/xapi-stdext-encodings.4.21.0/opam index d766d1b6b..88bfa01b9 100644 --- a/packages/xs/xapi-stdext-encodings.4.19.0/opam +++ b/packages/xs/xapi-stdext-encodings.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-encodings" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Encodings" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,9 +8,9 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ + "dune" {>= "2.7"} "ocaml" - "dune" {>= "1.11"} - "alcotest" {with-test} + "alcotest" {>= "0.6.0" & with-test} "odoc" {with-doc} ] build: [ @@ -30,10 +30,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa" diff --git a/packages/xs/xapi-stdext-pervasives.4.19.0/opam b/packages/xs/xapi-stdext-pervasives.4.21.0/opam similarity index 66% rename from packages/xs/xapi-stdext-pervasives.4.19.0/opam rename to packages/xs/xapi-stdext-pervasives.4.21.0/opam index f6d351d7f..699665a59 100644 --- a/packages/xs/xapi-stdext-pervasives.4.19.0/opam +++ b/packages/xs/xapi-stdext-pervasives.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-pervasives" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Pervasives" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,8 +8,8 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ - "ocaml" {>= "4.08.0"} - "dune" {>= "1.11"} + "dune" {>= "2.7"} + "ocaml" {>= "4.08"} "logs" "odoc" {with-doc} "xapi-backtrace" @@ -31,10 +31,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa" diff --git a/packages/xs/xapi-stdext-std.4.19.0/opam b/packages/xs/xapi-stdext-std.4.21.0/opam similarity index 65% rename from packages/xs/xapi-stdext-std.4.19.0/opam rename to packages/xs/xapi-stdext-std.4.21.0/opam index 5128f1ebe..d4b10e6b8 100644 --- a/packages/xs/xapi-stdext-std.4.19.0/opam +++ b/packages/xs/xapi-stdext-std.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-std" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Stdlib" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,8 +8,8 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ - "ocaml" {>= "4.08.0"} - "dune" {>= "1.11"} + "dune" {>= "2.7"} + "ocaml" {>= "4.08"} "alcotest" {with-test} "odoc" {with-doc} ] @@ -30,10 +30,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa" diff --git a/packages/xs/xapi-stdext-threads.4.19.0/opam b/packages/xs/xapi-stdext-threads.4.21.0/opam similarity index 69% rename from packages/xs/xapi-stdext-threads.4.19.0/opam rename to packages/xs/xapi-stdext-threads.4.21.0/opam index 3319cd466..5320d55be 100644 --- a/packages/xs/xapi-stdext-threads.4.19.0/opam +++ b/packages/xs/xapi-stdext-threads.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-threads" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Threads" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,8 +8,8 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ + "dune" {>= "2.7"} "ocaml" - "dune" {>= "1.11"} "base-threads" "base-unix" "odoc" {with-doc} @@ -32,10 +32,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa" diff --git a/packages/xs/xapi-stdext-unix.4.19.0/opam b/packages/xs/xapi-stdext-unix.4.21.0/opam similarity index 65% rename from packages/xs/xapi-stdext-unix.4.19.0/opam rename to packages/xs/xapi-stdext-unix.4.21.0/opam index 245bd7567..5039d08e8 100644 --- a/packages/xs/xapi-stdext-unix.4.19.0/opam +++ b/packages/xs/xapi-stdext-unix.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-unix" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Unix" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,13 +8,14 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ - "ocaml" {>= "4.08.0"} - "dune" {>= "1.11"} + "dune" {>= "2.7"} + "ocaml" {>= "4.12"} "base-unix" "fd-send-recv" {>= "2.0.0"} "odoc" {with-doc} "xapi-stdext-pervasives" {= version} ] +available: os-family != "alpine" build: [ ["dune" "subst"] {dev} [ @@ -32,10 +33,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa" diff --git a/packages/xs/xapi-stdext-zerocheck.4.19.0/opam b/packages/xs/xapi-stdext-zerocheck.4.21.0/opam similarity index 67% rename from packages/xs/xapi-stdext-zerocheck.4.19.0/opam rename to packages/xs/xapi-stdext-zerocheck.4.21.0/opam index 8a1f046f5..144ce7a5e 100644 --- a/packages/xs/xapi-stdext-zerocheck.4.19.0/opam +++ b/packages/xs/xapi-stdext-zerocheck.4.21.0/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "xapi-stdext-zerocheck" -version: "4.19.0" +version: "4.21.0" synopsis: "Xapi's standard library extension, Zerocheck" maintainer: "Xapi project maintainers" authors: "Jonathan Ludlam" @@ -8,8 +8,8 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" homepage: "https://github.com/xapi-project/stdext" bug-reports: "https://github.com/xapi-project/stdext/issues" depends: [ + "dune" {>= "2.7"} "ocaml" - "dune" {>= "1.11"} "odoc" {with-doc} ] build: [ @@ -29,10 +29,10 @@ build: [ dev-repo: "git+https://github.com/xapi-project/stdext.git" url { src: - "https://github.com/xapi-project/stdext/releases/download/v4.19.0/xapi-stdext-4.19.0.tbz" + "https://github.com/xapi-project/stdext/releases/download/v4.21.0/xapi-stdext-4.21.0.tbz" checksum: [ - "sha256=1b02f6ddcfa0553c8ae1cf0c4e1ed09550219ffbb25a6983043e7e909f0c6b5d" - "sha512=f978c6984e6497725c97b5bcf037f7493d781616e9204b1d010e9c39171683abed81f3161005271885f1a99b41c384beffc28a682d1cf3cbd4ae2170d5733efc" + "sha256=427af021994ba881918c4c3a89d441fb000311d5e7c8e1ffcb1e239d899d7741" + "sha512=70c55e0fda2bf641cf1ccb4bcff8040a6a8f0e8a2d58a727492dedbe585a870a914bae83ca36917ed2e54fc978e70c4a95b454424b69065efae08035de8830f2" ] } -x-commit-hash: "690d233cf37c4e523e17e9b5ed74a118804bc9f5" +x-commit-hash: "986d1aeb566773906eb436a2df9aeb677f56d0fa"