aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2015-08-28tap: rmdir when tap failed or interruptedXu Cheng
Fixes Homebrew/homebrew#43280. Closes Homebrew/homebrew#43352. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-28update: secure formula loading in renameXu Cheng
For update, all formula loading need to be secured by `rescue`. Otherwise it's easy to crash `brew update` for vasty reasons, e.g. new Formula DSL. Closes Homebrew/homebrew#43353. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-27sandbox: allow writing to /dev/zeroAlex Dunn
Closes Homebrew/homebrew#43344.
2015-08-27gant: migrating to boneyardBaptiste Fontaine
Closes Homebrew/homebrew#43326. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-27update: always report changes to branch 'master'Martin Afanasjew
If the user's working copy is *not* on the 'master' branch, the revision recorded after the update to the 'master' branch is not the one of the updated 'master' branch but that of whatever the user's current branch is. This tends to be not very helpful. This change records the revision *after* the update to the 'master' branch, but *before* switching back to the user's current branch prior to the update, effectively causing the report to show changes to the 'master' branch. Closes Homebrew/homebrew#42074. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-27outdated: update error for different tapsVlad Shablinsky
Closes Homebrew/homebrew#43269. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-27install: fix if isn't migratedVlad Shablinsky
2015-08-27pull: more formulae fetch outside of main loop.Mike McQuaid
Closes Homebrew/homebrew#43313. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-27keg: mkpath for mecabXu Cheng
2015-08-27bash completion for tap-pin/tap-unpin addedBaptiste Fontaine
Closes Homebrew/homebrew#43259. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-27test-bot: don't consider optional deps for compiler selectionTim D. Smith
Fixes test-bot mishandling of optional cross-tap dependencies. Without this change, since formula.stable.deps includes the optional dependencies but formula.recursive_dependencies does not, test-bot was trying to select a compiler for an untapped formula, which raised an error. Our suspect handling of optional dependencies was exposed by Homebrew/homebrew#43145 / 7184348e822d6745d8a103de104ff9626536bf1e. Closes Homebrew/homebrew#43237.
2015-08-26doctor: add system curl <10.7 checkDominyk Tiller
Closes Homebrew/homebrew#43283. Closes Homebrew/homebrew#43298. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-26doctor: add check for SSL_CERT_DIRDominyk Tiller
Closes Homebrew/homebrew#43154. Closes Homebrew/homebrew#43277. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-25sandbox: permit /var/tmp & DerivedDataDominyk Tiller
Long term it would be nice to sandbox everything that writes to DerivedData but it is essentially a cache directory of sorts. The downside of allowing stuff to write there particularly is that DerivedData is notoriously bad at getting cleaned up, so if you do a lot of Xcode-using installations very quickly, you can chew your disk space up. Closes Homebrew/homebrew#43276. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-25pull: do fetch after everything else, sleep more.Mike McQuaid
Use an exponential back-off on the sleep and try the fetch more times. Hopefully this will mean that we spent less time waiting for Bintray. Closes Homebrew/homebrew#43240. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-25audit: spelling fixDaniel Lee Harple
Closes Homebrew/homebrew#43273. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-08-25tap-pin: simplify logicBaptiste Fontaine
2015-08-25tap-unpin: simplify logicBaptiste Fontaine
Closes Homebrew/homebrew#43260. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-25Formula#file_modfiled?: remove unnecessary git dir checkXu Cheng
It's already covered by `$?.exitstatus == 0` in below.
2015-08-25update: #each.map is redundantBaptiste Fontaine
2015-08-25include git sha1 in --version outputTim D. Smith
HOMEBREW_VERSION doesn't change very often; the repository state is more interesting. Closes Homebrew/homebrew#41886.
2015-08-25formula: use which over locateDominyk Tiller
2015-08-24Formula#file_modified?: fix for Xcodes without gitMisty De Meo
Fixes Homebrew/homebrew#43206.
2015-08-24migrator: #each.map is redundantMisty De Meo
2015-08-23cdimgtools: remove to boneyardAlex Dunn
Closes Homebrew/homebrew#41267. Closes Homebrew/homebrew#43199. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-08-23formula_installer: tweak wordXu Cheng
2015-08-23keg: mkpath for lib/gioXu Cheng
2015-08-23add link_overwrite DSLXu Cheng
Sometimes we accidentally install files outside prefix. After we fix that, users will get nasty link conflict error. So we create a whitelist here to allow overwriting certain files. e.g. link_overwrite "bin/foo", "lib/bar" link_overwrite "share/man/man1/baz-*" During FormulaInstaller#link, the whitelist conflict files will be backup into HOMEBREW_CACHE/Backup
2015-08-22formula_installer: fix when bottle pouring when creating new bottleXu Cheng
Formula#bottle_specification always exists, while Formula#bottle only exists if the bottle is available and compatible.
2015-08-22use Pathname#executable? directlyXu Cheng
2015-08-22core file style updateXu Cheng
2015-08-21exceptions: change 10.9 Xcode URLMisty De Meo
2015-08-21cctools_requirement: quotes nitDominyk Tiller
2015-08-21exceptions: use xcode frontpageDominyk Tiller
2015-08-21Merge bottle install without Xcode branchMisty De Meo
Merge branch 'bottle_hooks'
2015-08-21Mark TODO in brew doctor (future PR)William Woodruff
2015-08-21Only print dep installation notice when deps will be installedWilliam Woodruff
2015-08-21Call check_xcode check for CLT, tooWilliam Woodruff
2015-08-21Add tests for pouring bottle without XcodeWilliam Woodruff
add testball_bottle formula for upcoming bottle unit testing, as well as bottles directory containing test bottle (and symlinks)
2015-08-21Add no-Xcode documentation for all classes, methodsWilliam Woodruff
2015-08-21Add guards to calls that would trigger Xcode install requestsWilliam Woodruff
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?
2015-08-21FormulaInstaller: add prevent_build_flags to eliminate code repetitionWilliam Woodruff
remove unneeded definition change variable in FormulaInstaller.check_build_flags from bf to build_flags
2015-08-21Install: add BuildToolsError and BuildFlagsErrorWilliam Woodruff
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
2015-08-21Split compute_and_install_dependenciesWilliam Woodruff
This is so so that check_dependencies_bottled can be called when bottles are being poured; implement check_dependencies_bottled
2015-08-21MacOS: update locate_cctoolWilliam Woodruff
This becomes MacOS.{install_name_tool,otool}, only do check_xcode if xcode is installed, otherwise emit a warning
2015-08-21Formula_installer: only attempt relocation install onceWilliam Woodruff
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
2015-08-21Requirements: add CctoolsRequirementWilliam Woodruff
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
2015-08-21Install: remove check_for_bad_install_name_toolWilliam Woodruff
Until it can be adapted to not call otool on systems w/o XCode/CLT
2015-08-21add cctools requirementWilliam Woodruff
2015-08-21add install_relocation_tools stubWilliam Woodruff