Rylan Polster
f450bfbf5e
style: migrate some lists back to Homebrew/brew
2020-12-02 20:56:07 -05:00
Rylan Polster
77b4275f81
Merge pull request #9326 from Rylan12/migrate-style-exceptions
...
Migrate style exceptions to homebrew/core
2020-12-01 12:19:45 -05:00
linzichao
058a1c3645
add verified parameter in url
2020-12-01 01:17:21 +01:00
Rylan Polster
2256e547d9
Remove unneeded "formulae exist" test
2020-11-30 18:18:50 -05:00
Markus Reiter
da8d91bd05
Fix .simplecov
exit status for integration tests.
2020-11-30 20:52:27 +01:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Markus Reiter
d5b184d17a
Add types for SystemCommand
.
2020-11-23 05:48:43 +01:00
Markus Reiter
bf486c5397
Merge pull request #9212 from reitermarkus/brew-cask-fetch
...
Support casks in `brew fetch`.
2020-11-20 09:32:13 +01:00
Markus Reiter
7a83f34dd1
Support casks in brew fetch
.
2020-11-19 19:46:59 +01:00
Markus Reiter
7c5d8a5288
Refactor FormulaInstaller
.
2020-11-18 09:30:11 +01:00
Claudia
b36fd8ebd9
Fix brew audit Formula/formula.rb
...
Fix a regression introduced in PR #8542 , which wouldn’t exclude
formulae and casks from stricter style checks properly unless tapped.
This caused `brew audit Formula/formula.rb` to report violations which
were not meant for formulae and casks.
The fix is to add Exclude patterns for formulae and casks in any
`git clone`d tap’s working tree.
Working outside of the productive Homebrew installation makes sure that
the latter doesn’t interfere with development, and vice versa.
It also helps track work in progress, especially if one tends to forget
things.
2020-11-16 20:01:48 +01:00
Rylan Polster
50890ebd51
fix Lint/DuplicateBranch style
2020-11-16 02:02:52 +01:00
Jonathan Chang
215a84e328
rubocop: fix Style/DocumentDynamicEvalDefinition
2020-11-10 23:28:31 +11:00
FX Coudert
00636cc5ad
Merge pull request #9069 from fxcoudert/bs3
...
Fix Big Sur ARM bottle filename
2020-11-06 15:59:14 +01:00
Francois-Xavier Coudert
bc3be145cf
Fix Big Sur ARM bottle filename
2020-11-06 15:26:03 +01:00
Francois-Xavier Coudert
50807c81b0
Allow casks to depend on ARM
2020-11-06 15:16:47 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
5f005f67cf
Refactor global Cask::Config
.
2020-10-01 00:57:10 +02:00
Markus Reiter
c098ce5d16
Fix tests for cask audit
.
2020-09-14 13:12:38 +02:00
Markus Reiter
d45af9e781
Remove colon from RSpec annotations.
2020-09-09 21:56:19 +02:00
Markus Reiter
196d7badfa
Improve RSpec annotations.
2020-09-09 10:24:20 +02:00
Mike McQuaid
8118aee85d
Merge pull request #8651 from Homebrew/imgbot
...
[ImgBot] Optimize images
2020-09-08 17:14:00 +01:00
ImgBotApp
1a7b3e87ee
[ImgBot] Optimize images
...
*Total -- 61.65kb -> 43.73kb (29.07%)
/docs/assets/img/docs/managing-pull-requests.drawio.svg -- 61.61kb -> 43.69kb (29.08%)
/Library/Homebrew/test/support/fixtures/test.gif -- 0.04kb -> 0.03kb (18.6%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-08 14:34:34 +00:00
Markus Reiter
4d8dcb1d81
Add RSpec formatter for Github Actions.
2020-09-07 23:50:44 +02:00
rmnull
7863cc6f80
remove {rust,cpp,go}.elf fixutres.
2020-09-02 18:58:36 +05:30
rmnull
f5ca649e1d
new elf fixtures, and basic tests for Pathname#rpath(=), and Pathname#interpreter(=).
2020-09-02 18:58:36 +05:30
Mike McQuaid
667c2b8804
Merge pull request #8382 from Bo98/startup-speedup
...
Lazily require some heavy files
2020-08-21 17:11:39 +01:00
Dawid Dziurla
c8c2e38bcb
Consistently use HOMEBREW_RUBY_WARNINGS when calling ruby
...
Adding this in `dev-cmd/ruby.rb` allows us to suppress warnings like:
```
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/language/python.rb:8: warning: Insecure world writable dir /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/scm in PATH, mode 040777
```
2020-08-20 14:59:58 +02:00
Bo Anderson
281632b64e
test: ensure require "formula"
isn't run on startup
2020-08-20 02:05:17 +01:00
Bo Anderson
e3372e2a14
Lazily require some heavy files
2020-08-20 02:05:17 +01:00
Rylan Polster
90d9454d1e
utils/spdx: add support for complex expressions
...
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-19 12:47:58 -04:00
William Ma
a7b063efb5
named_args: Warn when cask with same name exists
2020-08-17 13:06:47 -04:00
William Ma
c8016f6c0a
named args: add method tests
2020-08-14 14:10:55 -04:00
Markus Reiter
3b2a9c3b55
Merge pull request #8335 from waldyrious/show-cask-descs-in-info-command
...
Show cask description in `brew cask info` command
2020-08-14 00:52:27 +02:00
Waldir Pimenta
619af6a723
Show cask description in brew cask info
command
2020-08-13 22:21:10 +01:00
Waldir Pimenta
efbfb90c42
Use cask with name for basic info command test
...
Also add non-dummy URL in the test fixture, to match the name, version, etc.
2020-08-13 22:21:10 +01:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
Waldir Pimenta
c66fa42efd
Add language
stanza to cask rubocops
...
Also fix the corresponding test
2020-08-09 22:07:31 +01:00
Markus Reiter
8a32954940
Move cask/all
to just cask
.
2020-08-09 01:34:07 +02:00
Markus Reiter
24eff8f81a
Pass args
in SoftwareSpec
instead of using global args
.
2020-07-30 03:21:12 +02:00
Mike McQuaid
25db60ebbb
Unify (mostly) Homebrew code style
...
Make the Homebrew/cask and Homebrew/homebrew-core style more closely
match the rest of Homebrew.
To accomplish this:
- Run `brew cask style` to ensure we don't break style there when
making changes or upgrading RuboCop in Homebrew/brew.
- Fix the HomepageMatchesUrl cop to better handle weird input.
- Remove the now unneeded `.rubocop_shared.yml`
- Fix the cask fixtures with `brew cask style --fix`.
- Share more style between Homebrew/brew, casks and formulae.
2020-07-27 12:57:40 +01:00
lionellloh
29622c35d1
tests: wrote up more tests for brew install
2020-07-07 21:34:49 +08:00
Mike McQuaid
4e10341277
Merge pull request #7752 from SMillerDev/cask/readall
...
Support casks in readall
2020-07-01 12:19:30 +01:00
Mike McQuaid
0166211ffd
integration_test: don't error on missing bin.
2020-07-01 11:55:42 +01:00
Bo Anderson
04cebe30dc
test/support/fixtures/bottles: add Big Sur fixtures
2020-06-24 16:31:48 +01:00
Adrian Ho
6044bb17ee
Fix test cask macOS dependency
...
This should be updated when the minimum OS requirement changes.
2020-06-23 09:51:56 +08:00
Mike McQuaid
b58fa4ebb1
Drop Mavericks support.
...
Companion to https://github.com/Homebrew/brew/pull/7698 .
Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00
Mike McQuaid
11cf77be17
formula_installer: prelude before fetch.
...
This ensures that dependencies are verified and tapped before they are
fetched. `FormulaInstaller#lock` has been moved into
`FormulaInstaller#install` to avoid locking until necessary.
While we're here, don't compute dependencies before fetching if we're
not going to use them.
2020-05-23 13:40:13 +01:00
Mike McQuaid
08a9f0e1c0
Use FormulaInstaller#fetch before #prelude.
2020-05-11 09:38:26 +01:00
Michelle Nguyen
2264c08cee
Fetch formula resources before unlinking during upgrade.
...
Fixes #6374 .
2020-05-11 09:37:56 +01:00