<commit_before>class Arkade < Formula
  desc "Open Source Kubernetes Marketplace"
  homepage "https://blog.alexellis.io/kubernetes-marketplace-two-year-update/"
  url "https://github.com/alexellis/arkade.git",
      tag:      "0.8.26",
      revision: "613830dba8a5a8a529ce9ff2390b054b20fa6929"
  license "MIT"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "3aa495083d2ef6db19ff66adf6cd3b5721127570557779bbb61c117e9df4441f"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "41d67dde296c41e5c8ae9c1204c0c8a85aa186f788c12662ca55f7a9b43e4e5c"
    sha256 cellar: :any_skip_relocation, monterey:       "aa6a5d6b3a10b1362598d81a7c6597c93f0d4252b4ce3bc34d495415276cfa3d"
    sha256 cellar: :any_skip_relocation, big_sur:        "b33d431a9f2fad9f6b3710a9bf6f859a01c65a6f661b4d29aa0675f9f0cc7831"
    sha256 cellar: :any_skip_relocation, catalina:       "4d37cc53a2667908440d976dc4721608bcc6a01bb67376b53c09ab254a7b1829"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "f4409c671f4ceff2ca6a015bd5d97e13d8de035f4b654aaff8051dd475899980"
  end

  depends_on "go" => :build

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

    bin.install_symlink "arkade" => "ark"

    (zsh_completion/"_arkade").write Utils.safe_popen_read(bin/"arkade", "completion", "zsh")
    (bash_completion/"arkade").write Utils.safe_popen_read(bin/"arkade", "completion", "bash")
    (fish_completion/"arkade.fish").write Utils.safe_popen_read(bin/"arkade", "completion", "fish")
    # make zsh completion also work for `ark` symlink<commit_msg>arkade: update 0.8.26 bottle.<commit_after>class Arkade < Formula
  desc "Open Source Kubernetes Marketplace"
  homepage "https://blog.alexellis.io/kubernetes-marketplace-two-year-update/"
  url "https://github.com/alexellis/arkade.git",
      tag:      "0.8.26",
      revision: "613830dba8a5a8a529ce9ff2390b054b20fa6929"
  license "MIT"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "62f8e846467732aa82f0eecb5e675b404310e9445e13312be4ce268978bbc5ff"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "fbf3327a2952b163c19cdac8e024c7beb478d6d4610873edc45c6e92939469ec"
    sha256 cellar: :any_skip_relocation, monterey:       "d97a282bdf2ce1bdf09a443a87a8356434fae6f7316be3f5e2124f028b0b1ca8"
    sha256 cellar: :any_skip_relocation, big_sur:        "40fec8777e33015ce394234b1abbed6f8b2da746d5db5e8941762bc31d80f918"
    sha256 cellar: :any_skip_relocation, catalina:       "dbb5373f617a1b3d7cb9f6ed266244920209bd9c6bdd239e1a8981e294bd2cac"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "eb13d7a06f8c670a173b8084f95cecb95853543569cfd8359dae5a940fd5525c"
  end

  depends_on "go" => :build

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

    bin.install_symlink "arkade" => "ark"

    (zsh_completion/"_arkade").write Utils.safe_popen_read(bin/"arkade", "completion", "zsh")
    (bash_completion/"arkade").write Utils.safe_popen_read(bin/"arkade", "completion", "bash")
    (fish_completion/"arkade.fish").write Utils.safe_popen_read(bin/"arkade", "completion", "fish")
    # make zsh completion also work for `ark` symlink
{'fraction_non_alphanumeric': 0.1032008830022075, 'fraction_numerical': 0.1652869757174393, 'mean_word_length': 5.011608623548922, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2800088', 'n_tokens_mistral': 1850, 'n_tokens_neox': 1519, 'n_words': 200}