| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
add testball_bottle formula for upcoming bottle unit testing, as well
as bottles directory containing test bottle (and symlinks)
|
|
|
|
add guard in Formula#file_modified? to prevent git popup
add guard in Superenv.bin before calling MacOS::Xcode.version
add guard against missing Xcode/CLT in Xcode.uncached_version
return nil instread of 0 in uncached_version when Xcode/CLT are not present, to distinguish from linuxbrew behavior
checks against pour_bottle? and needs_relocation?, add guard around keg.relocate_install_names to check pour_bottle?/needs_relocation? as well
needs_relocation? becomes skip_relocation?, use cellar attr to indicate relocation instead of does_not_need_relocation
MacOS.can_build? becomes MacOS.has_apple_developer_tools?
|
|
remove unneeded definition
change variable in FormulaInstaller.check_build_flags from bf to build_flags
|
|
Add these new errors, and guards in formula installation and
cmd/{,un,re}install to match, move can_build? to the MacOS module,
flatten conditions, remove redundant can_build? check
reinstate removed (doctor) check
|
|
This is so so that check_dependencies_bottled can be called when bottles
are being poured; implement check_dependencies_bottled
|
|
This becomes MacOS.{install_name_tool,otool}, only do check_xcode if
xcode is installed, otherwise emit a warning
|
|
Check @@attempted for cctools so that we only attempt the relocation
install once, skip cxxstdlib check in cctools to prevent otool
execution prior to installation, skip fixing install names if
relocation is not required
|
|
Install it as a dependency unless already satisfied by Xcode.
require cctools_requirement
cctools_requirement should be satisfied by cctools present in opt
add build_env => false to the satify block options in CctoolsRequirement
|
|
Until it can be adapted to not call otool on systems w/o XCode/CLT
|
|
|
|
|
|
Toggled with does_not_need_relocation method in bottle block.
Also declare needs_relocation? accessors in software/bottle specs.
|
|
Closes Homebrew/homebrew#43146.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#43145.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#42801.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#43107.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Closes Homebrew/homebrew#43025.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Fixes Homebrew/homebrew#43002
Closes Homebrew/homebrew#43058.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Also reduce unnecessary disk operations
Closes Homebrew/homebrew#43024.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
It can be useful when implementing custom https mirror strategy such as Homebrew/homebrew#42955.
Closes Homebrew/homebrew#43020.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
These are minor perf optimizations.
Closes Homebrew/homebrew#43028.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Mixing 'brew remove' with 'brew uninstall' can confuse users.
Closes Homebrew/homebrew#43026.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#43016.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Closes Homebrew/homebrew#43014.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Before
```
$ time brew cleanup -s
brew cleanup -s 0.73s user 3.52s system 58% cpu 7.297 total
```
After
```
$ time brew cleanup -s
brew cleanup -s 0.69s user 2.57s system 139% cpu 2.341 total
```
Closes Homebrew/homebrew#42968.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#42998.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
After the formula gets renamed oldname opt is created and
it points to the linked keg. However if we then upgrade newname
oldname opt still points to the same keg it pointed before upgrade.
The commit fixes this behaviour thus that oldname opt links at the
same keg opt point.
|
|
|
|
|
|
Change behavior for `brew cleanup` as follows:
- If `--force` is supplied, remove only outdated keg-only packages.
- If `--prune=<days>` is supplied, remove both logs and cached downloads
older than the specified number of days. Use `--prune=all` to remove
all logs and cached downloads irrespective of age.
- By default, remove logs after 14 days and cached downloads never.
Also centralizes handling of `--prune`, thus removing duplicate logic.
This is motivated by commit 17eee232838d4639b25f863aa342b1dda61b81bc
that made `--force` much more aggressive and made it override whatever
was specified via `--prune`, completely removing all:
- outdated keg-only packages
- cached downloads irrespective of age
- logs irrespective of age
This made it impossible to remove outdated keg-only packages without
also deleting all cached downloads, which is at least inconvenient for
people with limited bandwidth wanting to rebuild packages later.
Closes Homebrew/homebrew#42970.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#42954.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Ding, dong, the witch is dead...
This reverts commit fd5ca9ba16f5afc181364369210cb94e997a5a5e.
Ref Homebrew/homebrew#38514, Homebrew/homebrew#38735.
Closes Homebrew/homebrew#41843.
|
|
If we have lib/python3.4/site-packages, which is a symlink to
HOMEBREW_PREFIX/lib/python3.4/site-packages, link will be confused. This
only appears after unlinking and relinking because this symlink is
created in post_install, which runs after the first link.
Fixes Homebrew/linuxbrew#502.
Closes Homebrew/homebrew#42891.
|
|
Closes Homebrew/homebrew#42976.
|