Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ssdb: fix SHA (repack). #37068

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Library/Formula/ssdb.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
require 'formula'

class Ssdb < Formula
homepage "http://ssdb.io/?lang=en"
homepage "http://ssdb.io/"
url "https://github.com/ideawu/ssdb/archive/1.8.0.tar.gz"
sha1 "ed9f016bdfef9543a866144fee4a37544f39155e"
sha1 "88f4930ae6f3d0234c783546e1fb00638801c4e7"
head "https://github.com/ideawu/ssdb.git"
revision 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to revision this as it'll force everyone to reinstall it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, maybe in this case we do want to.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah Fix ssdb-dump memory leak sounds like a good thing.


bottle do
sha1 "b1a7566fcd83d479a03e7b47be9a68359b36cc77" => :yosemite
Expand Down Expand Up @@ -76,7 +75,10 @@ def plist; <<-EOS.undent

test do
pid = fork do
Signal.trap("TERM") { system("#{bin}/ssdb-server -d #{HOMEBREW_PREFIX}/etc/ssdb.conf"); exit }
Signal.trap("TERM") do
system("#{bin}/ssdb-server -d #{HOMEBREW_PREFIX}/etc/ssdb.conf")
exit
end
end
sleep(3)
Process.kill("TERM", pid)
Expand Down