New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ttyd 1.1.0 (new formula) #5310
ttyd 1.1.0 (new formula) #5310
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall 👍 However,
$ curl -sS https://api.github.com/repos/tsl0922/ttyd | grep created_at
"created_at": "2016-09-13T01:43:54Z",
the repo is only two weeks old and not massively popular, so I'd rather stick to our 30 day rule and sit on it.
end | ||
|
||
test do | ||
system "#{bin}/ttyd", "--version" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert_match version.to_s, shell_output("#{bin}/ttyd --version")
head "https://github.com/tsl0922/ttyd.git" | ||
|
||
depends_on "cmake" => :build | ||
# xxd tool is from vim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary, remove this comment.
However, isn't /usr/bin/xxd
good enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I should use which -a xxd
to find the location of xxd 😄 , will remove dependency for vim.
def install | ||
cmake_args = std_cmake_args + ["-DOPENSSL_ROOT_DIR=#{Formula["openssl"].opt_prefix}"] | ||
system "cmake", ".", *cmake_args | ||
system "make" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary, remove this line.
@zmwangx PTAL |
sha256 "6fae4e932280f0ca430ea834f88282673351a321535acbe3725e995e83857138" | ||
head "https://github.com/tsl0922/ttyd.git" | ||
|
||
depends_on "cmake" => :build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to CI failure we need to
depends_on "pkg-config" => :build
I didn't catch that locally because I have it installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks.
Now the only problem is repo too new. I suggest we sit on this for two weeks, by which time the audit failure will resolve itself. It'll also give the project time to mature a bit more if necessary. |
Thanks @zmwangx. I'm OK with the 30 day rule. |
@zmwangx I'v updated the formula to 1.1.0 release with some new features and minor bug fixes. |
👍 |
Pulled it as it's getting releases and is more popular now. Thanks for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock! |
brew install <formula>
(where<formula>
is the name of the formula you're submitting)?brew audit --new-formula <formula>
(after doingbrew install <formula>
)?