aboutsummaryrefslogtreecommitdiffstats
path: root/share
AgeCommit message (Collapse)Author
2016-05-01add `brew analytics` command (#173)Xu Cheng
2016-04-30analytics: relocate UUID to homebrew.analyticsuuid in .git/configZhiming Wang
This way analytics related settings and parameters (currently analyticsdisabled, analyticsmessage and analyticsuuid) are all kept in the same place. Note that in this commit we offer a path of migration: if ~/.homebrew_analytics_user_uuid already exists, read the UUID from it, write to homebrew.analyticsuuid, and remove it. See more detailed discussions in #145. Closes #162. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-27Clarify opt-out commandsEitot
* Clarify opt-out commands * Partially rewrite opt-out paragraph
2016-04-27Language::Node.npm_install_args: add helper method (#37)Christian Moritz
* add Language::Node helper module This adds a language module for Node module based formulas. It contains the 2 public methods `std_npm_install_args(libexec)` and `local_npm_install_args`: * `std_npm_install_args` is intended to be used in formulas for standard node modules and returns `npm install` args for a global style module installation to libexec. * `local_npm_install_args` is for formulas, in which the `npm install` step is only one of multiple parts of the installation process and returns `npm install` args for a default local installation in place. Both methods have in common, that they are * making sure that a working copy of npm and node-gyp from node's libexec is prepended to the PATH (to not rely of a user managed npm) * seting the npm cache to HOMEBREW_CACHE/npm, which fixes issues caused by overriding $HOME resulting in long install times + high disk usage (see https://github.com/Homebrew/brew/pull/37#issuecomment-208840366) * audit: update npm install check for Language::Node * cleanup: remove npm_cache too * doc: add Node-for-Formula-Authors.md
2016-04-25doco: add Prose Guidelines (WIP)Andrew Janke
Closes #128. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-25doco: analytics: fix typoZev Eisenberg
Closes #150. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-25Fix a minor typoMilkey Mouse
Closes #149. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-25More analytics tweaks.Mike McQuaid
Provide a single command that can be run to disable analytics, run it if `HOMEBREW_NO_ANALYTICS` is ever set and remove the user UUID file in that case too. References https://github.com/Homebrew/brew/issues/142.
2016-04-25Point to analytics documentation on brew update.Mike McQuaid
Make sure that users are notified on the first run of `brew update` after we enabled analytics about how it works and how to opt-out. This will be shown to all users who have not already seen this message from `brew update` or through a new Homebrew installation. References https://github.com/Homebrew/install/pull/42 References https://github.com/Homebrew/brew/issues/142
2016-04-23Ship analytics for Homebrew.Mike McQuaid
For more information and opt-out instructions please read: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md#analytics
2016-04-22update: rebase (rather than merge) by default.Mike McQuaid
We want to always avoid merge commits being committed to Homebrew so this feels like a better fit.
2016-04-22Formula-Cookbook: better `inreplace` example.Mike McQuaid
Make multiple replacements if using the block form.
2016-04-21doco: "How to PR": do audit while revised formula is installedAndrew Janke
Reorders the PR submission steps so `brew audit` is done after `brew install`, so it can pick up issues with the installed formula, like non-executable stuff in `bin/`. Matches the `test-bot` process better. Minor style changes, including consistently using periods at the end of list items which are complete imperative sentences. Closes #127. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-21brew-audit: pull style checks in to main audit outputAndrew Janke
This collects all violations for each formula in a single place, instead of doing `brew style` outputs for all formulae first, and then the other audit checks. Closes #112. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-20--version: move help to documentation commentMartin Afanasjew
This implies that `--version` is treated in most places like a regular command, e.g. being suggested in shell completion. Also fix the help text that claimed output goes to standard error, while it actually goes to standard output.
2016-04-18brew test, install, update-test: add --keep-tmp optionAndrew Janke
Also enables sandbox for --interactive and --debug use of install and test, using automatic retention. Closes #66. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-16update manpage for deps/usesXu Cheng
2016-04-16doc: remove outdated documentation for completion (#99)Chayoung You
By the commit edf000e4cd30c3626ccc28c52ed32f2d84a200dd, bash and zsh completion scripts have been moved to `etc/bash_completion.d/brew` and `share/zsh/site-functions/_brew`, respectively. Now completion will be done automatically without any trick.
2016-04-16analytics: add more documentation, Linuxbrew ID. (#98)Mike McQuaid
2016-04-12Document disabling of opt-in Homebrew analytics. (#79)Mike McQuaid
2016-04-12Homebrew (opt-in) Analytics tweaks. (#57)Mike McQuaid
- add `HOMEBREW_PRODUCT` global variable - only differentiate between `/usr/local` and `non-/usr/local` Homebrew prefixes to avoid sharing sensitive user information - note if e.g. build errors are occurring under CI - Add `HOMEBREW_NO_ANALYTICS` variable (this will be how people opt-out when this is enabled for everyone) - Add `HOMEBREW_ANALYTICS_DEBUG` variable to output all the analytics that are sent - Move Bash analytics code to `Library/Homebrew/utils/analytics.sh` - Add documentation for our analytics and why/what/when/how and opt-out - Only official Homebrew commands are reported - Ruby analytics are now reported in a forked, background process
2016-04-11doco: more updates for core/formula separationAndrew Janke
Closes #71. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-10Fix documentation errorMax Nordlund
Closes #10. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-10Generate the new man pageMax Nordlund
2016-04-10xcode: expect 7.3 on 10.11Dominyk Tiller
xcode: expect 7.3 on 10.11
2016-04-09Remove advice on bad Python linkingTim D. Smith
This is pathological and something that should be fixed in core, not by working around it. Closes https://github.com/Homebrew/legacy-homebrew/pull/45704.
2016-04-06prune: handle broken app symlinksMartin Afanasjew
Remove broken symlinks from `/Applications` and `~/Applications` that were previously created by `brew linkapps`, but are no longer valid because formulae were uninstalled or the provided apps have changed.
2016-04-06unlinkapps: add --dry-run optionMartin Afanasjew
Add `--dry-run` option as is customary for destructive commands. Update `bash` completion and man page accordingly. Also correct and update documentation for both `brew linkapps` and `brew unlinkapps` in more general terms.
2016-04-05tap: support --full even if installedilovezfs
Makes `tap` re-runnable and unshallows when requested with `--full`. Tapping with a different URL raises an exception. The homebrew/core tap cannot be untapped with `untap` so running `brew tap --full homebrew/core` is now a built-in way to get a full clone of this tap without resorting to workarounds. Closes #17. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-04-03Update documentation after repository split.Mike McQuaid
2016-04-03Core/formula separation Part 2(b)0.9.9Xu Cheng
* move shell completion scripts to where can be auto picked up Let's use switching new remote as opportunity to put shell completion scripts to where they should be and avoid git conflict during the process. * add Library/Formula and Library/Aliases symlinks Formulae and Aliases has been relocated to homebrew/core tap. The symlinks are pointed to new location to keep backward compatibility. * remove formula_renames and tap_migrations They have been replaced by the json files in the core tap. * update: set new remote * bump Homebrew version to 0.9.9
2016-04-02doc: update for core/formula separationXu Cheng
Closes Homebrew/homebrew#50632. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-03-26Fix backticks to prevent missing rendered textCarol (Nichols || Goulding)
The backticks being where they were, or not, caused text like `<formula>` to not be shown when viewing the rendered text in a browser. Closes Homebrew/homebrew#50428. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-03-26share/doc/homebrew/README: fix supporters link.Chris Bracco
The link to the Kickstarter Supporters file was broken. This new link points to the ./Kickstarter-Supporters.md file. Closes Homebrew/homebrew#50335. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-03-24--repository: support to show tap pathXu Cheng
This can become handy when we separate core code and formulae. For example, we could use `cd $(brew --repo homebrew/core)` to go to core tap path. Closes Homebrew/homebrew#50346. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-03-24keg_only external builds documentation: cleanupDominyk Tiller
2016-03-23Checksum_Deprecation: add guiding documentDominyk Tiller
Closes Homebrew/homebrew#50282. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-03-20Tips & Tricks: remove obsolete ref to SHA1Baptiste Fontaine
2016-03-19Formula Cookbook: /environmental/environment/Alex Dunn
Closes Homebrew/homebrew#50146. Signed-off-by: Alex Dunn <adunn@ucsb.edu>
2016-03-19Formula Cookbook: note $HOME overrideAlex Dunn
See https://github.com/Homebrew/homebrew/pull/50130#discussion_r56254860
2016-03-01Clarify case conventions in formula namingDamien Pollet
If a formula's class name contains an uppercase-spelled acronym, the messages given by `brew install` can be pretty confusing (it recommends a formula named exactly the same…) Closes Homebrew/homebrew#49639. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-02-29Formula-Cookbook: Improve testing suggestionsGeorge Hartzell
Based on recent feedback on some pull requests, I touched up the section about adding tests to formula. I wanted to make it clearer that the examples demonstrate how to create files on the fly and add a pointer to the tinyxml2 formula (DomT4 pointed it out to me as a good example). Closes Homebrew/homebrew#49641. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-18Move Kickstarter supporters file.Mike McQuaid
2016-02-18FAQ: minor tweaksDominyk Tiller
Closes Homebrew/homebrew#49281. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-18Formula-Cookbook: update CONTRIBUTING pathDominyk Tiller
2016-02-18doc/homebrew/FAQ: update CONTRIBUTING pathDominyk Tiller
2016-02-18doc/homebrew/README: update CONTRIBUTING pathDominyk Tiller
2016-02-18Troubleshooting: remove dead linkDominyk Tiller
2016-02-17El_Capitan_and_Homebrew: remove documentDominyk Tiller
We haven't seen this for a fair while since Apple pushed further updates to the SIP mechanism and believe it to be far less of an issue than it was previously. If you encounter further failure, please file an Issue and we'll be happy to help! At the moment though this advice is making people think there _will_ be an issue at some point, which isn't generally proving the case.
2016-02-07doc/xcode: update for 7.2.1Dominyk Tiller
Closes Homebrew/homebrew#48955. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>