From de7c2b9d50eed12aa55a5ae4706e0786a3f428f6 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 18 Aug 2024 12:31:36 -0400 Subject: [PATCH 1/2] logdy 0.13.0 Signed-off-by: Rui Chen --- Formula/l/logdy.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Formula/l/logdy.rb b/Formula/l/logdy.rb index 74293933604b6..ef54a15e0c935 100644 --- a/Formula/l/logdy.rb +++ b/Formula/l/logdy.rb @@ -1,8 +1,8 @@ class Logdy < Formula desc "Web based real-time log viewer" homepage "https://logdy.dev" - url "https://github.com/logdyhq/logdy-core/archive/refs/tags/v0.13.tar.gz" - sha256 "e23010f4979f79b6545181d35a27b4e80f08815f7f9bfb089eb3d1bd4879fa0d" + url "https://github.com/logdyhq/logdy-core/archive/refs/tags/v0.13.0.tar.gz" + sha256 "7aec95af51d4d954ad01fcdd7e925269fa4cdbadab5484761c56fc54dc122c38" license "Apache-2.0" bottle do @@ -18,12 +18,13 @@ class Logdy < Formula depends_on "go" => :build def install - ldflags = "-s -w -X 'main.Version=#{version}'" + ldflags = "-s -w -X main.Version=#{version}" system "go", "build", *std_go_args(ldflags:) end test do - r, _, pid = PTY.spawn("#{bin}/logdy --port=#{free_port}") + port = free_port + r, _, pid = PTY.spawn("#{bin}/logdy --port=#{port}") assert_match "Listen to stdin (from pipe)", r.readline ensure Process.kill("TERM", pid) From ba90e0f40163abacc19c76e60532bda97cff0d5e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:17:38 +0000 Subject: [PATCH 2/2] logdy: update 0.13.0 bottle. --- Formula/l/logdy.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Formula/l/logdy.rb b/Formula/l/logdy.rb index ef54a15e0c935..19c720da6c0d7 100644 --- a/Formula/l/logdy.rb +++ b/Formula/l/logdy.rb @@ -6,13 +6,14 @@ class Logdy < Formula license "Apache-2.0" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "a9190a20f9e29be0744ac4ecf864d4cfa6db9c04dfc8ee3b934e1f702cebbb61" - sha256 cellar: :any_skip_relocation, arm64_ventura: "ba142b96d4dd276dbfaa45ffc42e41ab2918b41b3312d7d7ed23c215c97ad61c" - sha256 cellar: :any_skip_relocation, arm64_monterey: "bb2e139edd2ebb0d0e0939f3a93b6a19e86e21b84d63d2d9db05fc88c10c549f" - sha256 cellar: :any_skip_relocation, sonoma: "3cfecfbe4f13c85bc25453e83bac7ccb079d42bb9b87a5dedb7e518432ed56b3" - sha256 cellar: :any_skip_relocation, ventura: "bed24d829f1f6110106d3626f4f11d5ed7afd9b0c12a7c4bdd3a53e4d297fd05" - sha256 cellar: :any_skip_relocation, monterey: "0790f3c87c788b3c50b9aceb2590b4bb56d1d4cf3d6a0afb83dc12546e9bcb40" - sha256 cellar: :any_skip_relocation, x86_64_linux: "f239bd7a6a7ad620f541c1b06250e3cce3929746be8d76ec3e2c268b6eba8326" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sonoma: "903dda9a2dc16f7195b4bb3dfe94bcb7b91b1ec62b6cc1e89c7f9c3125b644d2" + sha256 cellar: :any_skip_relocation, arm64_ventura: "903dda9a2dc16f7195b4bb3dfe94bcb7b91b1ec62b6cc1e89c7f9c3125b644d2" + sha256 cellar: :any_skip_relocation, arm64_monterey: "903dda9a2dc16f7195b4bb3dfe94bcb7b91b1ec62b6cc1e89c7f9c3125b644d2" + sha256 cellar: :any_skip_relocation, sonoma: "60c0887e8ddacd4b9cd8ba871acac5634b44ff46b7d1ce3e3e46ff1abca7a0d2" + sha256 cellar: :any_skip_relocation, ventura: "60c0887e8ddacd4b9cd8ba871acac5634b44ff46b7d1ce3e3e46ff1abca7a0d2" + sha256 cellar: :any_skip_relocation, monterey: "60c0887e8ddacd4b9cd8ba871acac5634b44ff46b7d1ce3e3e46ff1abca7a0d2" + sha256 cellar: :any_skip_relocation, x86_64_linux: "632e162a3f8827b9ef6518a554653588474fadfedd0dfb92cf3a5523ad1b3170" end depends_on "go" => :build