<commit_before>class Aptly < Formula
  desc "Swiss army knife for Debian repository management"
  homepage "https://www.aptly.info/"
  url "https://github.com/smira/aptly/archive/v1.1.0.tar.gz"
  sha256 "83528171ea0cb6f84c759fb5beaa5de85f845bf34d5c9a995c3d4c543c639be5"
  head "https://github.com/smira/aptly.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "7543281b179d573f60b4d76da4bb93f4e2ac2fed7e3fa46cc5eb5cad12138614" => :sierra
    sha256 "5d3cc4f96412d1203fee2f6b893800bc8380c3b668f1c8235a3785d005860ae9" => :el_capitan
    sha256 "88cfa1071de3be08d0793e91177738280e1bf4812b0a74f784122b79b078f215" => :yosemite
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    ENV["GOBIN"] = bin
    (buildpath/"src/github.com/smira/aptly").install buildpath.children
    cd "src/github.com/smira/aptly" do
      system "make", "VERSION=#{version}", "install"
      prefix.install_metafiles
    end
  end

  test do
    assert_match "aptly version:", shell_output("#{bin}/aptly version")
    (testpath/".aptly.conf").write("{}")
    result = shell_output("#{bin}/aptly -config='#{testpath}/.aptly.conf' mirror list")
    assert_match "No mirrors found, create one with", result
  end<commit_msg>aptly 1.1.1<commit_after>class Aptly < Formula
  desc "Swiss army knife for Debian repository management"
  homepage "https://www.aptly.info/"
  url "https://github.com/smira/aptly/archive/v1.1.1.tar.gz"
  sha256 "92aa5caa12d756cb7469fa5772a03d7631b73d655b7329408a4d597ee8fb0ba4"
  head "https://github.com/smira/aptly.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "7543281b179d573f60b4d76da4bb93f4e2ac2fed7e3fa46cc5eb5cad12138614" => :sierra
    sha256 "5d3cc4f96412d1203fee2f6b893800bc8380c3b668f1c8235a3785d005860ae9" => :el_capitan
    sha256 "88cfa1071de3be08d0793e91177738280e1bf4812b0a74f784122b79b078f215" => :yosemite
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    ENV["GOBIN"] = bin
    (buildpath/"src/github.com/smira/aptly").install buildpath.children
    cd "src/github.com/smira/aptly" do
      system "make", "VERSION=#{version}", "install"
      prefix.install_metafiles
    end
  end

  test do
    assert_match "aptly version:", shell_output("#{bin}/aptly version")
    (testpath/".aptly.conf").write("{}")
    result = shell_output("#{bin}/aptly -config='#{testpath}/.aptly.conf' mirror list")
    assert_match "No mirrors found, create one with", result
  end
{'fraction_non_alphanumeric': 0.12165450121654502, 'fraction_numerical': 0.1492295214922952, 'mean_word_length': 4.581447963800905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '1017823', 'n_tokens_mistral': 1179, 'n_tokens_neox': 999, 'n_words': 152}