This project is mirrored from https://github.com/Homebrew/brew.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Apr 14, 2016
-
-
Dominyk Tiller authored
(#85)
-
- Apr 13, 2016
-
-
Andrew Janke authored
Old logic doesn't include revision. This fixes that, and passes the whole formula prefix path to avoid duplicating the path-construction logic. Closes #80. Signed-off-by:
Andrew Janke <andrew@apjanke.net>
-
Andrew Janke authored
Fixes build error in Homebrew/homebrew-core#100. Closes #63. Signed-off-by:
Andrew Janke <andrew@apjanke.net>
-
- Apr 12, 2016
-
-
Mike McQuaid authored
-
Xu Cheng authored
* make `read_or_set_private_config` private * add doc * add test
-
Xu Cheng authored
-
Mike McQuaid authored
This is coming out of preview shortly so use the new API content-type.
-
Mike McQuaid authored
- 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
-
Mike McQuaid authored
We have Jenkins to test the other versions.
-
Mike McQuaid authored
Use both an in-class and a `.git/config` cache for this so we can ensure that the `Tap#private?` check is fast. Also, make sure this cache value is set both when initially installing and updating a tap. Thanks to @xu-cheng for most of the implementation here.
-
Xu Cheng authored
Closes #68. Signed-off-by:
Xu Cheng <xucheng@me.com>
-
Xu Cheng authored
Before this fix ``` $ brew --help ls Error: Unknown command: ls ``` After this fix ``` $ brew --help ls brew list, ls <snip> ```
-
Andrew Janke authored
Closes #71. Signed-off-by:
Andrew Janke <andrew@apjanke.net>
-
- Apr 11, 2016
-
-
Mike McQuaid authored
Also, slightly tweak the behavior of `brew update` in this case so that it doesn't print annoying output and still allows the `brew edit` flow for people with `HOMEBREW_DEVELOPER` set.
-
Martin Afanasjew authored
Don't exit with a non-zero status code just because an internal command happens to be undocumented. Also print the generic help in these cases to provide some help (including a reference to the man page).
-
Max Nordlund authored
Closes #10. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Max Nordlund authored
-
Max Nordlund authored
-
Max Nordlund authored
This is also used by `brew <cmd> --help`. The basic idea is to have the documentation as a top level comment in each command file. To find these comments, they have to be like this `#:`. This is also used by the `brew man` command to keep the documentation DRY, and for that there are now a header and footer for the man page.
-
Dominyk Tiller authored
xcode: expect 7.3 on 10.11
-
- Apr 10, 2016
-
-
Tim D. Smith authored
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.
-
- Apr 09, 2016
-
-
Martin Afanasjew authored
Fix style of previously omitted `check_for_bad_install_name_tool` method to be in line with changes made in #49. Closes #56. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Martin Afanasjew authored
This reverts commit 9f79c056. Restore check to continue to inspect `/usr/bin/install_name_tool`. See Homebrew/legacy-homebrew#50091 and Homebrew/legacy-homebrew#50509 for the full context and more details.
-
- Apr 08, 2016
-
-
Martin Afanasjew authored
Guard clauses instead of if/unless blocks make the checks easier to understand and reduce nesting, thus improving overall readability. This includes the following additional minor changes: - Make indentation of commands consistent inside diagnostic messages. - Fix minor typos and inconsistent punctuation in diagnostic messages. - Fix here documents to always start with `<<-EOS.undent` on a new line, followed by the message (indented once), followed by `EOS` (at the same level like `<<-EOS.undent`). - Always separate the check logic (and guard clauses) from the following message by a single empty line (for consistency and readability). - Standardize on `message` as the variable name when diagnostic messages need to be constructed from multiple parts. - Where easily possible, adapt check logic to stay within 80-column limit, use more expressive variable names, and break down long expressions into multiple statements with intermediate results. Closes #49. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Martin Afanasjew authored
This should prevent issues like #47 and make us more resilient.
-
Martin Afanasjew authored
Using `git` from `Formula#install` can cause an exec bomb if used in a formula with `env :userpaths` because that causes both `Library/ENV/4.3` and `Library/ENV/scm` to be in PATH, both of which contain a `git` binary that is the same SCM wrapper. Those will mutually exec each other indefinitely as they fail to detect that they are the same wrapper. Extend the exec-bomb protection to check the paths after all symbolic links have been expanded to prevent this situation. Fixes #43. Fixes Homebrew/homebrew-core#133. Fixed Homebrew/homebrew-core#143. Closes #46. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
- Apr 07, 2016
-
-
Xu Cheng authored
This can happen when `HOMEBREW_CURL` is set to brewed curl, but during `brew resinstall curl`, brewed curl's symlink is temporary unlinked. So let's fallback to /usr/bin/curl in this case.
-
Martin Afanasjew authored
`uname -p` seems to be less useful on Linux (Debian 8 yields `unknown`), thus prefer `uname -m` on those systems to determine the processor type. Closes #35. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Martin Afanasjew authored
On Linux (and other non-OS X platforms), `HOMEBREW_OS_VERSION` was *always* replaced with the product name, leading to less useful user agent. E.g., on a reasonably up-to-date Debian system: Linuxbrew/0.9.9 (Linux; unknown Linuxbrew) With this fix the user agent is instead (first if `lsb_release` is available and outputs something, second otherwise): Linuxbrew/0.9.9 (Linux; unknown Debian GNU/Linux 8.3 (jessie)) Linuxbrew/0.9.9 (Linux; unknown 3.16.0-4-amd64)
-
Martin Afanasjew authored
Bash can read directly from a file in its command substitution.
-
Martin Afanasjew authored
Use `printf -v` and strip out the unnecessary `echo`, thus avoiding two unnecessary command substitutions.
-
Martin Afanasjew authored
For uses like this one, `case` is much more compact and easier to read.
-
Martin Afanasjew authored
-
Martin Afanasjew authored
-
Misty De Meo authored
Closes #32. Signed-off-by:
Misty De Meo <mistydemeo@github.com>
-
Misty De Meo authored
This was intended to filter out MacPorts and X11 paths, but the user may have valid reasons to have other things here that might get linked against.
-
Andrew Janke authored
-
Dominyk Tiller authored
We're not sure this is working as it was intended to, and the primary end product so far has been making every Ruby 1.8.7 build, which is the Ruby we use on Mavericks for compatibility, take 5-15 minutes longer per build than 2.x Rubies. Cumulatively this is responsible for the vast majority of CI slowness over the last couple months as Mavericks plays catch-up and everything else waits for it to do so. We may revisit this in future, but for now the harm is greater than the "risk". This technically reverts https://github.com/Homebrew/brew/commit/7b26c585c2a26ec0dad201852ca4934c77fcc493.
-
- Apr 06, 2016
-
-
Martin Afanasjew authored
Closes #15. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Martin Afanasjew authored
-