<commit_before>class Juju < Formula
  desc "DevOps management tool"
  homepage "https://juju.is/"
  url "https://github.com/juju/juju.git",
      tag:      "juju-2.8.8",
      revision: "1d2677ae1d65f10bd15e9e29ab5e0f0cca70898a"
  license "AGPL-3.0-only"
  version_scheme 1
  head "https://github.com/juju/juju.git"

  livecheck do
    url :stable
    regex(/^juju[._-]v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "db336d2998265f523d77ae773691137d8524f27bad5d1500d291619324994288"
    sha256 cellar: :any_skip_relocation, big_sur:       "75f2094e43822dc5e817cfe205e7bcd5a43d307cf38edefcbad475d55d948fea"
    sha256 cellar: :any_skip_relocation, catalina:      "cb2e85deb8ea65f5bfacf7516796be7e572860eb5e821caed4f6f0bec12fe82a"
    sha256 cellar: :any_skip_relocation, mojave:        "72ac63fc890000b160adbf747f795dcfee2b76226adaba3d0580e05647c46a11"
  end

  depends_on "go" => :build

  def install
    ld_flags = %W[
      -s -w
      -X version.GitCommit=#{Utils.git_head}
      -X version.GitTreeState=clean
    ]
    system "go", "build", *std_go_args,
                 "-ldflags", ld_flags.join(" "),
                 "./cmd/juju"
    system "go", "build", *std_go_args,
                 "-ldflags", ld_flags.join(" "),
                 "-o", bin/"juju-metadata",
                 "./cmd/plugins/juju-metadata"
    bash_completion.install "etc/bash_completion.d/juju"
  end

  test do
    system "#{bin}/juju", "version"
    assert_match "No controllers registered", shell_output("#{bin}/juju list-users 2>&1", 1)
    assert_match "No controllers registered", shell_output("#{bin}/juju-metadata list-images 2>&1", 2)
  end
end<commit_msg>juju: update 2.8.8 bottle.<commit_after>class Juju < Formula
  desc "DevOps management tool"
  homepage "https://juju.is/"
  url "https://github.com/juju/juju.git",
      tag:      "juju-2.8.8",
      revision: "1d2677ae1d65f10bd15e9e29ab5e0f0cca70898a"
  license "AGPL-3.0-only"
  version_scheme 1
  head "https://github.com/juju/juju.git"

  livecheck do
    url :stable
    regex(/^juju[._-]v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "67ccc3baca4e7d4546c80f3ed22272a4d5cefad57d1755bdab4d54d36916a862"
    sha256 cellar: :any_skip_relocation, big_sur:       "f3acd40ef4b5822f2aa84893383d1d4c6459eee98fd8889ab262d78fe88f9f04"
    sha256 cellar: :any_skip_relocation, catalina:      "26065d4e5b2dbe5e74f295a9d6bb458102422bd2f05fb89ceaf2b5de8f085f02"
    sha256 cellar: :any_skip_relocation, mojave:        "3ee10ae581a92d8a6c687d03eb7c09b8458e3585692fe5c81b3b5bfbc30bfa50"
  end

  depends_on "go" => :build

  def install
    ld_flags = %W[
      -s -w
      -X version.GitCommit=#{Utils.git_head}
      -X version.GitTreeState=clean
    ]
    system "go", "build", *std_go_args,
                 "-ldflags", ld_flags.join(" "),
                 "./cmd/juju"
    system "go", "build", *std_go_args,
                 "-ldflags", ld_flags.join(" "),
                 "-o", bin/"juju-metadata",
                 "./cmd/plugins/juju-metadata"
    bash_completion.install "etc/bash_completion.d/juju"
  end

  test do
    system "#{bin}/juju", "version"
    assert_match "No controllers registered", shell_output("#{bin}/juju list-users 2>&1", 1)
    assert_match "No controllers registered", shell_output("#{bin}/juju-metadata list-images 2>&1", 2)
  end
end
{'fraction_non_alphanumeric': 0.129862532904358, 'fraction_numerical': 0.1196256215267622, 'mean_word_length': 3.196319018404908, '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': '3166303', 'n_tokens_mistral': 1624, 'n_tokens_neox': 1370, 'n_words': 214}