| Age | Commit message (Collapse) | Author |
|
|
|
|
|
If the deletion of `HOMEBREW_CACHE` fails then the
`.migration_attempted` file will have still been deleted so ensure it is
recreated.
|
|
It defaults to being in $HOME but we override this meaning that we would
destroy the cache every time.
|
|
|
|
|
|
* cleanup: accept cache as an argument.
* config: move default HOMEBREW_CACHE to ~/Library.
* brew.1: document new default Homebrew cache.
* update-report: migrate legacy Homebrew cache.
|
|
Prior to this change there were only 3 instances of `STD(IN|OUT|ERR)`
versus 74 instances of `$std(in|out|err)` in the Homebrew code base. The
latter variant is also strongly suggested by bbatsov's Ruby Style Guide.
|
|
|
|
Some Git versions create absolute `gitdir:` pointers in a submodule's
`.git` file, which can be problematic once the resource is staged and
causes various Git operations for those submodules to fail. Work around
this issue by fixing the submodule `.git` files after submodule update.
See Homebrew/homebrew-core#1520 for details and an affected formula.
|
|
Closes #302.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
The FTP protocol is prone to getting firewalled to death in places, so where
we know we can avoid that by using either secure or more commonly accepted
protocols let's do so.
Examples of output:
```
* Stable: ftp://ftp.cpan.org/pub/CPAN/authors/id/N/NE/NEILB/Time-Duration-1.20.tar.gz should be `http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Time-Duration-1.20.tar.gz`
* Stable: Please use https:// for ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.89.tar.bz2
```
|
|
mirrorservice accepts `http://ftp.mirrorservice.org` as well, apparently.
|
|
|
|
This reverts commit 7bbcf9cacc18aabf78a21ec5cc5892d440631e08.
|
|
This reverts commit 146a16d66bc796f0c6a4c7e2b88f1b73fb0aaa4c.
|
|
|
|
|
|
You need a non-shallow clone to push branches upstream so if you often
tap and untap taps (e.g. `homebrew/boneyard`) then you need to remember
to manually `fetch -unshallow`.
|
|
Check the syntax for Homebrew/brew and don't bother for taps.
|
|
This is not a command designed for end-users.
|
|
This will almost certainly fail every time so let's disable this error.
|
|
Based on how it's used to construct URLs, the bintray "package" should
be the formula name not the formula full_name. For core formulae, there
is no difference, but that's not the case in other taps.
See https://github.com/Homebrew/homebrew-gui/pull/10
Closes #301.
Signed-off-by: ilovezfs <ilovezfs@icloud.com>
|
|
As mentioned in:
https://github.com/Homebrew/homebrew-core/pull/1396#discussion_r64774080
|
|
|
|
|
|
This adds >1m to every build on every node and it can't actually be
affected/fixed by formula PRs.
|
|
|
|
|
|
There's no more pull requests left to pull on this repository.
|
|
This job takes almost a minute and it's not useful for all core taps
to run this.
|
|
We're not really getting any more PRs here and this code makes this file
harder to follow and refactor.
|
|
|
|
|
|
This means that we do not need to read formulae or evaluate Ruby at
upload time.
|
|
Both the `CctoolsMachO` and `RubyMachO` module implement a common set of
methods that simplify querying `mach_data`. Move these into a shared
module, that gets included after either of these implementations is
loaded and included in `Pathname`.
|
|
The check that `t4` is not an external command would always succeed, but
not because the file wasn't executable, but because it wasn't even found
due to the missing `brew-` prefix.
Also change the valid but atypical file mode from 0744 to 0755 and apply
minor code style fixes.
|
|
Affects only legacy systems that don't have a `/usr/bin/cc` binary.
|
|
Amends 132ada2b0ebb3751c0f8f42ca83bb257b55a50fd until we properly figure
out a way of documenting built-in aliases (or not doing that) across all
commands that currently have aliases. See #270 for full discussion.
|
|
* Include --desc in brew search help text.
* Update brew search --desc text in README.
* Remove mention of alias in brew search help text to avoid any
confusion.
|
|
Avoid breaking code highlighting of some editors (e.g. Sublime Text)
when `gem` is used as an identifier. This messes up the highlighting
below the first use and makes working with the file rather annoying.
|
|
This mainly fixes the problems for subclasses of CurlDownloadStrategy.
More specifically it fixes two things:
* It allows the no insecure redirect check to be applied to
CurlApacheMirrorDownloadStrategy.
* It fixes previous broken CurlPostDownloadStrategy.
Closes #280.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Reference from `man curl`
> -R, --remote-time
> When used, this will make curl attempt to figure out the time-
> stamp of the remote file, and if that is available make the
> local file get that same timestamp.
|
|
Closes #248.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
For some reason the existing check seems to have started failing between
March and today. I haven't managed to narrow down why yet but the biggest
change between then and now was the core separation so perhaps related to that.
Perhaps at some point we started considering purely short tap names,
i.e. homebrew/devel-only rather than full tap names, i.e. homebrew/homebrew-devel-only,
in the audit mechanism.
This fixes the current issue whilst retaining the spirit of the original commit:
https://github.com/Homebrew/brew/commit/86d04e94e9caacf4aba766dd31c1707749fb5f2b
|
|
|
|
This avoids weird issues with custom Rubies.
Closes #253.
|
|
|
|
At this point it's never a good compiler to use so let's just remove it.
|