From 1701e5570eb0a003394d0a1586894877703c2cac Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 24 May 2019 20:11:06 -0400 Subject: [PATCH] git-review 1.28.0 Closes #40296. Signed-off-by: Sean Molenaar --- Formula/git-review.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Formula/git-review.rb b/Formula/git-review.rb index fa66dfd25e..76a2871df3 100644 --- a/Formula/git-review.rb +++ b/Formula/git-review.rb @@ -1,8 +1,8 @@ class GitReview < Formula desc "Submit git branches to gerrit for review" homepage "https://git.openstack.org/cgit/openstack-infra/git-review" - url "https://files.pythonhosted.org/packages/f9/d5/c4d61b4f44db860a0ec61da6c713e55eb037bd37c31ec834137b97e3e89e/git-review-1.27.0.tar.gz" - sha256 "7a30afdd3c62e1ef69ebda3f22c17efccd1a0a89c761b9b0d301108a11a37476" + url "https://files.pythonhosted.org/packages/2c/e6/e4f1b999af2493a5cc5e050f0869b29f30914f94016abf48c77c6307745b/git-review-1.28.0.tar.gz" + sha256 "8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a" head "https://git.openstack.org/openstack-infra/git-review.git" bottle do @@ -35,6 +35,11 @@ class GitReview < Formula sha256 "99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c" end + resource "six" do + url "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz" + sha256 "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73" + end + resource "urllib3" do url "https://files.pythonhosted.org/packages/a5/74/05ffd00b4b5c08306939c485869f5dc40cbc27357195b0a98b18e4c48893/urllib3-1.24.tar.gz" sha256 "41c3db2fc01e5b907288010dec72f9d0a74e37d6994e6eb56849f59fea2265ae" @@ -60,6 +65,8 @@ class GitReview < Formula test do system "git", "init" + system "git", "config", "user.name", "BrewTestBot" + system "git", "config", "user.email", "BrewTestBot@test.com" system "git", "remote", "add", "gerrit", "https://github.com/Homebrew/homebrew.github.io" (testpath/".git/hooks/commit-msg").write "# empty - make git-review happy" (testpath/"foo").write "test file"