638 Commits

Author SHA1 Message Date
Bo Anderson
977cad1599
download_strategy: take basename of response-content-disposition query 2021-03-16 15:06:17 +00:00
Mike McQuaid
1d32dc9067
Support downloading bottles from GitHub Packages 2021-03-12 14:11:24 +00:00
Mike McQuaid
37f7b9ee73
Merge pull request #10750 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.10.0
build(deps): bump rubocop-performance from 1.9.2 to 1.10.0 in /Library/Homebrew
2021-03-01 15:13:01 +00:00
Bo Anderson
d330e915d1
download_strategy: add comment about Content-Disposition handling 2021-03-01 13:59:05 +00:00
Mike McQuaid
9663567501
Fix brew style. 2021-03-01 13:43:47 +00:00
Bo Anderson
388a66383b
download_strategy: only take basename of Content-Disposition 2021-02-27 17:54:18 +00:00
Bo Anderson
03e59f4ec8
download_strategy: don't chdir unless a block is passed 2021-02-24 01:13:10 +00:00
Bo Anderson
85eb346fb7 download_strategy: fix nounzip strategy ignoring block 2021-02-22 13:48:19 +00:00
Nanda H Krishna
b9cbeb3019
Merge pull request #10608 from nandahkrishna/assignment-condition-parentheses
style: use parentheses for assignment in conditions
2021-02-15 18:43:54 +05:30
Rylan Polster
1cc983f00d
download_strategy: pass chdir block to stage 2021-02-12 14:50:50 -05:00
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions 2021-02-12 18:33:37 +05:30
Seeker
b9854bd4cf rubocops: add unless_multiple_conditions 2021-01-08 10:33:54 -08:00
Markus Reiter
b57a448f2a Add bump-unversioned-casks command. 2020-12-07 23:03:47 +01:00
Dario Vladovic
1f103f88d0
livecheck: enable git strategy for sourcehut 2020-11-26 09:30:54 -05:00
Markus Reiter
1b732ec7b2 Fix RuboCop offenses. 2020-11-16 02:05:29 +01:00
Rylan Polster
50890ebd51 fix Lint/DuplicateBranch style 2020-11-16 02:02:52 +01:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Jonathan Chang
ab7b757400 rubocop: fix Style/NegatedIfElseCondition 2020-11-10 23:28:31 +11:00
Jonathan Chang
5ce561c4d1 rubocop: fix Naming/MemoizedInstanceVariableName 2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
Markus Reiter
ff653571b1 Create Utils::Curl module and explicitly include it. 2020-10-10 15:23:03 +02:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
nandahkrishna
c798c3c538
Fixed quiet for download_strategy 2020-10-04 01:03:20 +05:30
Markus Reiter
172bf76d74 Pass verbosity options to curl in download strategies. 2020-09-10 23:50:24 +02:00
Markus Reiter
16acd08d0a Don't override global system_command methods in download strategies. 2020-09-10 23:39:19 +02:00
Dustin Rodrigues
fcf47b4f84 download_strategy: silence detached head warning 2020-09-05 13:05:05 -04:00
Markus Reiter
d558b9f9e2 Document download strategies. 2020-08-26 11:01:18 +02:00
Markus Reiter
8b26e380a2 Refactor and document Svn. 2020-08-23 06:33:58 +02:00
Bo Anderson
1c41127005 download_strategy: require lock_file 2020-08-21 20:31:43 +01:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
Mike McQuaid
a0fd62fddd
Merge pull request #8307 from Bo98/svn-date
download_strategy: more direct SVN modified date detection
2020-08-12 10:51:53 +01:00
Bo Anderson
d7864d7efb download_strategy: more direct SVN modified date detection 2020-08-11 21:01:53 +01:00
Markus Reiter
a19a0917b1 Reinstate #shutup!. 2020-08-11 20:18:30 +02:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Mike McQuaid
f951ea83d4
Fix brew style. 2020-07-07 12:23:29 +01:00
Mike McQuaid
dd50714d1e
Fix RuboCop failures. 2020-06-22 14:09:33 +01:00
Issy Long
0041ea21f5
Change occurrences of "whitelist" to "allowlist" 2020-06-06 22:38:32 +01:00
Mike McQuaid
aa81982aba
brew style --fix 2020-06-02 09:49:23 +01:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections. 2020-05-12 08:32:27 +01:00
Markus Reiter
7ef9ea0880 Delete trailing ; in Content-Disposition header. 2020-04-14 04:54:52 +02:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Dawid Dziurla
37dcbbaf65
download_strategy: unlink the lock file after unlocking it 2020-04-06 09:56:56 +02:00
Chris Tompkinson
4bfed9cdb0 flatten before compact 2020-04-01 15:46:28 +01:00
Chris Tompkinson
931e379fec remove extra space 2020-03-26 10:40:21 +00:00
Chris Tompkinson
90488ed848 rerun tests due to failure 2020-03-26 10:40:04 +00:00
Chris Tompkinson
6d5e37654e
Update Library/Homebrew/download_strategy.rb
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-03-18 14:29:36 +00:00
Chris Tompkinson
0f10d7ba40 use even more concise method for header and headers 2020-03-17 14:32:50 +00:00
Chris Tompkinson
278bba0523 Use concise method for both header and headers 2020-03-12 11:32:47 +00:00
Chris Tompkinson
38da4dcac0 Add headers option to URLs in forumlas 2020-03-10 10:16:25 +00:00
Gautham Goli
acde828a45 ARGV: Replace ARGV.verbose? with Homebrew.args.verbose? 2020-02-02 14:00:04 +01:00