<commit_before>class Grafana < Formula
  desc "Gorgeous metric visualizations and dashboards for timeseries databases"
  homepage "https://grafana.com"
  url "https://github.com/grafana/grafana/archive/v7.5.7.tar.gz"
  sha256 "ec1271b5a7202a12cb8046141025ad61aaa42e54425ab40acb7de46461896838"
  license "Apache-2.0"
  head "https://github.com/grafana/grafana.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "ddd463088f0e2b110daa0a076cecbf40ac759d166f0ff377fe55497906d16d8b"
    sha256 cellar: :any_skip_relocation, big_sur:       "99f10dfc572ec554adfa1c9b9042554e32bba862e7b93e6c9e3c7427bde8962b"
    sha256 cellar: :any_skip_relocation, mojave:        "2057435ff4d395cabf82c1db7b4e591ee2ef7bdded0f15d81eeca9f63e8728aa"
  end

  depends_on "go" => :build
  depends_on "node" => :build
  depends_on "yarn" => :build

  uses_from_macos "zlib"

  on_linux do
    depends_on "fontconfig"
    depends_on "freetype"
  end

  def install
    system "go", "run", "build.go", "build"

    system "yarn", "install", "--ignore-engines", "--network-concurrency", "1"

    system "node_modules/webpack/bin/webpack.js", "--config", "scripts/webpack/webpack.prod.js"

    on_macos do
      bin.install Dir["bin/darwin-*/grafana-cli"]
      bin.install Dir["bin/darwin-*/grafana-server"]
    end<commit_msg>grafana: update 7.5.7 bottle.<commit_after>class Grafana < Formula
  desc "Gorgeous metric visualizations and dashboards for timeseries databases"
  homepage "https://grafana.com"
  url "https://github.com/grafana/grafana/archive/v7.5.7.tar.gz"
  sha256 "ec1271b5a7202a12cb8046141025ad61aaa42e54425ab40acb7de46461896838"
  license "Apache-2.0"
  head "https://github.com/grafana/grafana.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "a4ca546ae68d72fd29fa7d7f97d71a1efee2e3ef7ef7b90c0b4ca253d50dba01"
    sha256 cellar: :any_skip_relocation, big_sur:       "e92532992981ecced322d7115d2f53dd07743ef72d74eaca76cdc18a9eb74def"
    sha256 cellar: :any_skip_relocation, catalina:      "8e859bcf0ad5cc6b283a24a837cde72f4b511578667a8b5136459c1c7866bfc0"
    sha256 cellar: :any_skip_relocation, mojave:        "11dfdf69c7ddf4b11f3c3983a02eee21329ea105f693713e84e12c4517bdd07f"
  end

  depends_on "go" => :build
  depends_on "node" => :build
  depends_on "yarn" => :build

  uses_from_macos "zlib"

  on_linux do
    depends_on "fontconfig"
    depends_on "freetype"
  end

  def install
    system "go", "run", "build.go", "build"

    system "yarn", "install", "--ignore-engines", "--network-concurrency", "1"

    system "node_modules/webpack/bin/webpack.js", "--config", "scripts/webpack/webpack.prod.js"

    on_macos do
      bin.install Dir["bin/darwin-*/grafana-cli"]
      bin.install Dir["bin/darwin-*/grafana-server"]
    end
{'fraction_non_alphanumeric': 0.11179228272628922, 'fraction_numerical': 0.141363144608727, 'mean_word_length': 4.604040404040404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '4366206', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1153, 'n_words': 171}