-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
various documentation edits #5050
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,15 +15,15 @@ We now accept versioned formulae as long as they [meet the requirements](Version | |
Software that can upgrade itself does not integrate well with Homebrew's own | ||
upgrade functionality. The self-update functionality should be disabled (if possible without complicating the formula). | ||
|
||
### We don’t like install-scripts that download unversioned things | ||
### We don’t like install scripts that download unversioned things | ||
We don't like install scripts that are pulling from the `master` branch of Git repositories or unversioned, unchecksummed tarballs. These should use `resource` blocks with specific revisions or checksummed tarballs instead. Note that we now allow tools like `cargo`, `gem` and `pip` to download specifically versioned libraries during installation. | ||
|
||
### We don’t like binary formulae | ||
Our policy is that formulae in the core tap | ||
([homebrew/core](https://github.com/Homebrew/homebrew-core)) must be open-source | ||
and either built from source or produce cross-platform binaries (e.g. Java, Mono). | ||
Binary-only formulae should go to | ||
[Homebrew Cask](https://github.com/Homebrew/homebrew-cask). | ||
[homebrew/cask](https://github.com/Homebrew/homebrew-cask). | ||
|
||
### Stable versions | ||
Formulae in the core repository must have a stable version tagged by | ||
|
@@ -57,16 +57,16 @@ running a package manager. | |
|
||
### Stuff that builds an `.app` | ||
Don’t make your formula build an `.app` (native macOS Application); we | ||
don’t want those things in Homebrew. Encourage upstream projects to build and support a `.app` that can be distributed by [Homebrew Cask](https://github.com/Homebrew/homebrew-cask) (and used without it, too). | ||
don’t want those things in Homebrew. Encourage upstream projects to build and support a `.app` that can be distributed by [homebrew/cask](https://github.com/Homebrew/homebrew-cask) (and used without it, too). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think |
||
|
||
### Stuff that builds a GUI by default (but doesn't have to) | ||
Make it build a command-line tool or a library by default and, if the GUI is useful and would be widely used, add an option to build the GUI. Don't offer an option for multiple GUI backends e.g. X11 is a bad user experience for GUIs on macOS. | ||
Make it build a command-line tool or a library by default and, if the GUI is useful and would be widely used, add an option to build the GUI. Don't offer an option for multiple GUI backends, e.g. X11 is a bad user experience for GUIs on macOS. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was going to recommend another comma after X11, but then I see that this sentence can probably be reworded:
|
||
|
||
### Stuff that doesn't build with the latest, stable Xcode's Clang | ||
Clang is the default C/C++ compiler on macOS (and has been for a long time). Software that doesn't build with it hasn't been adequately ported to macOS. | ||
|
||
### Stuff that requires heavy manual pre/post-install intervention | ||
We're a package manager so we want to do things like resolve dependencies and setup applications for our users. If things require too much manual intervention then they aren't useful in a package manager. | ||
We're a package manager so we want to do things like resolve dependencies and set up applications for our users. If things require too much manual intervention then they aren't useful in a package manager. | ||
|
||
### Sometimes there are exceptions | ||
Even if all criteria are met we may not accept the formula. | ||
|
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.
I think
Homebrew Cask
is the proper name…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.
It's a question of whether we're talking about "Homebrew Cask" (the somewhat-separate build system) vs. "homebrew/cask" (the tap name). It may soon be irrelevant here since the link will probably be redirected to the Homebrew Cask docs once they've been integrated.
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.
@EricFromCanada Would you be interested in working on that integration at all?