Mike McQuaid
97958410f4
dev-cmd/tests: improve parallel args naming.
2019-02-27 14:02:46 +00:00
Mike McQuaid
6c55fe1c35
Merge pull request #5780 from MikeMcQuaid/tests-vendor-join-gemfile
...
Unify test/vendor Gemfiles and bundler configuration.
2019-02-23 12:49:57 +00:00
Mike McQuaid
ba28853237
Merge pull request #5739 from MikeMcQuaid/governance
...
Add/link Homebrew Governance document.
2019-02-22 16:50:33 +00:00
Mike McQuaid
6b326f4465
Move all gems to vendor/bundle, remove vendor/bundle-standlone.
2019-02-21 16:34:20 +00:00
Mike McQuaid
e1c12de1ba
Merge pull request #5776 from sjackman/tests-user
...
tests: Set environment variable USER if not set
2019-02-21 13:26:44 +00:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause.
2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier.
2019-02-21 12:55:49 +00:00
Markus Reiter
c74799fe8a
tests: Use system_command rather than popen_read
...
Co-Authored-By: sjackman <sjackman@gmail.com>
2019-02-20 11:33:00 -08:00
Shaun Jackman
cb0fe44af3
tests: Set environment variable USER if not set
...
These two tests fail if the enivornment variable USER is not set:
./test/utils/user_spec.rb:6 # User should eq nil
./test/utils/user_spec.rb:22 # User#gui? when the current user is in a
console session gui? should equal true
2019-02-20 09:38:29 -08:00
Mike McQuaid
cee75b6af2
ARGV: freeze when using CLI::Parser.
...
Otherwise `Homebrew.args` values may not match those of modified `ARGV`.
2019-02-18 16:56:43 +00:00
Mike McQuaid
ae7492f3b5
Remove "undocumented options" that are documented options.
2019-02-16 20:07:28 +00:00
Mike McQuaid
aafcbc1153
Add/link Homebrew Governance document.
2019-02-15 10:54:30 +00:00
Mike McQuaid
947b90961b
Note leadership changes
...
Today the Homebrew maintainers elected a new PLC, TSC and project lead.
Documentation is to follow detailing exactly the responsibilities for
each of these roles but adjust these to reflect the current state until
that point.
2019-02-04 17:09:31 +01:00
Mike McQuaid
bbea109926
dev-cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Mike McQuaid
0fff6e0c09
man: improve manpage output.
2019-01-30 21:38:44 +00:00
Mike McQuaid
867b155479
Add missing conflicts to command options.
2019-01-29 19:39:41 +00:00
Claudia
c2bbd9df7e
Remove unneeded curl_openssl_or_deps
invocation
...
This fixes a regression introduced in #5626 [1], which removed `curl_openssl_or_deps` and left a single call in the code.
[1]: https://github.com/Homebrew/brew/pull/5626
2019-01-28 08:10:37 +01:00
Mike McQuaid
efd69b16ed
audit: no longer need openssl/curl HTTP mirrors.
...
Mavericks' `curl` can download these fine over HTTPS.
2019-01-27 16:25:40 +00:00
Mike McQuaid
9b5ab7fbb7
Merge pull request #5598 from MikeMcQuaid/odeprecated-odisabled
...
Update deprecations and cleanup
2019-01-27 12:13:26 +00:00
Mike McQuaid
382e0ed7b4
azure-pipelines-yml: early exit on errors.
...
We don't want to silently ignore failing commands.
Also, while we're editing the `tap-new` generated `azure-pipelines.yml`
also add the changes missed here from #5600 .
2019-01-24 20:45:00 +00:00
Mike McQuaid
eed1444d61
Update deprecations and cleanup
...
- Move `odeprecated` to `odisabled`
- Remove `odisabled`
- Enable automatic cleanup on install/reinstall/upgrade.
2019-01-23 21:57:40 +00:00
Mike McQuaid
db7fd7b7a2
Tweak audits
...
- Ensure that new formulae problems aren't duplicated
- Now that homebrew/core will imminently not have options adjust the
various audits so they make more sense (and exclude taps)
- Exclude taps from more preferential audits
2019-01-22 13:30:24 +00:00
Mike McQuaid
88b98969a5
bottle: detect vim's lack of relocatableness.
...
References https://github.com/Homebrew/homebrew-core/issues/35236 .
2019-01-21 20:17:59 +00:00
Mike McQuaid
efc3c0c4c0
Use bundle install
in more places.
...
This provides a more consistent version for `rubocop` than relying on
`Homebrew.install_gem_setup_path!` (and we really want `brew style` to
provide consistent output).
2019-01-08 15:08:21 +00:00
Mike McQuaid
5b7404a0d2
Install Bundler <2.
...
Newer versions require the systems RubyGems to be updated.
2019-01-03 16:43:56 +00:00
Mike McQuaid
61fa59e95b
Remove Travis CI specific code
...
We’re no longer using this for our CI so this is no longer necessary.
Also, migrate `brew tap-new` to use Azure pipelines.
2018-12-30 21:13:24 +00:00
Mike McQuaid
438939cea5
tests: delete HOMEBREW_INSTALL_CLEANUP for test consistency.
2018-12-30 20:05:29 +00:00
Jonathan Chang
1e57725e8f
update-test: fix for mkdir block form
2018-12-27 13:09:14 -08:00
Mike McQuaid
390a7f5447
Add brew vendor-gems
command.
...
This simplifies the process of vendoring gems given `Gemfile` or
`Gemfile.lock` changes.
2018-12-21 20:09:08 +00:00
Mike McQuaid
f15f665b98
audit: ensure postgresql previous version exists.
...
This will avoid https://github.com/Homebrew/homebrew-core/issues/34879
in future.
2018-12-09 19:31:19 +00:00
Mike McQuaid
ab0b2304f7
audit: allow {open,libre}ssl@* to use :provided_by_macos
.
2018-12-07 10:27:17 +00:00
Shaun Jackman
81021e6a60
Merge pull request #5365 from iMichka/bottle
...
brew bottle --keep-old: Combining :any and :any_skip_relocation yields :any
2018-12-04 08:56:14 -08:00
Michka Popoff
af92fe2f17
bottle: Fix bottling for Linux
...
When there is no previous linux bottle, and the bottle block looks like this:
bottle do
sha256 "5cbcce4556b41ece91f01778068f481514bc3a0d5447ddbff048797236cc9b29" => :mojave
sha256 "15748ef1ffefa088f7c958e6935c6eec794781858e6190196e18e94ab768adc2" => :high_sierra
sha256 "49eb0e5d27b8868b2dba20efbde3ef75becc0cbf5ea230c00e5745e2df697cb6" => :sierra
end
then the bottling fails with:
Error: --keep-old was passed but there are changes in:
cellar: old: "/home/linuxbrew/.linuxbrew/Cellar", new: :any_skip_relocation
==> FAILED
This change allows to run the bottling step for these cases.
2018-12-03 23:34:26 +01:00
Shaun Jackman
79b1d4178e
bottle: Ignore matches to source code
...
Ignore matches to source code, which is not required at run time.
These matches may be caused by debugging symbols.
2018-12-03 08:22:29 -08:00
Shaun Jackman
cbeb077b2e
bottle: Skip matches to files in build deps
...
Files in build dependencies are not required at run time.
2018-12-02 13:29:43 -08:00
Steven Peters
2f2304ea40
dev-cmd/bottle: recognize version_scheme in merge
2018-11-10 01:41:45 -08:00
Andrew Janke
eb7d7a20df
audit: Relax versioning audits for non-official taps
2018-11-08 12:53:43 -08:00
Mike McQuaid
bada451a81
Merge pull request #5240 from MikeMcQuaid/rubocop-bump
...
RuboCop 0.60.0
2018-11-04 11:48:51 +00:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
Shaun Jackman
f70a2c67da
pull --bottle: Fix bug in any_bottle_tag
...
Utils::Bottles.tag is a symbol, whereas bottle_tags is an array of strings.
2018-11-01 09:28:31 -07:00
Mike McQuaid
422257067c
Merge pull request #5216 from GauthamGoli/audit-args-fix
...
audit: Don't mutate args
2018-10-31 08:44:49 +00:00
Gautham Goli
840fbd69fb
audit: Don't mutate args
2018-10-31 10:50:03 +05:30
commitay
32b1f13bd0
bump-formula-pr: run audit by default
2018-10-30 13:22:36 +10:00
Steven Peters
7116b74705
dev-cmd/bottle: require arg for --root-url
2018-10-29 14:54:37 -07:00
Mike McQuaid
322075130e
Merge pull request #5196 from commitay/keg-only-style
...
audit: make `keg_only_style` non-strict
2018-10-27 14:55:29 +01:00
Mike McQuaid
fa9a59fe1e
Merge pull request #5192 from commitay/unstable
...
audit: remove deleted formulae from unstable whitelist
2018-10-27 14:53:59 +01:00
commitay
de529c8225
audit: make keg_only_style
non-strict
2018-10-27 22:52:20 +10:00
commitay
1d89027409
audit: remove deleted formulae from unstable whitelist
2018-10-27 20:50:10 +10:00
commitay
823f2234f1
audit: make throttled
a regular audit
2018-10-27 10:44:09 +10:00
commitay
17e55ead73
audit: check for bottle do
blocks in new formulae
2018-10-24 20:48:26 +10:00