From 4b72717f8dc069254aa00245ceb5492c582c4a62 Mon Sep 17 00:00:00 2001 From: benmandrew Date: Wed, 31 Jan 2024 16:47:14 +0100 Subject: [PATCH 1/3] [new release] obuilder (2 packages) (0.6.0) CHANGES: - Add a Docker backend for Windows and Linux jobs. (@MisterDA ocurrent/obuilder#127 ocurrent/obuilder#75, reviewed by @talex5 and @tmcgilchrist) - Add FreeBSD sandbox backend using jail(8) (@dustanddreams ocurrent/obuilder#156 ocurrent/obuilder#174, reviewed by @tmcgilchrist, @MisterDA, and @mtelvers) - Add Macos ZFS sandbox (@mtelvers ocurrent/obuilder#164, reviewed by @tmcgilchrist) - Support XFS store (@mtelvers ocurrent/obuilder#170, reviewed by @tmcgilchrist) - Search for bash rather than assume it lies in /bin (@dustanddreams ocurrent/obuilder#159, reviewed by @tmcgilchrist) - Prune builds one at a time up to the limit (@mtelvers ocurrent/obuilder#157) - Specify upper bound on number of items in the store (@mtelvers ocurrent/obuilder#158, reviewed by @MisterDA) - Fix case where BTRFS is not fully allocated (@mtelvers ocurrent/obuilder#162) - Avoid pruning parent cache objects (@mtelvers ocurrent/obuilder#176, reviewed by @tmcgilchrist) --- .../obuilder-spec/obuilder-spec.0.6.0/opam | 58 +++++++++++++++ packages/obuilder/obuilder.0.6.0/opam | 70 +++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 packages/obuilder-spec/obuilder-spec.0.6.0/opam create mode 100644 packages/obuilder/obuilder.0.6.0/opam diff --git a/packages/obuilder-spec/obuilder-spec.0.6.0/opam b/packages/obuilder-spec/obuilder-spec.0.6.0/opam new file mode 100644 index 00000000000..cc4b7f0ecdc --- /dev/null +++ b/packages/obuilder-spec/obuilder-spec.0.6.0/opam @@ -0,0 +1,58 @@ +opam-version: "2.0" +synopsis: "Build specification format" +description: + "A library for constructing, reading and writing OBuilder build specification files." +maintainer: [ + "Tim McGilchrist " + "Antonin Décimo " +] +authors: [ + "Antonin Décimo " + "Arthur Wendling " + "David Allsopp " + "Kate " + "Lucas Pluvinage " + "Mark Elvers " + "Patrick Ferris " + "Thomas Gazagnaire " + "Thomas Leonard " + "Tim McGilchrist " +] +license: "Apache-2.0" +homepage: "https://github.com/ocurrent/obuilder" +doc: "https://ocurrent.github.io/obuilder/" +bug-reports: "https://github.com/ocurrent/obuilder/issues" +depends: [ + "dune" {>= "3.7"} + "fmt" {>= "0.8.9"} + "sexplib" + "astring" + "ppx_deriving" + "ppx_sexp_conv" + "ocaml" {>= "4.14.1"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocurrent/obuilder.git" +url { + src: + "https://github.com/ocurrent/obuilder/releases/download/v0.6.0/obuilder-0.6.0.tbz" + checksum: [ + "sha256=07637b0d8010770b5ef89f07891dbc6155e4741582faf081ef7335ba123b3140" + "sha512=62ecd0a06d4b97f5288ecc0031b27a5588f7bdd44b8de4ff4293ba2228589de7b13d1c6d4e24c8c755bb3dea2e97eb6f8b9a7bbfb7d35c1e12ef6220632c9a4b" + ] +} +x-commit-hash: "d944aef9b04e0c45e584f73d3f49b821bc8421d8" diff --git a/packages/obuilder/obuilder.0.6.0/opam b/packages/obuilder/obuilder.0.6.0/opam new file mode 100644 index 00000000000..6fcc6badaae --- /dev/null +++ b/packages/obuilder/obuilder.0.6.0/opam @@ -0,0 +1,70 @@ +opam-version: "2.0" +synopsis: "Run build scripts for CI" +description: + "OBuilder takes a build script (similar to a Dockerfile) and performs the steps in it in a sandboxed environment." +maintainer: [ + "Tim McGilchrist " + "Antonin Décimo " +] +authors: [ + "Antonin Décimo " + "Arthur Wendling " + "David Allsopp " + "Kate " + "Lucas Pluvinage " + "Mark Elvers " + "Patrick Ferris " + "Thomas Gazagnaire " + "Thomas Leonard " + "Tim McGilchrist " +] +license: "Apache-2.0" +homepage: "https://github.com/ocurrent/obuilder" +doc: "https://ocurrent.github.io/obuilder/" +bug-reports: "https://github.com/ocurrent/obuilder/issues" +depends: [ + "dune" {>= "3.7"} + "lwt" {>= "5.6.1"} + "astring" + "fmt" {>= "0.8.9"} + "logs" + "cmdliner" {>= "1.2.0"} + "tar-unix" {>= "2.4.0"} + "yojson" {>= "1.6.0"} + "sexplib" + "ppx_deriving" + "ppx_sexp_conv" + "sha" {>= "1.15.4"} + "sqlite3" + "crunch" {>= "3.3.1" & build} + "obuilder-spec" {= version} + "fpath" + "extunix" {>= "0.4.0"} + "ocaml" {>= "4.14.1"} + "alcotest-lwt" {>= "1.7.0" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocurrent/obuilder.git" +url { + src: + "https://github.com/ocurrent/obuilder/releases/download/v0.6.0/obuilder-0.6.0.tbz" + checksum: [ + "sha256=07637b0d8010770b5ef89f07891dbc6155e4741582faf081ef7335ba123b3140" + "sha512=62ecd0a06d4b97f5288ecc0031b27a5588f7bdd44b8de4ff4293ba2228589de7b13d1c6d4e24c8c755bb3dea2e97eb6f8b9a7bbfb7d35c1e12ef6220632c9a4b" + ] +} +x-commit-hash: "d944aef9b04e0c45e584f73d3f49b821bc8421d8" From 88af53129fcb9fa4658d8d6199410321b5656554 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Thu, 1 Feb 2024 17:08:33 +0100 Subject: [PATCH 2/3] Update packages/obuilder-spec/obuilder-spec.0.6.0/opam --- packages/obuilder-spec/obuilder-spec.0.6.0/opam | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/obuilder-spec/obuilder-spec.0.6.0/opam b/packages/obuilder-spec/obuilder-spec.0.6.0/opam index cc4b7f0ecdc..4347e613a64 100644 --- a/packages/obuilder-spec/obuilder-spec.0.6.0/opam +++ b/packages/obuilder-spec/obuilder-spec.0.6.0/opam @@ -31,6 +31,8 @@ depends: [ "ppx_sexp_conv" "ocaml" {>= "4.14.1"} "odoc" {with-doc} + "conf-which" {with-test} + "conf-bash" {with-test} ] build: [ ["dune" "subst"] {dev} From 17d427351aedb72675ff938f7e099d6f62999d93 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Thu, 1 Feb 2024 17:09:39 +0100 Subject: [PATCH 3/3] add which and bash to ensure tests can run --- packages/obuilder-spec/obuilder-spec.0.6.0/opam | 2 -- packages/obuilder/obuilder.0.6.0/opam | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/obuilder-spec/obuilder-spec.0.6.0/opam b/packages/obuilder-spec/obuilder-spec.0.6.0/opam index 4347e613a64..cc4b7f0ecdc 100644 --- a/packages/obuilder-spec/obuilder-spec.0.6.0/opam +++ b/packages/obuilder-spec/obuilder-spec.0.6.0/opam @@ -31,8 +31,6 @@ depends: [ "ppx_sexp_conv" "ocaml" {>= "4.14.1"} "odoc" {with-doc} - "conf-which" {with-test} - "conf-bash" {with-test} ] build: [ ["dune" "subst"] {dev} diff --git a/packages/obuilder/obuilder.0.6.0/opam b/packages/obuilder/obuilder.0.6.0/opam index 6fcc6badaae..4a52763777c 100644 --- a/packages/obuilder/obuilder.0.6.0/opam +++ b/packages/obuilder/obuilder.0.6.0/opam @@ -43,6 +43,8 @@ depends: [ "ocaml" {>= "4.14.1"} "alcotest-lwt" {>= "1.7.0" & with-test} "odoc" {with-doc} + "conf-which" {with-test} + "conf-bash" {with-test} ] build: [ ["dune" "subst"] {dev}