aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2015-08-21BottleSpecification: add does_not_need_relocation fieldWilliam Woodruff
Toggled with does_not_need_relocation method in bottle block. Also declare needs_relocation? accessors in software/bottle specs.
2015-08-21zsh-completion: add tap-(un)pinXu Cheng
Closes Homebrew/homebrew#43146. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-21manpage: add doc for tap --list-official and --list-pinnedXu Cheng
2015-08-21tap: add --list-pinnedXu Cheng
2015-08-21test-bot: tap TapDependency recursivelyXu Cheng
Closes Homebrew/homebrew#43145. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-21xcode: update 10.11 clangDominyk Tiller
2015-08-20update: only update renamed when necessaryXu Cheng
2015-08-20update manpages for migrateVlad Shablinsky
Closes Homebrew/homebrew#42801. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-20update: add formula renames to reportVlad Shablinsky
2015-08-20migrator: skip check for same taps if --forceVlad Shablinsky
2015-08-20Requirement: support tap formula as default_formulaXu Cheng
Closes Homebrew/homebrew#43107. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-20TapDependency: allow passing arbitrary option_nameXu Cheng
2015-08-20test_migrator: fix lock file leakXu Cheng
Closes Homebrew/homebrew#43025. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-20lock keg during migrationXu Cheng
2015-08-20also lock oldname when appliedXu Cheng
2015-08-20CurlApacheMirrorDownloadStrategy: ignore HOMEBREW_CURL_VERBOSEXu Cheng
Fixes Homebrew/homebrew#43002 Closes Homebrew/homebrew#43058. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-18uninstall: simplify logicXu Cheng
Also reduce unnecessary disk operations Closes Homebrew/homebrew#43024. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-18allowing rescue https redirect errorXu Cheng
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>
2015-08-18unnecessary calls to .select simplifiedBaptiste Fontaine
These are minor perf optimizations. Closes Homebrew/homebrew#43028. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-17Suggest 'brew uninstall' everywhere for consistencyBaptiste Fontaine
Mixing 'brew remove' with 'brew uninstall' can confuse users. Closes Homebrew/homebrew#43026. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-17improve zsh_completionXu Cheng
Closes Homebrew/homebrew#43016. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-17manpage: slight format tweakXu Cheng
2015-08-17enable sandbox on test-botXu Cheng
Closes Homebrew/homebrew#43014. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-16cleanup: require threadDominyk Tiller
2015-08-17cleanup: speed up rm_DS_Store by multithreadXu Cheng
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>
2015-08-17test_keg: add tests for oldname optlinkVlad Shablinsky
Closes Homebrew/homebrew#42998. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-17update opt for renamed formulaVlad Shablinsky
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.
2015-08-16cleanup: fix reversed prune time.Mike McQuaid
2015-08-16cleanup: tweak prune code.Mike McQuaid
2015-08-16cleanup: make --force less aggressiveMartin Afanasjew
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>
2015-08-16which: tests addedBaptiste Fontaine
Closes Homebrew/homebrew#42954. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-16which: don't fail on malformed paths in PATHBaptiste Fontaine
2015-08-15Revert "work around missing __debug header in Xcode CLT 6.3"Tim D. Smith
Ding, dong, the witch is dead... This reverts commit fd5ca9ba16f5afc181364369210cb94e997a5a5e. Ref Homebrew/homebrew#38514, Homebrew/homebrew#38735. Closes Homebrew/homebrew#41843.
2015-08-15Don't try to link symlinks over their targetsTim D. Smith
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.
2015-08-15let tests pass on Xcode-only systemsTim D. Smith
Closes Homebrew/homebrew#42976.
2015-08-15migrator: better exception printingXu Cheng
2015-08-15migrator: don't use installed_prefixVlad Shablinsky
Link the keg that was linked before migration. Don't use newformula.installed_prefix to detect keg to link, because it can break things (i.e. if intalled formula is outdated, then newformula.installed_prefix can be not the same as installed prefix before update). Closes Homebrew/homebrew#42857. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-15migrator: don't link newname if oldname isn't linkedVlad Shablinsky
- link newname only if oldname used to be linked - optlink newname only if oldname used to be optlinked.
2015-08-15migrator: check if old_opt_record exist before using realpathVlad Shablinsky
- check if old_opt_record exist before using realpath - don’t check old_opt_record.exist? in link_old_opt because it doesn’t have to exist.
2015-08-15update: only compute tapd_basename when necessaryXu Cheng
2015-08-15outdated: remove unnecessary nested ifXu Cheng
2015-08-15Formulary.to_rack: follow the symlinkXu Cheng
2015-08-15install: f.oldname can be nilXu Cheng
2015-08-15make path instead of symlink for lib/RTim D. Smith
Moves us towards being able to support formulae that install R bindings, like nonpareil in homebrew-science. Some discussion in Homebrew/homebrew-science#2559. Closes Homebrew/homebrew#42539.
2015-08-14install: mention if installed formula isn't migrated.Mike McQuaid
Closes Homebrew/homebrew#42940. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-14outdated: check if formula needs to be migrated.Mike McQuaid
Closes Homebrew/homebrew#42938.
2015-08-14doctor: suggest to install git if the system one is outdatedBaptiste Fontaine
Closes Homebrew/homebrew#42934. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-14cleanup: avoid duplicated logicXu Cheng
Closes Homebrew/homebrew#42900. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-14add Formula.racksXu Cheng
Also exclude symlink when enumerating installed racks.
2015-08-14ocaml: rename from objective-camlVlad Shablinsky
Closes Homebrew/homebrew#42851. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>