<commit_before>class K3sup < Formula
  desc "Utility to create k3s clusters on any local or remote VM"
  homepage "https://k3sup.dev"
  url "https://github.com/alexellis/k3sup.git",
      tag:      "0.12.7",
      revision: "e3ff08cf1d3798c7d89372f30a79b5fd4a1d2500"
  license "MIT"
  head "https://github.com/alexellis/k3sup.git", branch: "master"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "5c6fe3e429eb80de77c2a3881ccf657030021d6e67613b2ff9e636a08d34e283"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "342ed4f72e9307b4d199048382b1255e509d5151f47ad51258429bd08322345a"
    sha256 cellar: :any_skip_relocation, monterey:       "b51466716194e22e398e30812cccb273c1a05f2503e20c1935539899e63a9cb9"
    sha256 cellar: :any_skip_relocation, big_sur:        "005ca34165067c1c27ad12e20cd3981cfc62afb1b997a6b4534e5777a0c0bd09"
    sha256 cellar: :any_skip_relocation, catalina:       "9f36a27b5eefab6d18aacfbc0046d3ad21645df53757760be17ebef9724b2e3e"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "b2d05f33cad91bb047544404f2e4eba158140aeca7f6c874eeb9975eac909fae"
  end

  depends_on "go" => :build

  def install
    ldflags = %W[
      -s -w
      -X github.com/alexellis/k3sup/cmd.Version=#{version}
      -X github.com/alexellis/k3sup/cmd.GitCommit=#{Utils.git_short_head}
    ]
    system "go", "build", *std_go_args(ldflags: ldflags)

    generate_completions_from_executable(bin/"k3sup", "completion")
  end

  test do
    output = shell_output("#{bin}/k3sup install 2>&1", 1).split("\n").pop
    assert_match "unable to load the ssh key", output
  end
end<commit_msg>k3sup: update 0.12.7 bottle.<commit_after>class K3sup < Formula
  desc "Utility to create k3s clusters on any local or remote VM"
  homepage "https://k3sup.dev"
  url "https://github.com/alexellis/k3sup.git",
      tag:      "0.12.7",
      revision: "e3ff08cf1d3798c7d89372f30a79b5fd4a1d2500"
  license "MIT"
  head "https://github.com/alexellis/k3sup.git", branch: "master"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "d374868b80a11acf2fe48243edd67801827ccf240c9c743daf6a34a138908651"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "728b4adad2511b3e0eabfac6944f66464a18bbdccb0a9da0300471bf59711c42"
    sha256 cellar: :any_skip_relocation, monterey:       "1e092a07f0e19289393b52e3a4ef802558a0677837a6a66d6fabb6e5e0d3d333"
    sha256 cellar: :any_skip_relocation, big_sur:        "603d9a57e86f3e94d5dc4cd93403fc87228a602b44f1b4baafa2d4f9ab2912de"
    sha256 cellar: :any_skip_relocation, catalina:       "94dda040ca853c5240ba4f41f13ce85068e5ad12ffd4920fa96368146b35633d"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "98d7e5c2803946c4177569dca126a9e51d885d85a3aea60545d2cb9d20d2f6c8"
  end

  depends_on "go" => :build

  def install
    ldflags = %W[
      -s -w
      -X github.com/alexellis/k3sup/cmd.Version=#{version}
      -X github.com/alexellis/k3sup/cmd.GitCommit=#{Utils.git_short_head}
    ]
    system "go", "build", *std_go_args(ldflags: ldflags)

    generate_completions_from_executable(bin/"k3sup", "completion")
  end

  test do
    output = shell_output("#{bin}/k3sup install 2>&1", 1).split("\n").pop
    assert_match "unable to load the ssh key", output
  end
end
{'fraction_non_alphanumeric': 0.09346347234545992, 'fraction_numerical': 0.18722271517302574, 'mean_word_length': 4.66499162479062, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6670040', 'n_tokens_mistral': 1783, 'n_tokens_neox': 1442, 'n_words': 216}