From b7a081368e4cabad0e91e7afa0ad439f21e69f0d Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Tue, 21 May 2024 11:24:16 +0800 Subject: [PATCH 1/3] risingwave 1.9.0 --- Formula/risingwave.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/risingwave.rb b/Formula/risingwave.rb index 39d24f9..d44e5d1 100644 --- a/Formula/risingwave.rb +++ b/Formula/risingwave.rb @@ -1,8 +1,8 @@ class Risingwave < Formula desc "Distributed SQL database for stream processing" homepage "https://github.com/risingwavelabs/risingwave" - url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.8.1.tar.gz" - sha256 "bb4c2a7c6bcc3f8509e1ae25a06cf12bfec87f52bbc2a1e3e840bdea77e76353" + url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.9.0.tar.gz" + sha256 "199ed77a97785e3126ff594c145881e80af82d7c1ecf2da249bb0201d9c546b8" license "Apache-2.0" head "https://github.com/risingwavelabs/risingwave.git", branch: "main" From 728c14310e5898e88d1fe85382510959c4648cc8 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Tue, 21 May 2024 11:32:34 +0800 Subject: [PATCH 2/3] embedded dashboard & bump connector Signed-off-by: Bugen Zhao --- Formula/risingwave.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Formula/risingwave.rb b/Formula/risingwave.rb index d44e5d1..d46b623 100644 --- a/Formula/risingwave.rb +++ b/Formula/risingwave.rb @@ -13,14 +13,15 @@ class Risingwave < Formula end depends_on "cmake" => :build + depends_on "node@20" => :build depends_on "protobuf" => :build depends_on "rustup-init" => :build depends_on "java11" depends_on "openssl@3" resource "connector" do - url "https://github.com/risingwavelabs/risingwave/releases/download/v1.8.0/risingwave-v1.8.0-x86_64-unknown-linux-all-in-one.tar.gz" - sha256 "341fd43fe75535732e67f11dee544cf309b30a30ad76370a6d5313dc6a5147e5" + url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.0/risingwave-v1.9.0-x86_64-unknown-linux-all-in-one.tar.gz" + sha256 "ab736b8ec145cd32741e5ed548e8d3441ed22360d5555b0f94cd1b2e8036347e" end def install @@ -51,6 +52,9 @@ def install s.gsub!(/"-Clink-arg=.*ld64.lld",?/, "") end + # Enable building embedded dashboard. + ENV["ENABLE_BUILD_DASHBOARD"] = "1" + system "cargo", "install", "--bin", "risingwave", "--features", "rw-static-link", From 9ecba35a3131a8ed5961aa4a7201fce51e9e9c7f Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Wed, 12 Jun 2024 16:30:18 +0800 Subject: [PATCH 3/3] bump to 1.9.1 Signed-off-by: Bugen Zhao --- Formula/risingwave.rb | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Formula/risingwave.rb b/Formula/risingwave.rb index d46b623..70d60a9 100644 --- a/Formula/risingwave.rb +++ b/Formula/risingwave.rb @@ -1,17 +1,11 @@ class Risingwave < Formula desc "Distributed SQL database for stream processing" homepage "https://github.com/risingwavelabs/risingwave" - url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.9.0.tar.gz" - sha256 "199ed77a97785e3126ff594c145881e80af82d7c1ecf2da249bb0201d9c546b8" + url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.9.1.tar.gz" + sha256 "a2ad286cde11891906082f54ca5edb997382df639acee83e096b921b0d29a642" license "Apache-2.0" head "https://github.com/risingwavelabs/risingwave.git", branch: "main" - bottle do - root_url "https://github.com/risingwavelabs/homebrew-risingwave/releases/download/risingwave-1.8.1" - sha256 cellar: :any, arm64_ventura: "630e3202368b421b5675b2ce23bdb33c2bbbceb7ff666f585a84b0e99266212c" - sha256 cellar: :any, ventura: "d0017953eb91e9db7ef99da639b6b560a9f6485fe6b37d7e12a5d8ade87b7563" - end - depends_on "cmake" => :build depends_on "node@20" => :build depends_on "protobuf" => :build @@ -20,8 +14,8 @@ class Risingwave < Formula depends_on "openssl@3" resource "connector" do - url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.0/risingwave-v1.9.0-x86_64-unknown-linux-all-in-one.tar.gz" - sha256 "ab736b8ec145cd32741e5ed548e8d3441ed22360d5555b0f94cd1b2e8036347e" + url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.1/risingwave-v1.9.1-x86_64-unknown-linux-all-in-one.tar.gz" + sha256 "8f88a4754aebd94196e49f67300180ddf2236d88d93da96cd9e053b2f7487fc8" end def install