From 1f465acfe3cef913b7a5f0bcab1d882a9e416b0d Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sat, 3 Jan 2026 15:44:34 -0300 Subject: [PATCH] Improve some recipes --- recipes/wip/db/cockroachdb/recipe.toml | 6 ++++-- recipes/wip/db/gobang/recipe.toml | 1 + recipes/wip/db/influxdb/recipe.toml | 1 + recipes/wip/db/iotdb/recipe.toml | 6 ++++-- recipes/wip/db/limbo/recipe.toml | 1 + recipes/wip/db/mongodb6/recipe.toml | 4 +++- recipes/wip/db/mongodb7/recipe.toml | 4 +++- recipes/wip/db/postgresql16/recipe.toml | 1 - recipes/wip/db/rainfrog/recipe.toml | 1 + recipes/wip/db/rocksdb/recipe.toml | 3 ++- recipes/wip/db/skytable/recipe.toml | 2 ++ recipes/wip/db/sqllogictest/recipe.toml | 9 ++++----- recipes/wip/db/stoolap/recipe.toml | 2 +- recipes/wip/db/tidb-server/recipe.toml | 6 ++++-- 14 files changed, 31 insertions(+), 16 deletions(-) diff --git a/recipes/wip/db/cockroachdb/recipe.toml b/recipes/wip/db/cockroachdb/recipe.toml index 6d548c7d3..1e81fe2bb 100644 --- a/recipes/wip/db/cockroachdb/recipe.toml +++ b/recipes/wip/db/cockroachdb/recipe.toml @@ -1,6 +1,8 @@ -#TODO missing script for Bazel, see https://cockroachlabs.atlassian.net/wiki/spaces/CRDB/pages/181338446/Getting+and+building+CockroachDB+from+source +#TODO missing script for Bazel +# build instructions: https://cockroachlabs.atlassian.net/wiki/spaces/CRDB/pages/181338446/Getting+and+building+CockroachDB+from+source [source] git = "https://github.com/cockroachdb/cockroach" -rev = "0ad77cfcc5a81b96dd2f27ed608536388b680537" +branch = "release-25.4" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/db/gobang/recipe.toml b/recipes/wip/db/gobang/recipe.toml index 275810a14..1d46a7c4e 100644 --- a/recipes/wip/db/gobang/recipe.toml +++ b/recipes/wip/db/gobang/recipe.toml @@ -1,5 +1,6 @@ #TODO update mio to 0.8 (after cargo update and patch on ring) [source] git = "https://github.com/TaKO8Ki/gobang" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/db/influxdb/recipe.toml b/recipes/wip/db/influxdb/recipe.toml index faad6d63e..cf43f1b70 100644 --- a/recipes/wip/db/influxdb/recipe.toml +++ b/recipes/wip/db/influxdb/recipe.toml @@ -2,5 +2,6 @@ #TODO configure the CLI and service [source] git = "https://github.com/influxdata/influxdb" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/db/iotdb/recipe.toml b/recipes/wip/db/iotdb/recipe.toml index 7a8a21482..0ab03bc4b 100644 --- a/recipes/wip/db/iotdb/recipe.toml +++ b/recipes/wip/db/iotdb/recipe.toml @@ -1,6 +1,8 @@ -#TODO missing script for Maven, see https://github.com/apache/iotdb#build-iotdb-from-source +#TODO missing script for Maven, +# build instructions: https://github.com/apache/iotdb#build-iotdb-from-source [source] git = "https://github.com/apache/iotdb" -rev = "5d0bfb0c25082b61cb8830aa04ec34a13edccd31" +rev = "v2.0.5" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/db/limbo/recipe.toml b/recipes/wip/db/limbo/recipe.toml index ac1a00d86..8412bb00a 100644 --- a/recipes/wip/db/limbo/recipe.toml +++ b/recipes/wip/db/limbo/recipe.toml @@ -1,6 +1,7 @@ #TODO compilation error on the sqlite3 parser [source] git = "https://github.com/tursodatabase/limbo" +shallow_clone = true [build] template = "custom" script = """ diff --git a/recipes/wip/db/mongodb6/recipe.toml b/recipes/wip/db/mongodb6/recipe.toml index aed11b08e..b1d8bec8f 100644 --- a/recipes/wip/db/mongodb6/recipe.toml +++ b/recipes/wip/db/mongodb6/recipe.toml @@ -1,7 +1,9 @@ -#TODO missing script for SCons, see https://github.com/mongodb/mongo/blob/master/docs/building.md +#TODO missing script for SCons +# build instructions: https://github.com/mongodb/mongo/blob/master/docs/building.md [source] git = "https://github.com/mongodb/mongo" branch = "v6.0" +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/db/mongodb7/recipe.toml b/recipes/wip/db/mongodb7/recipe.toml index 69d167b51..a2dab0024 100644 --- a/recipes/wip/db/mongodb7/recipe.toml +++ b/recipes/wip/db/mongodb7/recipe.toml @@ -1,7 +1,9 @@ -#TODO missing script for SCons, see https://github.com/mongodb/mongo/blob/master/docs/building.md +#TODO missing script for SCons +# build instructions: https://github.com/mongodb/mongo/blob/master/docs/building.md [source] git = "https://github.com/mongodb/mongo" branch = "v7.2" +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/db/postgresql16/recipe.toml b/recipes/wip/db/postgresql16/recipe.toml index e247d0b6b..bfe0a9e20 100644 --- a/recipes/wip/db/postgresql16/recipe.toml +++ b/recipes/wip/db/postgresql16/recipe.toml @@ -12,6 +12,5 @@ configureflags = [ "--with-template=redox", ] dependencies = [ - "readline", "zlib", ] diff --git a/recipes/wip/db/rainfrog/recipe.toml b/recipes/wip/db/rainfrog/recipe.toml index b28e5e1a2..096e60f38 100644 --- a/recipes/wip/db/rainfrog/recipe.toml +++ b/recipes/wip/db/rainfrog/recipe.toml @@ -1,6 +1,7 @@ #TODO not compiled or tested [source] git = "https://github.com/achristmascarl/rainfrog" +shallow_clone = true [build] template = "cargo" [package] diff --git a/recipes/wip/db/rocksdb/recipe.toml b/recipes/wip/db/rocksdb/recipe.toml index 94e5507e7..fdbdfe014 100644 --- a/recipes/wip/db/rocksdb/recipe.toml +++ b/recipes/wip/db/rocksdb/recipe.toml @@ -1,4 +1,5 @@ -#TODO missing script for gnu make: https://github.com/facebook/rocksdb/blob/main/INSTALL.md +#TODO missing script for gnu make +# build instructions: https://github.com/facebook/rocksdb/blob/main/INSTALL.md [source] git = "https://github.com/facebook/rocksdb" rev = "v10.7.5" diff --git a/recipes/wip/db/skytable/recipe.toml b/recipes/wip/db/skytable/recipe.toml index 0bf74a609..02ce69669 100644 --- a/recipes/wip/db/skytable/recipe.toml +++ b/recipes/wip/db/skytable/recipe.toml @@ -1,11 +1,13 @@ #TODO libsky crate error [source] git = "https://github.com/skytable/skytable" +shallow_clone = true [build] template = "custom" dependencies = [ "openssl1", ] script = """ +DYNAMIC_INIT cookbook_cargo_packages skysh skyd """ diff --git a/recipes/wip/db/sqllogictest/recipe.toml b/recipes/wip/db/sqllogictest/recipe.toml index 1e47a39c5..072d38c43 100644 --- a/recipes/wip/db/sqllogictest/recipe.toml +++ b/recipes/wip/db/sqllogictest/recipe.toml @@ -1,9 +1,8 @@ #TODO Works, but not reliably -#TODO Raises the following warnings. -#setsockopt(16, 6, 1, 0x7fffffff4adc, 4) - unknown option -#setsockopt(16, 1, 9, 0x7fffffff4ad0, 4) - unknown option -#setsockopt(16, 6, 1, 0x7fffffff4ad4, 4) - unknown option - +#TODO Raises the following warnings: +# setsockopt(16, 6, 1, 0x7fffffff4adc, 4) - unknown option +# setsockopt(16, 1, 9, 0x7fffffff4ad0, 4) - unknown option +# setsockopt(16, 6, 1, 0x7fffffff4ad4, 4) - unknown option [source] git = "https://github.com/risinglightdb/sqllogictest-rs.git" diff --git a/recipes/wip/db/stoolap/recipe.toml b/recipes/wip/db/stoolap/recipe.toml index 533f4aa34..e03d9277b 100644 --- a/recipes/wip/db/stoolap/recipe.toml +++ b/recipes/wip/db/stoolap/recipe.toml @@ -1,6 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/stoolap/stoolap" -shallow_clone = "true" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/db/tidb-server/recipe.toml b/recipes/wip/db/tidb-server/recipe.toml index 088b3fe4e..68b4ce8ff 100644 --- a/recipes/wip/db/tidb-server/recipe.toml +++ b/recipes/wip/db/tidb-server/recipe.toml @@ -1,6 +1,8 @@ -#TODO missing script for "make", see https://pingcap.github.io/tidb-dev-guide/get-started/build-tidb-from-source.html#build +#TODO missing script for gnu make +# build instructions: https://pingcap.github.io/tidb-dev-guide/get-started/build-tidb-from-source.html#build [source] git = "https://github.com/pingcap/tidb" -rev = "8445821f105477d5e31de9d8451b7fbf35a02cd1" +rev = "v8.5.4" +shallow_clone = true [build] template = "custom"