<commit_before>class Thanos < Formula
  desc "Highly available Prometheus setup with long term storage capabilities"
  homepage "https://thanos.io"
  url "https://github.com/thanos-io/thanos/archive/v0.28.0.tar.gz"
  sha256 "095466b601fbe5c0323beb4b8d93970d6bcb8b2f9607cd5da9514c2d4207b072"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "aadad4ecf3e3b3f3fd376b6765ec4b0656d4f307d372a037422cfde845546c0a"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "73778b7316f6ccb7c336ab1db26554105a396bcaf494c182947525ccefdcd681"
    sha256 cellar: :any_skip_relocation, monterey:       "b83be437963c722be7ae78b8b8986587e8124a0660bf8a7a07383d7f41e9d0f6"
    sha256 cellar: :any_skip_relocation, big_sur:        "5a37b690211c8b396c68e4f613127cdbb11927898d5b82166ae5d9620fdc0fc2"
    sha256 cellar: :any_skip_relocation, catalina:       "2a0a34152ceb265bc009d0dc71b1d1748276a052abb05d51f04b73acf1a118b0"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "c78c7cbb0b8e2597e3d970fa73caa60dac66ce055ddeeb13a38396734516147f"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/thanos"
  end

  test do
    (testpath/"bucket_config.yaml").write <<~EOS
      type: FILESYSTEM
      config:
        directory: #{testpath}
    EOS

    output = shell_output("#{bin}/thanos tools bucket inspect --objstore.config-file bucket_config.yaml")
    assert_match "| ULID |", output
  end
end<commit_msg>thanos: update 0.28.0 bottle.<commit_after>class Thanos < Formula
  desc "Highly available Prometheus setup with long term storage capabilities"
  homepage "https://thanos.io"
  url "https://github.com/thanos-io/thanos/archive/v0.28.0.tar.gz"
  sha256 "095466b601fbe5c0323beb4b8d93970d6bcb8b2f9607cd5da9514c2d4207b072"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "ba0227c5080516d799fdc9a760a4caf154f42c8f4a0e4c3303e70f1cb45a3eff"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "021b8c531e15b3ef3e765d8ac856637f83353eaf472b62b1aec3b75e8b841df7"
    sha256 cellar: :any_skip_relocation, monterey:       "1d527d2229e736a328cc778a2bbfff3958c53a884f57f397704e156334f60e45"
    sha256 cellar: :any_skip_relocation, big_sur:        "f7eef2a300371308dfb3601e081c7a99829c68e54144f601ef8f2e18faedcea3"
    sha256 cellar: :any_skip_relocation, catalina:       "d76354b98e19342abfa2fa069464a9d9efb27c50f00ece8dd6291a66f05ae369"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "f8ed8202f63a2fc6caf8f97c13f19a6c628662f6b7d15562ffb29fb54217210f"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/thanos"
  end

  test do
    (testpath/"bucket_config.yaml").write <<~EOS
      type: FILESYSTEM
      config:
        directory: #{testpath}
    EOS

    output = shell_output("#{bin}/thanos tools bucket inspect --objstore.config-file bucket_config.yaml")
    assert_match "| ULID |", output
  end
end
{'fraction_non_alphanumeric': 0.08687002652519894, 'fraction_numerical': 0.21187002652519893, 'mean_word_length': 5.220618556701031, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '5476984', 'n_tokens_mistral': 1624, 'n_tokens_neox': 1295, 'n_words': 180}