<commit_before>class Sysdig < Formula
  desc "System-level exploration and troubleshooting tool"
  homepage "https://sysdig.com/"
  license "Apache-2.0"

  stable do
    url "https://github.com/draios/sysdig/archive/0.29.3.tar.gz"
    sha256 "6b96797859002ab69a2bed4fdba1c7fe8064ecf8661621ae7d8fbf8599ffa636"

    # Update to value of FALCOSECURITY_LIBS_VERSION found in
    # https://github.com/draios/sysdig/blob/#{version}/cmake/modules/falcosecurity-libs.cmake
    resource "falcosecurity-libs" do
      url "https://github.com/falcosecurity/libs/archive/e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz"
      sha256 "80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b"
    end
  end

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256                               arm64_monterey: "064c6b7c08ce6aa2d5664d2364c25b3fc0680b7f3fda8835a2040ec4b4dd808b"
    sha256                               arm64_big_sur:  "9046be4e17cffbedda501dd5555cb4686b9cac8a011d6faaa346401c69a3f591"
    sha256                               monterey:       "0a920e7d804e06a0092349581f30d7b5956ece4fbebed5601a590a8d08a03d06"
    sha256                               big_sur:        "03b2ffd477c14e19eaa1523e1fd9b1fbe3b016f5bcfaa1d7c8e3f94e018084d9"
    sha256                               catalina:       "e4828e09ace8aba03ef82fdf232a6182a31b4f9d17e761cf11b555bee5582bf8"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "bb70a32b4216e74583e16b6931ce5a633092052ee544f0a8b332a090c31bc1a8"
  end

  head do
    url "https://github.com/draios/sysdig.git", branch: "dev"

    resource "falcosecurity-libs" do
      url "https://github.com/falcosecurity/libs.git", branch: "master"
    end
  end

  depends_on "cmake" => :build
  depends_on "nlohmann-json" => :build
  depends_on "c-ares"
  depends_on "jsoncpp"
  depends_on "luajit-openresty"
  depends_on "openssl@1.1"
  depends_on "tbb"
  depends_on "yaml-cpp"

  uses_from_macos "curl"
  uses_from_macos "ncurses"<commit_msg>sysdig: update 0.29.3 bottle.<commit_after>class Sysdig < Formula
  desc "System-level exploration and troubleshooting tool"
  homepage "https://sysdig.com/"
  license "Apache-2.0"

  stable do
    url "https://github.com/draios/sysdig/archive/0.29.3.tar.gz"
    sha256 "6b96797859002ab69a2bed4fdba1c7fe8064ecf8661621ae7d8fbf8599ffa636"

    # Update to value of FALCOSECURITY_LIBS_VERSION found in
    # https://github.com/draios/sysdig/blob/#{version}/cmake/modules/falcosecurity-libs.cmake
    resource "falcosecurity-libs" do
      url "https://github.com/falcosecurity/libs/archive/e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz"
      sha256 "80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b"
    end
  end

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256                               arm64_monterey: "97e1ba6746747c67f407ee3ed9b3fa4166903c7eec45ddf47f2d8204bffc35f9"
    sha256                               arm64_big_sur:  "50848d59b22b62d1eea93552f2532dd1911865310d928960fc3a13b9cbd66bdb"
    sha256                               monterey:       "a41c54c5b32e774c5965d71d3b6a0fd936ecbd4f0815c6c54dfef310c2e0d98c"
    sha256                               big_sur:        "7e49beb236b914b2deab0091a01d15a70f9bb6a3858ea7dc12a96f9e16083eb6"
    sha256                               catalina:       "96321cffc77eec9c212d85aadae63fc53ae619ee7cf2656962884a57814bed35"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "25366802cc7fc6b50e1f03df76b27d0edaeb4537cd85fcb7861865466eec27b0"
  end

  head do
    url "https://github.com/draios/sysdig.git", branch: "dev"

    resource "falcosecurity-libs" do
      url "https://github.com/falcosecurity/libs.git", branch: "master"
    end
  end

  depends_on "cmake" => :build
  depends_on "nlohmann-json" => :build
  depends_on "c-ares"
  depends_on "jsoncpp"
  depends_on "luajit-openresty"
  depends_on "openssl@1.1"
  depends_on "tbb"
  depends_on "yaml-cpp"

  uses_from_macos "curl"
  uses_from_macos "ncurses"
{'fraction_non_alphanumeric': 0.07677067855373948, 'fraction_numerical': 0.18672610203070827, 'mean_word_length': 3.2381951731374605, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '869030', 'n_tokens_mistral': 2082, 'n_tokens_neox': 1697, 'n_words': 208}