aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-08-14Test that sandbox complains correctlyTim D. Smith
Test that sandbox does not complain about bogus .pyc errors and does complain about other failures. Closes #684.
2016-08-14Don't report .pyc file writes in sandbox logsTim D. Smith
These are never fatal and often confusing. Fixes #683.
2016-08-14Merge pull request #711 from MikeMcQuaid/update-test-tweakMike McQuaid
update-test: tweak master not updated check.
2016-08-14pull: loosen Jenkins Testing URL.Mike McQuaid
2016-08-14update-test: tweak master not updated check.Mike McQuaid
Loosen this a bit; we don't necessarily expect the end commit is the one we're looking for, just that it has changed from the start commit (i.e. some sort of update has occurred). Addresses some false negatives on `master` branch merges that weren't present on the PR commits.
2016-08-14list: note that `ls` command is used.Mike McQuaid
And arguments can be passed through to it. Tweak produced out of conversation in https://github.com/Homebrew/brew-evolution/pull/8.
2016-08-14Merge pull request #679 from MikeMcQuaid/ship-auto-updateMike McQuaid
Ship Homebrew auto-update support.
2016-08-14Merge pull request #703 from MikeMcQuaid/search-remove-cacheMike McQuaid
search: remove thread-unsafe Hash cache.
2016-08-14Merge pull request #702 from MikeMcQuaid/silence-audit-revisionsMike McQuaid
Silence auditing formula revisions deprecations
2016-08-14Merge pull request #689 from MikeMcQuaid/update-forceMike McQuaid
update: add --force argument.
2016-08-14Merge pull request #682 from eirinikos/extend-cmd-audit-testsMike McQuaid
tests: refactor FormulaTextTests in test_cmd_audit, add assertion to test_simple_valid_formula
2016-08-14Merge pull request #677 from sjackman/print-dependenciesMike McQuaid
install_dependencies: Do not truncate dependencies
2016-08-14Merge pull request #707 from ilovezfs/pull-testing-job-non-coreMike McQuaid
pull: non-core tap support for Homebrew Testing jobs
2016-08-13tab: fix Tab.for_formula versions (#687)Uladzislau Shablinski
versions should be initialized even if formula is not installed
2016-08-13pull: non-core tap support for Homebrew Testing jobsilovezfs
`test-bot --ci-testing` supports a `--tap` option for non-core taps, so `brew pull` should too when pulling Homebrew Testing jobs.
2016-08-13test_gpg: tweak rmtree usageDominyk Tiller
Swats away this annoying warning when the test is skipped due to GPG being unavailable: ``` 1) Skipped: GpgTest#test_create_test_key: GPG Unavailable Error: GpgTest#test_create_test_key: NoMethodError: undefined method `rmtree' for nil:NilClass /usr/local/Library/Homebrew/test/test_gpg.rb:11:in `teardown' ``` Closes #675. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-08-13test_gpg2_requirement: add satisfied testDominyk Tiller
2016-08-13gpg_requirement: rename to gpg2_requirementDominyk Tiller
2016-08-13gpg_requirement: centralise logic in Gpg classDominyk Tiller
Removes the detection logic from the Requirement in favour of it living inside the Gpg class & us calling it from there. It's a bit nicer & avoids us calling Requirement code from outside of direct requirement handling & fulfillment.
2016-08-13gpg_requirement: add standalone requirementDominyk Tiller
GPG 1.x has stopped receiving new features, some of which we may well want to take advantage of sooner or later in Homebrew. Upstream has also been attempting to work out for a while how well used it still is which suggests it may "go away" at some point in the future. Debian is also in the process of migrating GnuPG 1.x to a `gpg1` executable whilst GnuPG 2.1.x assumes the `gpg` executable. There's a detailed video discussion of this from DebConf 2015 at: http://meetings-archive.debian.net/pub/debian-meetings/2015/debconf15/GnuPG_in_Debian_report.webm It's unsafe to assume every `gpg` executable is going to forever equal 1.x and every `gpg2` executable is going to forever equal 2.x. MacGPG2 has been symlinking 2.x as a vanilla `gpg` for a while, for example, and we will be soon as well. You'll still be able to plonk the `libexec/bin` path of `gpg` in your PATH to access a vanilla `gpg` 1.x executable if you want to, but we're not going to actively keep adding gpg1 support to formulae going forwards. There's really no reason why 99.9% of projects should not or cannot use `gpg2` these days. This uses detection methods to determine regardless of what the executable is called we're always hitting a 2.0 GnuPG or nothing.
2016-08-13requirements: split out gpgDominyk Tiller
2016-08-12install_dependencies: Do not truncate dependenciesShaun Jackman
See Homebrew/legacy-homebrew#48449
2016-08-12oh1: Add a truncate optionShaun Jackman
2016-08-12gpg: simplify available checkDominyk Tiller
which_all already runs some checks to see if the file is a file & is executable. Our usage here inside `self.available?` is mostly a smoke test. Closes #676. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-08-12gpg: combine detection logicDominyk Tiller
2016-08-12test_gpg: add initial testsDominyk Tiller
2016-08-12gpg: add initial bare-bones wrapperDominyk Tiller
2016-08-12tests: add assertion to test_simple_valid_formulaAndrea Kao
2016-08-12tests: refactor FormulaTextTests in test_cmd_auditAndrea Kao
2016-08-12search: remove thread-unsafe Hash cache.Mike McQuaid
Doesn't appear to affect the speed of `brew search`. Fixes #415.
2016-08-12formula_versions: set/unset raise_deprecation_exceptions.Mike McQuaid
2016-08-12utils: check raise deprecation exceptions value.Mike McQuaid
2016-08-12global: add Homebrew.raise_deprecation_exceptionsMike McQuaid
2016-08-12update: add --force argument.Mike McQuaid
Add a `brew update --force` to side-step all of the clever optimisations we have to detect if an update is unnecessary. That means if those optimisations go wrong in future we can tell people just to run this single command. This would have been a useful workaround for the issue fixed in 985c672.
2016-08-12Merge pull request #699 from MikeMcQuaid/update-upstream-branchMike McQuaid
update.sh: prevent overwriting UPSTREAM_BRANCH.
2016-08-11os/mac: Update ruby-macho calls for compatibility with 0.2.5.William Woodruff
Closes #656. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-08-11vendor: Update vendored ruby-macho to 0.2.5.William Woodruff
2016-08-11update.sh: prevent overwriting UPSTREAM_BRANCH.Mike McQuaid
UPSTREAM_BRANCH was being used both as a loop variable name and name for the upstream branch for HOMEBREW_REPOSITORY. This meant that the variable names were overwritten which prevented update. Closes #693.
2016-08-11Revert "formula_versions: also silence stderr."Mike McQuaid
2016-08-11formula_versions: also silence stderr.Mike McQuaid
We already stop old formula versions printing stdout but this also stops them printing on stderr for e.g. old deprecation warnings.
2016-08-11update.sh: further tweak update fix.Mike McQuaid
2016-08-11update-test: check we end up at end commit.Mike McQuaid
This would have caught the bug fixed in 985c67.
2016-08-11update.sh: check upstream SHA prefetch not local.Mike McQuaid
Otherwise this can prevent taps from being updated as expected.
2016-08-11Update --fetch-HEAD documentationVlad Shablinsky
2016-08-10move shell_profile to compat/utils.rb & deprecateGreg Nisbet
2016-08-10tests for shell-specific diagnostic messageGreg Nisbet
2016-08-10Multi-shell diagnostic checkGreg Nisbet
2016-08-10Utils::Shell.shell_profile in formula_cellar_checksGreg Nisbet
2016-08-10resolve conflict in diagnostic.rbGreg Nisbet
2016-08-10Enable vendored Ruby 2.0.Mike McQuaid