hyuraku
178ae750b9
utils/github: set default args to search_code
2021-02-26 21:31:30 +09:00
Mike McQuaid
545c568f52
Merge pull request #10693 from MikeMcQuaid/speedup_brew_prefix
...
Speedup `brew --prefix <formula>`
2021-02-26 10:47:51 +00:00
Bo Anderson
06381deef4
Merge pull request #10686 from Bo98/safe_fork-status
...
utils/fork: handle termsig in safe_fork
2021-02-26 04:25:54 +00:00
Mike McQuaid
ca47b47f77
Speedup brew --prefix <formula>
...
This case is _really_ slow even although it's something we encourage
people to run often and build systems often do. The `brew --prefix`
case is really fast because it's just in Bash so: let's pull the
`brew --prefix <formula>` case into Bash too.
This doesn't handle any edge-cases like `--installed` and the formula
detection is pretty simple.
Also, to make this behaviour consistent, never output `Cellar` paths
from the (Ruby) `brew --prefix`; we never want people relying on the
Cellar paths anyway, only output them if the formula wasn't installed
(where, arguably, using a Cellar path is even worse) and the speedup is
worth this deviation in behaviour.
2021-02-25 17:07:28 +00:00
Bo Anderson
f079373d8c
utils/fork: handle termsig in safe_fork
2021-02-25 13:42:44 +00:00
Shaun Jackman
bd75cfc4e0
Merge pull request #10677 from sjackman/sj/pr-upload
...
pr-upload: Upload bottles to Archive.org
2021-02-23 19:06:44 -08:00
Kenneth Chew
edead95768
utils/spdx: correctly detect non-deprecated licenses with plus
2021-02-23 16:28:24 -05:00
Shaun Jackman
0f2c47dbe3
Add test/archive_spec.rb
2021-02-22 18:07:39 -08:00
Issy Long
e143dfdad6
Merge pull request #10658 from issyl0/rubocop-enable-rspec-context-wording
...
rubocop: Enable RSpec/ContextWording cop & fix offenses
2021-02-23 00:14:02 +00:00
Issy Long
7a0effdf6f
Merge pull request #10659 from issyl0/fix-mismatched-test-descriptions
...
test/rubocops: Fix mismatched test descriptions
2021-02-23 00:13:58 +00:00
Issy Long
8dfaad9ac2
Merge pull request #10665 from issyl0/rubocop-enable-rspec-repeated-example-group-description
...
rubocop: Enable RSpec/RepeatedExampleGroupDescription cop & fix offenses
2021-02-23 00:13:54 +00:00
Issy Long
ead84825a6
test: Fix all RSpec/RepeatedExampleGroupDescription offenses
2021-02-21 14:06:24 +00:00
Issy Long
5793be5b86
test: Change more context
s to describe
s for better sentences
...
- We could have added "to" to the `RSpec/ContextWording` list of valid
`context` prefixes, but switching these to `describe` is less special.
2021-02-21 13:31:26 +00:00
Issy Long
dfebf71e26
test/livecheck/skip_conditions_spec: Even better context
wording
...
Co-authored-by: Nanda H. Krishna <nanda.harishankar@gmail.com>
2021-02-20 13:22:47 +00:00
Issy Long
38a427bf0d
test/option_declaration_spec: Align test description with contents
2021-02-20 00:04:05 +00:00
Issy Long
f194b5e983
test/bottle_format_spec: Align test description with contents
2021-02-20 00:03:47 +00:00
Issy Long
83ead25229
rubocop: Disable RSpec/ContextWording
for shared_context
descs
...
- I couldn't figure out a way to start these with "when", "with" or
"without" given where these are in cop descriptions. Three ignored
things out of 150 problems is a good ratio though.
2021-02-19 23:31:17 +00:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording
offenses
...
- For some of these I changed `context` to `describe` as it fit better
rather than contriving a "when", "with" or "without", or massively
restructuring the tests.
2021-02-19 23:30:41 +00:00
Dustin Rodrigues
c8e99e5185
python: stop passing no-user flag on installation
2021-02-19 12:49:10 -05:00
Nanda H Krishna
53d840c969
Merge pull request #10635 from nandahkrishna/bump-cask-support
...
dev-cmd/bump: add cask support
2021-02-18 02:35:34 +05:30
nandahkrishna
f7c8810214
utils/github/api: remove 'api' from method names
2021-02-17 23:47:05 +05:30
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support
2021-02-17 00:42:07 +05:30
nandahkrishna
56e0c3d9e8
Update GitHub API usage
2021-02-15 22:38:27 +05:30
Rylan Polster
79e93f54e2
Ignore more parser warnings
2021-02-14 11:58:05 -05:00
Mike McQuaid
320bccb38d
Merge pull request #10594 from Bo98/consistent-alignment
...
rubocop: use consistent array/hash indentation
2021-02-12 17:29:15 +00:00
Mike McQuaid
f9b4b69f27
Merge pull request #10575 from nandahkrishna/dependent-cask-check
...
cmd/uninstall: check for dependent casks
2021-02-12 10:55:38 +00:00
nandahkrishna
f7f9433443
Keg.find_some_installed_dependents: move to installed_dependents.rb
2021-02-12 01:42:17 +05:30
Bo Anderson
7d91406b88
Merge pull request #10588 from Bo98/git-test-fix
...
test/utils/git_spec: fix cherry pick test with older git
2021-02-11 17:41:10 +00:00
Bo Anderson
323ff660fa
rubocop: use consistent array/hash indentation
2021-02-11 13:27:42 +00:00
Bo Anderson
0f4ccd7625
Merge pull request #10552 from Bo98/sdk-checks
...
os/mac/diagnostic: check SDK version in SDKSettings matches the path
2021-02-11 12:53:05 +00:00
Bo Anderson
87b6fe8f84
test/os/mac/sdk: add tests
2021-02-11 01:20:02 +00:00
Bo Anderson
fe52b3a402
os/mac/diagnostic: check SDK version matches the path
2021-02-11 01:19:59 +00:00
Tom Hu
9dff3236a7
Merge branch 'master' into codecov-action
2021-02-10 18:47:57 -05:00
Bo Anderson
f5c075d668
test/utils/git_spec: fix cherry pick test with older git
2021-02-10 17:36:46 +00:00
nandahkrishna
fcb1aa8aef
test/keg_spec: add test to check for dependent casks
2021-02-10 12:05:12 +05:30
Michka Popoff
0a292c7041
linux: use preferred_gcc instead of gcc
2021-02-09 21:48:48 +01:00
nandahkrishna
1d204a0893
test/uninstall_spec: fix dependent cask handling
2021-02-09 16:07:49 +05:30
nandahkrishna
7965ad6160
cmd/uninstall: check for dependent casks
2021-02-09 08:47:11 +05:30
nandahkrishna
0474fe6093
dev-cmd/update-maintainers: add tests
2021-02-08 23:33:25 +05:30
Michka Popoff
066ef6b43e
Merge pull request #10512 from iMichka/gcc5
...
compilers: prefer gcc 5 on linux
2021-02-08 17:23:47 +01:00
Rylan Polster
78f54b060c
Merge pull request #10540 from cdalvaro/feature/brew_info_add_full_token_for_casks
...
Add full_token and tap entries to cask json output
2021-02-08 07:54:57 -05:00
Michka Popoff
221983dbcf
compilers: prefer gcc 5 on linux
...
Fixes #10170 by preferring gcc@5 on linux
This makes sure ENV.cc and ENV.cxx is correctly set:
If a formula does not explicitely depend on a brewed gcc,
ENV.cc is set to gcc-5 (system gcc-5 or brewed gcc-5) with this change,
even if other gcc versions are installed on the system.
2021-02-08 13:26:50 +01:00
Carlos Álvaro
65d5c11f15
Update list_spec.rb for cask full_name
2021-02-08 13:20:41 +01:00
Carlos Álvaro
ce7ab823ed
Replace test for checking formulae tap
...
As suggested by @Rylan12, integration tests are super slow.
Co-Authored-By: Rylan Polster <rslpolster@gmail.com>
2021-02-08 13:20:41 +01:00
Carlos Álvaro
7ca79553f0
Add test to check --json=v2 format
2021-02-08 13:20:41 +01:00
Carlos Álvaro
84d80cf0bf
Add tap to cask json output
2021-02-08 13:20:40 +01:00
Carlos Álvaro
4f5f3824c6
Add full_token to cask json output
2021-02-08 13:20:40 +01:00
Sam Ford
0d1aa33f81
Merge pull request #10525 from samford/livecheck-check-stable-before-head
...
livecheck: check stable before head by default
2021-02-05 19:30:10 -05:00
Rylan Polster
5f57601fd8
style: re-enable bottle order cop
2021-02-04 17:18:20 -05:00
Rylan Polster
3dccea251f
bottle: write bottles in correct order
2021-02-04 16:04:13 -05:00