aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-06-27test: Add test for Keg#mach_o_files hardlink behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new test. Closes #400. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-06-27keg_relocate: Exclude hardlinks from mach_o_files.William Woodruff
2016-06-27test-bot: always use `Tap.fetch`Xu Cheng
2016-06-25test-bot: handle no-tap upload case.Mike McQuaid
2016-06-25test-bot: fix testing job bottle upload.Mike McQuaid
2016-06-24create: add --tap option (#389)Zhiming Wang
This commit adds a --tap option to the create command such that a user could create a formula in a specified tap instead of the core.
2016-06-24bottle: avoid raising exception in ensure blockMartin Afanasjew
The `ensure` block can be reached before the tab is modified (and thus before `original_tab` gets populated). Avoid raising an exception when attempting to restore a tab that hasn't been modified yet, e.g. because relocating some of the Mach-O binaries failed.
2016-06-23test-bot: fix diff_formulaeXu Cheng
* Fix regression caused by 05649cee60e5349afc328070a0c0e4f6835f97f0 * Use `Tap#formula_file?` to filter formula.
2016-06-23test-bot: do not diff tree recursively (#394)Dominique
2016-06-22audit.rb: require https for ftpmirror.gnu.org (#393)Viktor Szakats
* audit.rb: require https for ftpmirror.gnu.org The situation is similar to other mirror redirectors: the server may subsequently redirect to an insecure url. But it's a step. * manpage: update HOMEBREW_NO_INSECURE_REDIRECT section
2016-06-22update-report: remove unconditional cask/formula uninstall.Mike McQuaid
2016-06-22tests: refactor formula file creation (#370)Andrea Kao
2016-06-22update-report: migrate formulae to casks. (#375)Anastasia Sulyagina
2016-06-21boneyard-formula-pr: relax hub requirementMartin Afanasjew
Don't force installation of the `hub` formula if it can be found in the search path. (Avoids unnecessary installation when switching between multiple Homebrew installations for different tasks.) Closes #384. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-21boneyard-formula-pr: fix local branch creationMartin Afanasjew
In local-only mode, the created branches end up tracking `origin/master` which isn't desirable.
2016-06-21boneyard-formula-pr: add local-only modeMartin Afanasjew
Allow boneyarding a formula locally, i.e. make all the necessary changes in the local repositories but don't push them to a remote and don't open a pull request automatically.
2016-06-21bottle: delete .pyo files as with .pyc (#382)Luca Favatella
This should make more bottles relocatable e.g. ansible. .pyo files are bytecode as .pyc files but optimized - [ref](https://www.python.org/dev/peps/pep-0488/) Ref https://github.com/Homebrew/homebrew-core/pull/2125#issuecomment-226987124
2016-06-20test-bot: Toggle HOMEBREW_RUBY_MACHO.William Woodruff
Closes #378. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-20ruby_mach: Update cputype case block.William Woodruff
MachOFile#cputype now returns a Symbol.
2016-06-20vendor: Update vendored ruby-macho to 0.2.4.William Woodruff
2016-06-20tap: --config unsupported on old Gits.Mike McQuaid
2016-06-20test-bot: check for conflicts in dependencies (#379)Steven Peters
2016-06-19linkage: simplify display logicMartin Afanasjew
Move check for emptiness into the display method, avoiding repetitive checks on the call site. Closes #381. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-19linkage: fix code style issuesMartin Afanasjew
2016-06-19linkage: avoid checking symlinks/directoriesMartin Afanasjew
Prevent raising an error when `HOMEBREW_RUBY_MACHO=1` is set. Skipping symlinks and directories while iterating over a directory structure to find Mach-O binaries makes sense and similar logic is applied elsewhere.
2016-06-19pull: skip non-ruby files when collecting formulae namesBaptiste Fontaine
Closes #377. Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
2016-06-19tests: add cmd/search integration test (#356)Andrea Kao
2016-06-19diagnostic: use 'Utils.git_version', simplify codeMartin Afanasjew
Prefer `Utils.git_version` instead of duplicating version detection logic. Decouple unnecessary conflated availability and version checks. Closes #351. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-19config: expose used Git version and pathMartin Afanasjew
Due to our SCM wrapper in `Library/ENV/scm/git`, lookup is a bit more complicated than just picking the first match in `PATH`. Make debugging easier by printing the version and path of the Git actually used by us.
2016-06-19utils/git: provide git_path and git_versionMartin Afanasjew
2016-06-19scm/git: allow introspecting path lookupMartin Afanasjew
Print path of first detected Git instead of executing it. This is hidden behind a `--homebrew=print-path` argument that is unlikely to conflict with any existing or future Git flags.
2016-06-17bump-formula-pr: remove formula revisionilovezfs
If we're bumping the formula's stable version, then we also must reset the formula revision to zero. Note that if and only if a revision is being removed, this commit will enforce the convention that there should be a blank line before a simple head spec if and only if there is a formula revision. Any preexisting violation of the convention (in particular, a blank line before a simple head spec in the absence of a formula revision) won't be proactively corrected since we'd not be removing a formula revision in that case. Closes #369. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-06-16bump-formula-pr: reflect new version in dry-runilovezfs
- simulate version change for dry-run - make sure we're using :devel version if called with --devel Closes #318. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-06-16ENV: mark gcc-6 as supporting C++11 (#349)msbit
Add SharedEnvExtension#gcc_with_cxx11_support? to centralise the logic for checking whether a compiler is known to support C++11. Update logic to accept GCC 4.8 and above (including 6). Thereby also address oversight in #163 where support for GCC 6 was added without updating the C++11 compiler whitelist. Add tests for Superenv#cxx11. Closes #346.
2016-06-16update.sh: quieten checkout.Mike McQuaid
2016-06-14macOS Sierra: add pkg-config filesDominyk Tiller
2016-06-14diagnostic: prod unsupported OS users to file PRs. (#365)Mike McQuaid
They may not but it's nice to be a bit more explicit.
2016-06-14man: auto detect maintainers listXu Cheng
2016-06-14hardware: prettify config output on 6/8-core CPUs (#313)Martin Afanasjew
2016-06-14tests: fix problems in 'log with formula' test (#350)Martin Afanasjew
Problems fixed: - Broken and leaking test if run as part of `brew tests --coverage` due to the `cmd` call being nested in the `Pathname#cd` block. - Output during `git clone` operation because of a missing `shutup do`. - Still incomplete coverage for `cmd/log.rb` because `brew log` is invoked on the formula in the origin instead of the shallow clone. - Minor stylistic fixes: - Superfluous parentheses around `core_tap.path.dirname`. - Overly long lines.
2016-06-14tests: simplify SimpleCov configuration (#348)Martin Afanasjew
There is no good reason to configure the options specific to integration tests in a completely different location from all other options.
2016-06-14tests: avoid compat code in --no-compat mode (#347)Martin Afanasjew
Simply drop because the `require`s are not actually used by the tests and no file from `compat/` should be loaded unconditionally. (This can otherwise lead to incorrect results for `brew tests --no-compat`.)
2016-06-14tests: add test bottle for SierraDominyk Tiller
Fixes: ``` 1) Error: FormularyFactoryTest#test_factory_from_bottle: Errno::ENOENT: No such file or directory - /usr/local/Library/Homebrew/test/bottles/testball_bottle-0.1.sierra.bottle.tar.gz /usr/local/Library/Homebrew/formulary.rb:98:in `realpath' /usr/local/Library/Homebrew/formulary.rb:98:in `realpath' /usr/local/Library/Homebrew/formulary.rb:98:in `initialize' /usr/local/Library/Homebrew/formulary.rb:274:in `new' /usr/local/Library/Homebrew/formulary.rb:274:in `loader_for' /usr/local/Library/Homebrew/formulary.rb:215:in `factory' /usr/local/Library/Homebrew/test/test_formulary.rb:79:in `test_factory_from_bottle' ``` Closes #358. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-06-14xcode: expect 8.0 on macOS 10.12Dominyk Tiller
Closes #357. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-06-14mac: recognise Clang 800Dominyk Tiller
2016-06-13os/mac/version: add macOS Sierra. (#353)Mike McQuaid
2016-06-13test-bot: strip additional invalid XML chars under Ruby 1.8.7 (#341)Andrew Janke
2016-06-12update.sh: developers always run update-report.Mike McQuaid
As they may use e.g. `git pull` which may result in them having formulae that aren't migrated (and they mind less about the slight slowdown).
2016-06-12tests: extend cmd/log integration test (#333)Andrea Kao
2016-06-12Add "build_dependencies" key to JSON output (#340)Elliot Saba
This gives the JSON output the same type of information as `recommended_dependencies` or `optional_dependencies`, but for those marked `:build` in the formula.