profile
viewpoint
Christian Moritz chrmoritz Dresden, Germany

chrmoritz/qr3d 2

a WebGL based 3D QR code renderer which can be used to test QR code scanners ability to read them under high angles, bad light conditions etc.

chrmoritz/asura-chess 0

GW2 Asura Chess Game (hmtl5, javascript, css)

chrmoritz/brew 0

:beer: The missing package manager for OS X

chrmoritz/cargo_gn 0

Cargo GN integration

chrmoritz/chromium_build 0

Deno floats patches to //build here (they will be sent upstream eventually)

chrmoritz/deno 0

A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio

chrmoritz/dns.js.org 0

Free and short JS.ORG domains for GitHub Pages

chrmoritz/formula-patches 0

:hospital: Patches for Homebrew formulae

chrmoritz/fritzapi 0

Home automation API for Fritz!Box, Fritz!DECT and FRITZ!Powerline devices

issue commentHomebrew/homebrew-core

v8@8.4 Embedder-vs-V8 build configuration mismatch.

I think you'd just need to enable pointer compression on your side, when building your project by passing an additionally -DV8_COMPRESS_POINTERS to clang. See also: https://stackoverflow.com/questions/62921373/embedder-side-pointer-compression-is-disabled

oft

comment created time in 25 days

issue commentHomebrew/homebrew-core

v8@8.4 Embedder-vs-V8 build configuration mismatch.

While I partly agree that V8 is making things unnecessarily more complicated for embedders here, I don't see any action we can do on the packaging software side we could do to help with that.

Imho, I believe that the advantages of having pointer compression enabled outweigh it's disadvantages. Also homebrew usually follows the default upstream build options (unless there are really good reasons to not do so) when configuring software it packages and I hope you understand that a single complain from one user is just not enough to change that build for all consumers of the V8 formula.

I know that compiling V8 takes quite some time, but maybe you should consider building a custom build of V8 from source as part of you software build step?

oft

comment created time in 25 days

issue commentHomebrew/homebrew-core

v8@8.4 Embedder-vs-V8 build configuration mismatch.

Why should it be? Software is evolving and sometimes it just has breaking changes in major versions (yeah 8.4.371.19 is considered a major update from 8.3.110.13 in the strange V8 version scheme).

The only thing is, that the default value is very browser centric choose here. It limits the heap size to 4GB, which might not be enough for some heavy non-browser use cases. But enabling it reduces memory consumption by about 40% on average, which is a good thing to have.

So I'm actually not sure if it's worth deviating from the upstream chosen default build options here, because of a single report. If you really need to address more memory in a single instance, consider creating a custom v8 build without pointer compression enabled by yourself. Otherwise it might be just beneficially to build your software with pointer compression enabled to get the benefit of about 40% reduced memory consumption.

oft

comment created time in a month

issue commentHomebrew/homebrew-core

v8@8.4 Embedder-vs-V8 build configuration mismatch.

We're just following the default build configuration of V8 here. If you want to compile your app with pointer compression enabled just set -DV8_COMPRESS_POINTERS. Otherwise you would need to create your own custom V8 build by setting the gn arg v8_enable_pointer_compression to false.

oft

comment created time in a month

create barnchchrmoritz/homebrew-core

branch : v8-8.4.371.19

created branch time in a month

PR opened Homebrew/homebrew-core

v8 8.4.371.19

Created with brew bump-formula-pr.

+7 -7

0 comment

2 changed files

pr created time in a month

pull request commentHomebrew/homebrew-core

kibana 7.8.0

After looking into it locally it looks like the plugin issue is only a warning and the real error comes from the test now trying to access a running elasticsearch instance to do some migration work.

/usr/bin/sandbox-exec -f /private/tmp/homebrew20200710-67420-kraxz9.sb ruby -W0 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/test.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/kibana.rb --verbose
  log   [02:53:15.178] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: apm_oss
  log   [02:53:16.304] [info][plugins-service] Plugin "visTypeXy" is disabled.
  log   [02:53:16.509] [info][plugins-system] Setting up [42] plugins: [usageCollection,telemetryCollectionManager,telemetry,kibanaLegacy,devTools,newsfeed,mapsLegacy,uiActions,statusPage,share,kibanaUtils,kibanaReact,inspector,embeddable,esUiShared,indexPatternManagement,discover,charts,bfetch,expressions,data,home,console,apm_oss,management,advancedSettings,telemetryManagementSection,navigation,visualizations,visTypeVislib,visTypeVega,visTypeTimeseries,visTypeTimelion,visTypeMetric,visTypeTagcloud,visTypeTable,visTypeMarkdown,inputControlVis,savedObjects,visualize,dashboard,savedObjectsManagement]
==> curl -s 127.0.0.1:65453
  log   [02:53:16.741] [info][savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations...
  log   [02:53:16.765] [error][admin][elasticsearch] Request error, retrying
GET http://localhost:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip => connect ECONNREFUSED 127.0.0.1:9200
  log   [02:53:16.783] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/
  log   [02:53:16.785] [warning][admin][elasticsearch] No living connections
  log   [02:53:16.786] [error][savedobjects-service] Unable to retrieve version information from Elasticsearch nodes.

SMillerDev

comment created time in a month

PR opened Homebrew/homebrew-core

metricbeat 7.8.0
  • [x] Have you followed the guidelines for contributing?
  • [ ] Have you checked that there aren't other open pull requests for the same formula update/change?
  • [x] Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Supersedes: #56535

Looks like the python modules were only needed for their tests and they aren't now no longer installed when building metricbeat from source. Except from that this PR also adapts to the changes for the fully mage based build intorduced in this version.

+4 -21

0 comment

1 changed file

pr created time in a month

create barnchchrmoritz/homebrew-core

branch : metricbeat

created branch time in a month

issue commentHomebrew/homebrew-core

[epic] Refactor rust formulas to leverage `std_cargo_args`

You've missed deno, which uses -vv as an extra argument to actually get build output from the gn based V8 build phase.

vladimyr

comment created time in 2 months

pull request commentHomebrew/homebrew-core

metricbeat 7.8.0

https://github.com/chrmoritz/homebrew-core/commit/e928c7701076e613552dc9a14217f81ae805187e fixes the build issue, however I'm not sure yet how we should prevent downloading binary wheels now with the new build system.

SMillerDev

comment created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha e928c7701076e613552dc9a14217f81ae805187e

metricbear 7.8.0

view details

push time in 2 months

pull request commentHomebrew/homebrew-core

elasticsearch 7.8.0

Yeah, elasticsearch 7.7.0+ requrres openjdk 14, see #55419. Should have added a comment though.

SMillerDev

comment created time in 2 months

pull request commentHomebrew/homebrew-core

kibana 7.8.0

This shouldn't be merged either, because (unlike the beats) kibana requires the same minor version as elasticsearch according to their compatibility matrix and the elasticsearch upgrade is blocked by openjdk 14.

SMillerDev

comment created time in 2 months

pull request commentHomebrew/homebrew-core

elasticsearch 7.8.0

I think this this is still blocked by openjdk 14: #51883.

SMillerDev

comment created time in 2 months

pull request commentHomebrew/homebrew-core

metricbeat 7.8.0

They've updated the build system of this beat too in 7.8.0. Taking a look now.

SMillerDev

comment created time in 2 months

create barnchchrmoritz/homebrew-core

branch : v8-8.3.110.13

created branch time in 2 months

PR opened Homebrew/homebrew-core

v8 8.3.110.13

Created with brew bump-formula-pr.

+2 -2

0 comment

1 changed file

pr created time in 2 months

pull request commentHomebrew/homebrew-core

kibana 7.6.2

Kinda, if something isn't working correctly, which isn't covered by the isolated test, then people will open issues I guess. I'm also not someone with enough experience with the elastic stack to extensively test it completely. So fingers crossed, but I'm quite confident that it should work.

Also it's still better than further keeping these formulae on the outdated 6.x release line.

ankane

comment created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 85ae87c96180603515b387cfcd6a557c3a53f28a

filebeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 6fefd1e2f19f5095538d4dd84a8879a350679ab3

packetbeat 7.7.1

view details

push time in 2 months

Pull request review commentHomebrew/homebrew-core

auditbeat 7.7.1

 def plist       touch testpath/"files/touch"       sleep 30       s = IO.readlines(testpath/"auditbeat/auditbeat").last(1)[0]-      assert_match "\"action\":\[\"created\"\]", s+      assert_match /"action":\["(initial_scan|created)"\]/, s       realdirpath = File.realdirpath(testpath)       assert_match "\"path\":\"#{realdirpath}/files/touch\"", s     ensure

Right, removed from all *beat formulae.

chrmoritz

comment created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 22fac1aefec876ce4336716830bfca58c90afb7f

heartbeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 438c0dd1d18a5e32aaec19048d2fc8ee0e195f91

metricbeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 850c29a9e1f036ab0f93af07a55cb0dd8d90dfb7

filebeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 3e566f79b638d5c8c6ba003b6238c6a728796fc5

auditbeat 7.7.1

view details

push time in 2 months

Pull request review commentHomebrew/homebrew-core

packetbeat 7.7.1

+class Packetbeat < Formula+  desc "Lightweight Shipper for Network Data"+  homepage "https://www.elastic.co/products/beats/packetbeat"+  url "https://github.com/elastic/beats.git",+    :tag      => "v7.7.1",+    :revision => "932b273e8940575e15f10390882be205bad29e1f"+  head "https://github.com/elastic/beats.git"++  depends_on "go" => :build+  depends_on "python@3.8" => :build++  resource "virtualenv" do+    url "https://files.pythonhosted.org/packages/b1/72/2d70c5a1de409ceb3a27ff2ec007ecdd5cc52239e7c74990e32af57affe9/virtualenv-15.2.0.tar.gz"+    sha256 "1d7e241b431e7afce47e77f8843a276f652699d1fa4f93b9d8ce0076fd7b0b54"+  end++  def install+    # remove non open source files+    rm_rf "x-pack"++    ENV["GOPATH"] = buildpath+    (buildpath/"src/github.com/elastic/beats").install buildpath.children++    xy = Language::Python.major_minor_version "python3"+    ENV.prepend_create_path "PYTHONPATH", buildpath/"vendor/lib/python#{xy}/site-packages"++    resource("virtualenv").stage do+      system Formula["python@3.8"].opt_bin/"python3", *Language::Python.setup_install_args(buildpath/"vendor")+    end++    ENV.prepend_path "PATH", buildpath/"vendor/bin" # for virtualenv+    ENV.prepend_path "PATH", buildpath/"bin" # for mage (build tool)++    cd "src/github.com/elastic/beats/packetbeat" do+      system "make", "mage"+      # prevent downloading binary wheels during python setup+      system "make", "PIP_INSTALL_COMMANDS=--no-binary :all", "python-env"+      system "mage", "-v", "build"+      ENV.deparallelize+      system "mage", "-v", "update"++      inreplace "packetbeat.yml", "packetbeat.interfaces.device: any", "packetbeat.interfaces.device: en0"++      (etc/"packetbeat").install Dir["packetbeat.*", "fields.yml"]+      (libexec/"bin").install "packetbeat"+      prefix.install "_meta/kibana"+    end++    prefix.install_metafiles buildpath/"src/github.com/elastic/beats"++    (bin/"packetbeat").write <<~EOS+      #!/bin/sh+      exec #{libexec}/bin/packetbeat \+        --path.config #{etc}/packetbeat \+        --path.data #{var}/lib/packetbeat \+        --path.home #{prefix} \+        --path.logs #{var}/log/packetbeat \+        "$@"+    EOS+  end++  plist_options :manual => "packetbeat"++  def plist+    <<~EOS+      <?xml version="1.0" encoding="UTF-8"?>+      <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"+      "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+      <plist version="1.0">+        <dict>+          <key>Label</key>+          <string>#{plist_name}</string>+          <key>Program</key>+          <string>#{opt_bin}/packetbeat</string>+          <key>RunAtLoad</key>+          <true/>+        </dict>+      </plist>+    EOS+  end++  test do+    system "#{bin}/packetbeat", "devices"

sure, but actually sniffing on the network devices would require root privileges, so we can't test it here.

chrmoritz

comment created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 67b67f3bbe0a1c96d93d2d8040c3ba2040f31810

packetbeat 7.7.1

view details

push time in 2 months

pull request commentHomebrew/homebrew-core

auditbeat 7.7.1

Another question is, if we wont to create versioned @6 formulae for the *beat formulae too (similar the to ones created in the elasticsearch and kibana PR).

It could make sense for auditbeat, filebeat and metricbeat since 6.x is an active maintained branch with get as regular updates as the 7.x branch. It might not be worth it for heartbeat because we can't update it past 6.2 because of the licensing issue there and it's definitely not possible for packetbeat because fo the lack of Python 3 support there.

chrmoritz

comment created time in 2 months

Pull request review commentHomebrew/homebrew-core

auditbeat 7.7.1

 def install     ENV.prepend_create_path "PYTHONPATH", buildpath/"vendor/lib/python2.7/site-packages"      resource("virtualenv").stage do-      system "python", *Language::Python.setup_install_args(buildpath/"vendor")+      system "python3", *Language::Python.setup_install_args(buildpath/"vendor")

Ok, done for all *beat formulae. However there are still a lot of other formula in homebrew-core, which still just call system "python3".

chrmoritz

comment created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha d076fcba3e5ae591ca85759a0fd45b433c42124c

packetbeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 450fdbe27f3d318900ef73880f97211d8862fbf1

heartbeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 547d936ce5857caeadef45b65eba57a819ce64af

metricbeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha d1c0d3e59a4aed19424f2c0c48bce61bafbd93a9

filebeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 1cf793b2b79355a4745a669ddf745fc1d4b08e91

auditbeat 7.7.1

view details

push time in 2 months

PR opened Homebrew/homebrew-core

packetbeat 7.7.1
  • [x] Have you followed the guidelines for contributing?
  • [x] Have you checked that there aren't other open pull requests for the same formula update/change?
  • [x] Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

This PR restores the packetbeat. It was previously removed in #43861 for the lack of Python 3 support, but that was fixed in version 7+.

Refs: #55419 Please merge this together with the rest of the eleastic 7 formulae.

ToDo:

  • [ ] test everything
  • [x] merge together with elasticsearch #55419
  • [x] merge together with kibana #55967
  • [x] merge together with auditbeat #56035
  • [x] merge together with filebeat #56036
  • [x] merge together with metricbeat #56041
  • [x] merge together with heartbeat #56135
  • [x] merge together with packetbeat
+93 -0

0 comment

1 changed file

pr created time in 2 months

create barnchchrmoritz/homebrew-core

branch : packetbeat7

created branch time in 2 months

pull request commentHomebrew/homebrew-core

kibana 7.6.2

Great! Can you confirm that everything works with the updated *beat formulae together. I'm not sure about how much I want to trust solely on the isolated test inside the formulae.

ankane

comment created time in 2 months

PR opened Homebrew/homebrew-core

heartbeat 7.7.1
  • [x] Have you followed the guidelines for contributing?
  • [x] Have you checked that there aren't other open pull requests for the same formula update/change?
  • [x] Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

This PR upgrades auditbeat to version 7.7.1 and moves it to the x-pack less OSS build.

Refs: #55419 Please merge this together with the rest of the eleastic 7 formulae.

ToDo:

  • [ ] test everything
  • [x] merge together with elasticsearch #55419
  • [x] merge together with kibana #55967
  • [x] merge together with auditbeat #56035
  • [x] merge together with filebeat #56036
  • [x] merge together with metricbeat #56041
  • [x] merge together with heartbeat
+14 -10

0 comment

1 changed file

pr created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 19d152d5dd2af387186fc53c322fa8b8c070144b

heartbeat 7.7.1

view details

push time in 2 months

create barnchchrmoritz/homebrew-core

branch : heartbeat7

created branch time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 3b6d4b7fa00ff77ef4e786a4798a220ff6a37086

kibana 7.6.2

view details

push time in 2 months

create barnchchrmoritz/homebrew-core

branch : kibana7

created branch time in 2 months

Pull request review commentHomebrew/homebrew-core

kibana 7.6.2

 class Kibana < Formula     sha256 "21d01f2b1a4e462b0cf48443eb2334bea56f9ea8c4d5302202279924fa8499f4" => :high_sierra   end +  depends_on "python@3.8" => :build   depends_on "yarn" => :build-  depends_on :macos # Due to Python 2   depends_on "node@10"    def install-    # remove non open source files-    rm_rf "x-pack"

Please keep this, it works now out of the box (the inreplace's aren't needed anymore, because the build script now handles the case of missing tsconfig.json's itself)!

ankane

comment created time in 2 months

Pull request review commentHomebrew/homebrew-core

kibana 7.6.2

 class Kibana < Formula     sha256 "21d01f2b1a4e462b0cf48443eb2334bea56f9ea8c4d5302202279924fa8499f4" => :high_sierra   end +  depends_on "python@3.8" => :build   depends_on "yarn" => :build-  depends_on :macos # Due to Python 2   depends_on "node@10"    def install-    # remove non open source files-    rm_rf "x-pack"-    inreplace "package.json", /"x-pack":.*/, ""--    # patch build to not try to read tsconfig.json's from the removed x-pack folder-    inreplace "src/dev/typescript/projects.ts" do |s|-      s.gsub! "new Project(resolve(REPO_ROOT, 'x-pack/tsconfig.json')),", ""-      s.gsub! "new Project(resolve(REPO_ROOT, 'x-pack/test/tsconfig.json'), 'x-pack/test'),", ""-    end-     inreplace "package.json", /"node": "10\.\d+\.\d+"/, %Q("node": "#{Formula["node@10"].version}")     system "yarn", "kbn", "bootstrap"     system "yarn", "build", "--oss", "--release", "--skip-os-packages", "--skip-archives"

We should probably directly call the build strict with

    system "node", "scripts/build", "--oss", "--release", "--skip-os-packages", "--skip-archives"

here, because yarn build calls it with --all-platforms which is unnecessary for us.

ankane

comment created time in 2 months

PR opened Homebrew/homebrew-core

metricbeat 7.7.1
  • [x] Have you followed the guidelines for contributing?
  • [x] Have you checked that there aren't other open pull requests for the same formula update/change?
  • [x] Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

This PR upgrades metricbeat to version 7.7.1 and moves it to use python@3.8.

Refs: #55419 Please merge this together with the rest of the eleastic 7 formulae.

ToDo:

  • [ ] migrate logstash
  • [ ] decide what to do with the nox compatible beats (deprecate? versioned only formula?)
  • [x] merge together with elasticsearch #55419
  • [x] merge together with kibana #55967 (maybe strip x-pack )
  • [x] merge together with auditbeat #56035
  • [x] merge together with filebeat #56036
+7 -6

0 comment

1 changed file

pr created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 4eac675a90fb5aecc05b4c33b6df0630375e0431

metricbeat 7.7.1

view details

push time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 675d2ff365897b4d6d7189824a1e0a38e313ccc4

auditbeat 7.7.1

view details

push time in 2 months

PR opened Homebrew/homebrew-core

filebeat 7.7.1
  • [x] Have you followed the guidelines for contributing?
  • [x] Have you checked that there aren't other open pull requests for the same formula update/change?
  • [x] Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

This PR upgrades filebeat to version 7.7.1 and moves it to use python@3.8.

Refs: #55419 Please merge this together with the rest of the eleastic 7 formulae.

ToDo:

  • [ ] migrate metricbeat
  • [ ] migrate logstash
  • [ ] decide what to do with the nox compatible beats (deprecate? versioned only formula?)
  • [x] merge together with elasticsearch #55419
  • [x] merge together with kibana #55967 (maybe strip x-pack )
  • [x] merge together with auditbeat #56035
+19 -12

0 comment

1 changed file

pr created time in 2 months

create barnchchrmoritz/homebrew-core

branch : filebeat7

created branch time in 2 months

Pull request review commentHomebrew/homebrew-core

auditbeat 7.7.1

 def install     ENV.prepend_create_path "PYTHONPATH", buildpath/"vendor/lib/python2.7/site-packages"      resource("virtualenv").stage do-      system "python", *Language::Python.setup_install_args(buildpath/"vendor")+      system "python3", *Language::Python.setup_install_args(buildpath/"vendor")

Oh right.

chrmoritz

comment created time in 2 months

create barnchchrmoritz/homebrew-core

branch : metricbeat7

created branch time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha c3559da088e714472d27463346083fa4df62fb69

auditbeat 7.7.1

view details

push time in 2 months

PR opened Homebrew/homebrew-core

auditbeat 7.7.1
  • [x] Have you followed the guidelines for contributing?
  • [x] Have you checked that there aren't other open pull requests for the same formula update/change?
  • [x] Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [x] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

This PR upgrades auditbeat to version 7.7.1 and moves it to use python@3.8.

Refs: #55419 Please merge this together with the rest of the eleastic 7 formulae.

ToDo:

  • [ ] migrate metricbeat
  • [ ] migrate filebeat
  • [ ] migrate logstash
  • [ ] decide what to do with the nox compatible beats (deprecate? versioned only formula?)
  • [x] merge together with elasticsearch #55419
  • [x] merge together with kibana #55967
+9 -17

0 comment

1 changed file

pr created time in 2 months

push eventchrmoritz/homebrew-core

Christian Moritz

commit sha 134cebe29ba709df9ec998594c46940c3e96ef16

auditbeat 7.7.1

view details

push time in 2 months

create barnchchrmoritz/homebrew-core

branch : auditbeat7

created branch time in 2 months

push eventchrmoritz/homebrew-starcheat

Christian Moritz

commit sha d3e58c23748667ea316e1724690e974c5bd2a3a0

Update README.md

view details

push time in 2 months

push eventchrmoritz/homebrew-starcheat

Christian Moritz

commit sha a68d6c2b186b2532a683a31beacf991b5fa6fff5

devel is deprecated

view details

push time in 2 months

Pull request review commentHomebrew/homebrew-core

elasticsearch 7.6

+class ElasticsearchAT76 < Formula+  desc "Distributed search & analytics engine"+  homepage "https://www.elastic.co/products/elasticsearch"+  url "https://github.com/elastic/elasticsearch/archive/v7.6.2.tar.gz"+  sha256 "6ff4871dcae6954e13680aefc196da574a59a36418d06a7e095550ce81a370f8"++  head do+    url "https://github.com/elasticsearch/elasticsearch.git"+  end++  depends_on "openjdk"++  def cluster_name+    "elasticsearch_#{ENV["USER"]}"+  end++  def install+    # Build the package from source+    system "./gradlew", ":distribution:archives:oss-no-jdk-darwin-tar:assemble"++    mkdir "tar" do+      # Extract the package to the tar directory+      system "tar", "--strip-components=1", "-xf",+        Dir["../distribution/archives/oss-no-jdk-darwin-tar/build/distributions/elasticsearch-oss-*.tar.gz"].first++      # Install into package directory+      libexec.install "bin", "config", "lib", "modules"
      libexec.install "bin", "lib", "modules"
      (etc/"elasticsearch").install Dir["config/*"]

and updating the config inreplace's below

ankane

comment created time in 3 months

Pull request review commentHomebrew/homebrew-core

elasticsearch 7.6

+class ElasticsearchAT76 < Formula+  desc "Distributed search & analytics engine"+  homepage "https://www.elastic.co/products/elasticsearch"+  url "https://github.com/elastic/elasticsearch/archive/v7.6.2.tar.gz"+  sha256 "6ff4871dcae6954e13680aefc196da574a59a36418d06a7e095550ce81a370f8"++  head do+    url "https://github.com/elasticsearch/elasticsearch.git"+  end++  depends_on "openjdk"++  def cluster_name+    "elasticsearch_#{ENV["USER"]}"+  end++  def install+    # Build the package from source+    system "./gradlew", ":distribution:archives:oss-no-jdk-darwin-tar:assemble"++    mkdir "tar" do+      # Extract the package to the tar directory+      system "tar", "--strip-components=1", "-xf",+        Dir["../distribution/archives/oss-no-jdk-darwin-tar/build/distributions/elasticsearch-oss-*.tar.gz"].first++      # Install into package directory+      libexec.install "bin", "config", "lib", "modules"+    end++    inreplace libexec/"bin/elasticsearch-env",+              "if [ -z \"$ES_PATH_CONF\" ]; then ES_PATH_CONF=\"$ES_HOME\"/config; fi",+              "if [ -z \"$ES_PATH_CONF\" ]; then ES_PATH_CONF=\"#{etc}/elasticsearch\"; fi"++    # Set up Elasticsearch for local development:+    inreplace "#{libexec}/config/elasticsearch.yml" do |s|+      # 1. Give the cluster a unique name+      s.gsub!(/#\s*cluster\.name\: .*/, "cluster.name: #{cluster_name}")++      # 2. Configure paths+      s.sub!(%r{#\s*path\.data: /path/to.+$}, "path.data: #{var}/lib/elasticsearch/")+      s.sub!(%r{#\s*path\.logs: /path/to.+$}, "path.logs: #{var}/log/elasticsearch/")+    end++    inreplace "#{libexec}/config/jvm.options", %r{logs/gc.log}, "#{var}/log/elasticsearch/gc.log"++    # Move config files into etc+    (etc/"elasticsearch").install Dir[libexec/"config/*"]+    (libexec/"config").rmtree++    bin.install libexec/"bin/elasticsearch",+                libexec/"bin/elasticsearch-keystore",+                libexec/"bin/elasticsearch-plugin",+                libexec/"bin/elasticsearch-shard"+    bin.env_script_all_files(libexec/"bin", :JAVA_HOME => Formula["openjdk"].opt_prefix)+  end++  def post_install+    # Make sure runtime directories exist+    (var/"lib/elasticsearch").mkpath+    (var/"log/elasticsearch").mkpath+    ln_s etc/"elasticsearch", libexec/"config" unless (libexec/"config").exist?+    (var/"elasticsearch/plugins").mkpath+    ln_s var/"elasticsearch/plugins", libexec/"plugins" unless (libexec/"plugins").exist?+    # fix test not being able to create keystore because of sandbox permissions+    system bin/"elasticsearch-keystore", "create" unless (etc/"elasticsearch/elasticsearch.keystore").exist?

A far as I understand this, we need a created keystore to run the tests. But because etc/elasticsearch is protected by the sandbox during test time, we need to create said keystore in post_install.

However I'm not sure how good and bad already creating a default keystore is for actual users of this formula.

ankane

comment created time in 3 months

pull request commentHomebrew/homebrew-core

v8 8.3.110.9

@jeroen Did you update all the resources according to the DEPS file? For me it looks like you could have missed the icu upgrade in: https://github.com/v8/v8/blob/8.4.371.7/DEPS#L79

chrmoritz

comment created time in 3 months

issue commentHomebrew/homebrew-core

brew test node failing

It's looks like you have damaged your npm/npx installation (in /usr/local/bin) somehow.

Could you try to run brew postinstall node and then try brew test node again?

ryenus

comment created time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.10.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.11.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.12.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-7.5.288.30

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.13.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-7.6.303.27

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : node-12.7.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-7.6.303.29

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.14.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.16.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.15.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : node-12.8.1

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : node@10-10.16.3

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : node@8-8.16.1

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.17.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-7.7.299.11

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : joplin-1.0.150

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.26.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.25.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-7.9.317.31

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.28.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.28.1

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.30.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-8.0.426.16

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-8.0.426.25

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-1.0.1

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-1.0.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : v8-8.1.307.28

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.40.0

delete time in 3 months

delete branch chrmoritz/homebrew-core

delete branch : deno-0.42.0

delete time in 3 months

delete branch chrmoritz/homebrew-deno

delete branch : deno-1.0.1

delete time in 3 months

push eventchrmoritz/homebrew-deno

Christian Moritz

commit sha 5a29e44df6b38c8acdf035b33ad7699309dca5ae

deno 1.0.1 (#6)

view details

push time in 3 months

PR merged chrmoritz/homebrew-deno

deno 1.0.1
+3 -3

0 comment

1 changed file

chrmoritz

pr closed time in 3 months

push eventchrmoritz/homebrew-deno

Christian Moritz

commit sha 74968f07b93ce82c29f667ad705f9adb93ed4ffc

Update deno.rb

view details

push time in 3 months

delete branch chrmoritz/homebrew-deno

delete branch : deno-1.0.0

delete time in 3 months

PR opened chrmoritz/homebrew-deno

deno 1.0.1
+2 -2

0 comment

1 changed file

pr created time in 3 months

create barnchchrmoritz/homebrew-deno

branch : deno-1.0.1

created branch time in 3 months

create barnchchrmoritz/homebrew-core

branch : deno-1.0.1

created branch time in 3 months

more