René's URL Explorer Experiment


Title: Install with Homebrew from a tap of our own · Issue #151 · openjavaformat/open-java-format · GitHub

Open Graph Title: Install with Homebrew from a tap of our own · Issue #151 · openjavaformat/open-java-format

X Title: Install with Homebrew from a tap of our own · Issue #151 · openjavaformat/open-java-format

Description: Why Installing the formatter on a Mac or a Linux machine today means picking a file from the release page, making it executable, renaming it and moving it onto the PATH, and doing it again for every release, as the Command line page desc...

Open Graph Description: Why Installing the formatter on a Mac or a Linux machine today means picking a file from the release page, making it executable, renaming it and moving it onto the PATH, and doing it again for ever...

X Description: Why Installing the formatter on a Mac or a Linux machine today means picking a file from the release page, making it executable, renaming it and moving it onto the PATH, and doing it again for ever...

Opengraph URL: https://github.com/openjavaformat/open-java-format/issues/151

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Install with Homebrew from a tap of our own","articleBody":"### Why\n\nInstalling the formatter on a Mac or a Linux machine today means picking a file from the release page, making it executable, renaming it and moving it onto the `PATH`, and doing it again for every release, as the [Command line](https://openjavaformat.dev/get-started/command-line/) page describes. With Homebrew it is one command, and `brew upgrade` keeps it current.\n\nUpstream users ask for exactly this. palantir/palantir-java-format#1259 wants `brew install palantir-java-format`, so that AI coding tools and editors built on VS Code can call the formatter without Gradle's start-up time, and palantir/palantir-java-format#1116 asks for a CLI binary that editors such as Neovim can run. palantir-java-format publishes its native images to Maven Central only: its GitHub releases carry no files, and homebrew/core has no formula for it. We already ship the binaries, so only the install step is missing.\n\n### Proposal\n\nA tap, `openjavaformat/homebrew-tap`, with one formula, `Formula/open-java-format.rb`, that installs the native binary of the latest release:\n\n| Platform | Release file |\n| --- | --- |\n| macOS, Apple silicon | `open-java-format-macos_aarch64` |\n| macOS, Intel | `open-java-format-macos_x86-64` |\n| Linux x86-64 | `open-java-format-linux-glibc_x86-64` |\n| Linux AArch64 | `open-java-format-linux-glibc_aarch64` |\n\nThe formula picks the file with `on_macos`/`on_linux` and `on_arm`/`on_intel`, checks it against the checksum in the release's `checksums_sha256.txt` and installs it as `bin/open-java-format`. It depends on nothing, since the binary needs no JDK, and its `test do` block formats a small class and compares the output.\n\n```sh\nbrew install openjavaformat/tap/open-java-format\nopen-java-format --version\n```\n\nA formula rather than a cask: Homebrew downloads a formula with `curl`, so the binary gets no quarantine flag, which matters because the macOS binaries are not notarized. Formulae work on Linux too.\n\n### Keeping it current\n\nThe same shape as `follow-releases.yml` in openjavaformat/open-java-format-action and openjavaformat/docs. An hourly workflow in the tap compares the latest release with the formula's `version`. When they differ, it writes the new version and the four checksums from `checksums_sha256.txt`, installs and tests the formula on a macOS and a Linux runner, and commits as github-actions[bot]. It needs nothing but the tap's own `GITHUB_TOKEN`.\n\nJReleaser, which `release.yml` already runs, has a Homebrew packager. It would update the tap from inside the release workflow, though: before the draft release is published, while its download links still answer 404, and with a token that can push to another repository. Following published releases from the tap avoids both.\n\n### homebrew/core later\n\nNot possible yet, for two reasons:\n\n- **Notability.** A [new package](https://docs.brew.sh/Package-Acceptance-Policy#notability) needs at least 30 forks, 30 watchers or 75 stars, three times that when the project submits it itself. The repository has 34 stars today. Being a fork is no obstacle: a separately named fork may be accepted when it meets the other requirements.\n- **No native binary.** A [core formula](https://docs.brew.sh/Acceptable-Formulae) must build from source or install platform-independent output such as Java bytecode. It would install the runnable jar with `depends_on \"openjdk\"`, the way homebrew/core packages [google-java-format](https://github.com/Homebrew/homebrew-core/blob/main/Formula/g/google-java-format.rb).\n\n### To decide\n\n- **Only the latest version?** A new minor version can change the output (see [Versions](https://openjavaformat.dev/about/#versions)), and `brew upgrade` takes it. `brew pin open-java-format` holds a version on one machine, and projects pin theirs in Gradle, Maven or the action anyway. Versioned formulae such as `open-java-format@21.1` can follow if someone needs them.\n\n### Done when\n\n- `brew install openjavaformat/tap/open-java-format` installs the latest release on macOS (Apple silicon and Intel) and Linux (x86-64 and AArch64), and `brew test` passes on each;\n- a new release reaches the tap within the hour, without a hand edit;\n- the [Command line](https://openjavaformat.dev/get-started/command-line/) page offers `brew install` before the manual download, and [About](https://openjavaformat.dev/about/#where-it-is-published) lists the tap.\n\n### Related\n\n- palantir/palantir-java-format#1259 and palantir/palantir-java-format#1116\n- #152 and #153 do the same for Windows and Ubuntu.\n","author":{"url":"https://github.com/abashev","@type":"Person","name":"abashev"},"datePublished":"2026-10-25T14:25:40Z","url":"https://github.com/openjavaformat/open-java-format/issues/151"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fa18069c-181a-c2a5-02f4-cfd9a5c15218
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBCC0:2ED20C:2AF34F:390D36:6AFBB78D
html-safe-nonce44bc95bdc52b9f2589fd1927c1400c02ac5ca33715ec0cc6f2ca1d1a9b75a59b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0MwOjJFRDIwQzoyQUYzNEY6MzkwRDM2OjZBRkJCNzhEIiwidmlzaXRvcl9pZCI6IjM4Mzc2Nzg1NTIwODIwMDM4NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac018194d46f6d4dd931e914bacf3e52051fd53501cba4a367801039152493e09d
hovercard-subject-tagissue:6025502317
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/openjavaformat/open-java-format/151/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c773c555286e238f4c46a4a4a7fde68b48db4423a33bbfde50f39655e697b731/openjavaformat/open-java-format/issues/151
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c773c555286e238f4c46a4a4a7fde68b48db4423a33bbfde50f39655e697b731/openjavaformat/open-java-format/issues/151
og:image:altWhy Installing the formatter on a Mac or a Linux machine today means picking a file from the release page, making it executable, renaming it and moving it onto the PATH, and doing it again for ever...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabashev
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
go-importgithub.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git
octolytics-dimension-user_id325177626
octolytics-dimension-user_loginopenjavaformat
octolytics-dimension-repository_id1288055459
octolytics-dimension-repository_nwoopenjavaformat/open-java-format
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id214273098
octolytics-dimension-repository_parent_nwopalantir/palantir-java-format
octolytics-dimension-repository_network_root_id214273098
octolytics-dimension-repository_network_root_nwopalantir/palantir-java-format
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/openjavaformat/open-java-format/issues/151#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F151
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F151
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=openjavaformat%2Fopen-java-format
Reloadhttps://github.com/openjavaformat/open-java-format/issues/151
Reloadhttps://github.com/openjavaformat/open-java-format/issues/151
Reloadhttps://github.com/openjavaformat/open-java-format/issues/151
openjavaformathttps://github.com/openjavaformat
open-java-formathttps://github.com/openjavaformat/open-java-format
Codehttps://github.com/openjavaformat/open-java-format
Issues30 (30)https://github.com/openjavaformat/open-java-format/issues
Pull requests5 (5)https://github.com/openjavaformat/open-java-format/pulls
Discussionshttps://github.com/openjavaformat/open-java-format/discussions
Actionshttps://github.com/openjavaformat/open-java-format/actions
Security and qualityhttps://github.com/openjavaformat/open-java-format/security
Insightshttps://github.com/openjavaformat/open-java-format/pulse
https://github.com/openjavaformat/open-java-format
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/151
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/151
Install with Homebrew from a tap of our ownhttps://github.com/openjavaformat/open-java-format/issues/151#top
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/abashev
abashevhttps://github.com/abashev
on Oct 25, 2026https://github.com/openjavaformat/open-java-format/issues/151#issue-6025502317
Command linehttps://openjavaformat.dev/get-started/command-line/
palantir#1259https://github.com/palantir/palantir-java-format/issues/1259
palantir#1116https://github.com/palantir/palantir-java-format/issues/1116
new packagehttps://docs.brew.sh/Package-Acceptance-Policy#notability
core formulahttps://docs.brew.sh/Acceptable-Formulae
google-java-formathttps://github.com/Homebrew/homebrew-core/blob/main/Formula/g/google-java-format.rb
Versionshttps://openjavaformat.dev/about/#versions
Command linehttps://openjavaformat.dev/get-started/command-line/
Abouthttps://openjavaformat.dev/about/#where-it-is-published
Publish palantir-java-format binary for CLI usage palantir/palantir-java-format#1259https://github.com/palantir/palantir-java-format/issues/1259
Provide a CLI binary like google-java-format for easy integration into other editors palantir/palantir-java-format#1116https://github.com/palantir/palantir-java-format/issues/1116
Install on Windows with Scoop and winget #152https://github.com/openjavaformat/open-java-format/issues/152
Install on Ubuntu with apt from a repository of our own #153https://github.com/openjavaformat/open-java-format/issues/153
abashevhttps://github.com/abashev
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Oct 25, 2026https://github.com/openjavaformat/open-java-format/issues/151#event-34186344538
Sign up for freehttps://github.com/signup?return_to=https://github.com/openjavaformat/open-java-format/issues/151
Sign in to commenthttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/151
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.