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 .
- Feb 03, 2016
-
-
Baptiste Fontaine authored
-
Martin Afanasjew authored
`Formula[name]` gets called with an unqualified name and thus will throw `TapFormulaAmbiguityError` exceptions (silently ignored) if both the old and the new tap are present and changes for the new tap are pulled before the migrated formulae are removed from the old tap. The result is an empty or incomplete `changed_formulae`, causing issues with pulling the corresponding bottles and possibly other problems, too.
-
Dominyk Tiller authored
-
- Feb 02, 2016
-
-
ilovezfs authored
The "apply" DSL method can be called from patch-do blocks to specify the paths within an archive of the desired patch files, which will be applied in the order in which they were supplied to the "apply" calls. If "apply" isn't used, raise an error whenever the extracted directory doesn't contain exactly one file. The "apply" method can be called zero or more times within a patch-do block with the following syntaxes supported: apply "single_apply" apply "multiple_apply_1", "multiple_apply_2" apply [array_of_apply] If apply must be used, a single call using the second syntax above is usually best practice. Each apply leaf should be the relative path to a specific patch file in the extracted directory. For example, if extracting this-v123-patches.tar.gz gives you this-123 this-123/.DS_Store this-123/LICENSE.txt this-123/patches this-123/patches/A.diff this-123/patches/B.diff this-123/patches/C.diff this-123/README.txt and you want to apply only B.diff and C.diff, then you need to use "patches/B.diff" and "patches/C.diff" for the lowest-level apply leaves. The code was provided by Xu Cheng. Any mistakes are mine.
-
ilovezfs authored
Closes Homebrew/homebrew#48634. Closes Homebrew/homebrew#48681. Signed-off-by:
Mike McQuaid <mike@mikemcquaid.com>
-
Felix Bünemann authored
This avoids crashing with an unknown key error, if the GitHub api response does not contain the ratelimit headers, e.g. when GitHub is down. It also tries to display the JSON error message in addition to the HTTP status. Closes Homebrew/homebrew#48538. Signed-off-by:
Mike McQuaid <mike@mikemcquaid.com>
-
Dominyk Tiller authored
Closes Homebrew/homebrew#48708. Signed-off-by:
Dominyk Tiller <dominyktiller@gmail.com>
-
- Jan 31, 2016
-
-
Baptiste Fontaine authored
Closes Homebrew/homebrew#48674. Signed-off-by:
Baptiste Fontaine <batifon@yahoo.fr>
-
Andrew Janke authored
-
Dominyk Tiller authored
-
Dominyk Tiller authored
-
Baptiste Fontaine authored
Closes Homebrew/homebrew#48635. Signed-off-by:
Baptiste Fontaine <batifon@yahoo.fr>
-
- Jan 28, 2016
-
-
Martin Afanasjew authored
Both `coreutils` and `findutils` suggest to add `#{opt_libexec}/gnubin` to PATH in their caveats to get the non-prefixed binaries from those formulae. Check this in addition to the version-specific directory that is less likely to be in PATH. Closes Homebrew/homebrew#48207. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Xu Cheng authored
The output will help to show git is initialized in the first time. Hence, offer a better UX.
-
Xu Cheng authored
* Use git function instead of refreshing bash cache on `git` path. * Better `which_git`: * Take user's setting of `HOMEBREW_GIT` and `GIT` env variable into account. * Always expand git path. * Only check Xcode installation for OS X. Closes Homebrew/homebrew#48508. Signed-off-by:
Xu Cheng <xucheng@me.com>
-
Xu Cheng authored
* Make sure `.git` directory be deleted at any error. So we won't have a stale setup. * Run `git fetch` and `git reset` when initialize git in the first time. Otherwise, we will get error and merging problem afterwards. Closes Homebrew/homebrew#48509. Signed-off-by:
Xu Cheng <xucheng@me.com>
-
Andrew Janke authored
Closes Homebrew/homebrew#48528. Signed-off-by:
Andrew Janke <andrew@apjanke.net>
-
Baptiste Fontaine authored
This line is necessary if the test fails. If it passes the file won't exist anymore and shouldn't be removed.
-
Baptiste Fontaine authored
-
Martin Afanasjew authored
Determine the age of the local `HEAD` first and only if it is older than 24 hours proceed with the much more expensive `git ls-remote` to check if there are any new upstream commits (there usually will be). This keeps the overall logic unaltered, but significantly speeds up the check for users that have recently updated (still slow for all others). Closes Homebrew/homebrew#48499. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Tim D. Smith authored
-
- Jan 27, 2016
-
-
Mike McQuaid authored
Not sure why this is happening (beyond the Chef cookbook stupidly deciding to not call through `bin/brew`) but fail and print a scary looking error to hope to point people in the right direction. Closes Homebrew/homebrew#48261. Signed-off-by:
Mike McQuaid <mike@mikemcquaid.com>
-
Mike McQuaid authored
Otherwise Bash can cache a relative PATH and then get upset when it changes directory and cannot find it any more. Closes Homebrew/homebrew#48493. Signed-off-by:
Mike McQuaid <mike@mikemcquaid.com>
-
- Jan 26, 2016
-
-
Martin Afanasjew authored
Also change the logic a bit to iterate over the individual files per directory, as having a directory without bash commands will otherwise pass a literal `*.sh` to `bash -n`, causing it to fail. Closes Homebrew/homebrew#48323. Signed-off-by:
Martin Afanasjew <martin@afanasjew.de>
-
Martin Afanasjew authored
This also means `bin/brew` is again consistent with `brew command` and `brew commands`.
-
Martin Afanasjew authored
This should help to avoid collisions with external commands and other shell functions in the future and is closer to what we do in Ruby, where commands are namespaced by being methods of the `Homebrew` module.
-
Martin Afanasjew authored
`bin/brew` already sets up a bunch of environment variables. There's no need to re-export them for external commands. (`HOMEBREW_LIBRARY_PATH` and `HOMEBREW_CACHE` continue to be determined later in the Ruby code.)
-
Martin Afanasjew authored
-
Martin Afanasjew authored
We have asserted before that the 1st argument is the command name. No need to pass it to the bash command, which will make the argument handling for the command itself a bit easier.
-
Martin Afanasjew authored
Remove the executable bit from the file to make it clear it is not supposed to be executed directly. This should make the shebang line and the early check also unnecessary.
-
Martin Afanasjew authored
Commands implemented in shell (bash) are supposed to be sourced from `bin/bash` instead of being executed directly. Consequently, don't expect the implementation files to be executable.
-
Mike McQuaid authored
We shouldn't have removed this DSL method without a compat fallback. Closes Homebrew/homebrew#48479. Signed-off-by:
Mike McQuaid <mike@mikemcquaid.com>
-
Mike McQuaid authored
This would be displayed more than once when verbose output was enabled. Closes Homebrew/homebrew#48469.
-
Xu Cheng authored
We cached the tab file content during formula loading. Let's discard them, so we can read tab content after relocation
-
Xu Cheng authored
-
Mike McQuaid authored
-
Mike McQuaid authored
Allow people to run this command (so we can ask people to test it) without having to set `HOMEBREW_DEVELOPER`. Closes Homebrew/homebrew#48260. Signed-off-by:
Mike McQuaid <mike@mikemcquaid.com>
-
Baptiste Fontaine authored
Closes Homebrew/homebrew#48435. Signed-off-by:
Baptiste Fontaine <batifon@yahoo.fr>
-
Baptiste Fontaine authored
-
- Jan 25, 2016
-
-
Baptiste Fontaine authored
Closes Homebrew/homebrew#48302. Signed-off-by:
Baptiste Fontaine <batifon@yahoo.fr>
-