-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
crfsuite 0.12 (new formula) #122035
crfsuite 0.12 (new formula) #122035
Conversation
f3755c3
to
1d27810
Compare
class Crfsuite < Formula | ||
desc "Fast implementation of conditional random fields" | ||
homepage "https://www.chokkan.org/software/crfsuite/" | ||
url "https://github.com/downloads/chokkan/crfsuite/crfsuite-0.12.tar.gz" |
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.
Wow, I didn't know there's such links like https://github.com/downloads/...
I'd suggest switching it to the format we usually use:
url "https://github.com/downloads/chokkan/crfsuite/crfsuite-0.12.tar.gz" | |
url "https://github.com/chokkan/crfsuite/archive/refs/tags/0.12.tar.gz" |
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.
Good catch. This is borrowing from an existing formula in the homebrew-science
(legacy) tap.
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.
Actually, these two tarballs don't have the same contents. The original one I had includes a pre-generated configure
file. The /archive
tarball doesn't have it.
It seems there are other formulae in core tap that use this kind of link, e.g. apktool
, jadx
.
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.
Oh, wow, old stuff!
TIL there was a downloads API that was replaced with releases like 10 years ago.
1d27810
to
cf5339c
Compare
cf5339c
to
faf6f8a
Compare
Closes Homebrew#122035. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?