Skip to content
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

typedb 2.29.1 #194822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

typedb 2.29.1 #194822

wants to merge 1 commit into from

Conversation

samford
Copy link
Member

@samford samford commented Oct 17, 2024

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

The typedb formula hasn't been updated since 2.23.0, as upstream now splits release assets into arm64 and x86_64 archives (so brew bump-formula-pr produces a broken url). This updates to the latest version, 2.29.1, but it requires a somewhat ridiculous approach (the cask DSL has a more elegant way of handling some of this).

The previous repository (vaticle/typedb) now redirects to typedb/typedb (and the vaticle organization says "Moved to: https://github.com/typedb"), so this updates the URL accordingly.

Besides that, the license changed to MPL 2.0 in version 2.28.0: https://github.com/typedb/typedb/blob/2.28.0/LICENSE

The `typedb` formula hasn't been updated since 2.23.0, as upstream
now splits release assets into arm64 and x86_64 archives (so `brew
bump-formula-pr` produces a broken `url`). This updates to the latest
version, 2.29.1, but it requires a somewhat ridiculous approach (the
cask DSL has a more elegant way of handling some of this).

Besides that, the license changed to MPL 2.0 in version 2.28.0.
@samford samford added the license License PRs label Oct 17, 2024
@github-actions github-actions bot added the java Java use is a significant feature of the PR or issue label Oct 17, 2024
Comment on lines +13 to +32
on_arm do
on_macos do
url "https://github.com/typedb/typedb/releases/download/2.29.1/typedb-all-mac-arm64-2.29.1.zip"
sha256 "1270565acd7d5c61475831dac408f2069533ecf4ffee416ae474962ce1a71603"
end
on_linux do
url "https://github.com/typedb/typedb/releases/download/2.29.1/typedb-all-linux-arm64-2.29.1.tar.gz"
sha256 "4846e0496c9d90542fe677bd44ec78fe31a056a07770b5b53703ea0c781e99d6"
end
end
on_intel do
on_macos do
url "https://github.com/typedb/typedb/releases/download/2.29.1/typedb-all-mac-x86_64-2.29.1.zip"
sha256 "82ad962d3248d0a883d129a01b7593960031758283270128601a948be637854a"
end
on_linux do
url "https://github.com/typedb/typedb/releases/download/2.29.1/typedb-all-linux-x86_64-2.29.1.tar.gz"
sha256 "4b358ee8beb76f856ca21c61979828f9e082f00591942bf770a1cb2aa53fe4bf"
end
end
Copy link
Member

Choose a reason for hiding this comment

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

Looks suspicious TBH. Doesn't seem compatible with https://docs.brew.sh/Acceptable-Formulae#we-dont-like-binary-formulae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Java use is a significant feature of the PR or issue license License PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants