Skip to content

Commit

Permalink
opensearch 2.16.0
Browse files Browse the repository at this point in the history
opensearch: remove patch

Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
BrewTestBot authored and p-linnane committed Aug 8, 2024
1 parent 4d1f3fa commit a0a3e5d
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions Formula/o/opensearch.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Opensearch < Formula
desc "Open source distributed and RESTful search engine"
homepage "https://github.com/opensearch-project/OpenSearch"
url "https://github.com/opensearch-project/OpenSearch/archive/refs/tags/2.15.0.tar.gz"
sha256 "047f0c26ec3ae54f6b0213d7191c346290c9d4ac2b8a6d21b0d947f9d36b83a6"
url "https://github.com/opensearch-project/OpenSearch/archive/refs/tags/2.16.0.tar.gz"
sha256 "a97926572ab790dc9e3af4075c957bd2225fd9dfb22fcdbc66073bd7c024c1c2"
license "Apache-2.0"

bottle do
Expand All @@ -18,9 +18,6 @@ class Opensearch < Formula
depends_on "gradle" => :build
depends_on "openjdk"

# upstream patch PR, https://github.com/opensearch-project/OpenSearch/pull/14182
patch :DATA

def install
platform = OS.kernel_name.downcase
platform += "-arm64" if Hardware::CPU.arm?
Expand Down Expand Up @@ -109,18 +106,3 @@ def caveats
system bin/"opensearch-plugin", "list"
end
end

__END__
diff --git a/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java b/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java
index 448ba8a..669a67e 100644
--- a/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java
+++ b/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java
@@ -199,7 +199,7 @@ public class GlobalBuildInfoPlugin implements Plugin<Project> {
}

private JvmInstallationMetadata getJavaInstallation(File javaHome) {
- final InstallationLocation location = new InstallationLocation(javaHome, "Java home");
+ final InstallationLocation location = InstallationLocation.userDefined(javaHome, "Java home");

try {
try {

0 comments on commit a0a3e5d

Please sign in to comment.