Mike McQuaid
8bac9850f6
Merge pull request #11920 from cho-m/gitlab-released-at-keep-time
...
audit: gitlab prerelease check keep time/zone
2021-09-07 10:34:34 +01:00
Mike McQuaid
7c37a34cca
Merge pull request #11927 from FnControlOption/fetch
...
fetch: fix `--bottle-tag` when unbottled on host system
2021-09-01 16:08:05 +01:00
FnControlOption
7d0a36752b
curl: echo any cookies received on a redirect
2021-09-01 06:32:30 -07:00
FnControlOption
b9fc4e36f0
fetch: fix --bottle-tag when unbottled on host system
2021-08-26 14:44:53 -07:00
Michael Cho
3d2d7c93e7
audit: gitlab prerelease check keep time/zone
2021-08-24 20:10:01 -07:00
Michka Popoff
07df4a7e70
Use Homebrew curl for audit and fetch when specified in the formula
...
Introduce new :using for urls
2021-08-17 13:35:55 +02:00
Rylan Polster
9b2a504207
Fix API fetch methods in Utils::Analytics
2021-08-09 18:39:49 -04:00
Rylan Polster
737dd1654b
Refactor API methods
2021-08-06 04:31:27 -04:00
Logicer
7beb1f227c
Update Library/Homebrew/utils/github/api.rb
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 12:06:04 +10:00
Logicer
ed4f840a67
Fix style
2021-07-20 09:22:34 +10:00
Logicer
0c6f5ab233
Put API.credentials
bit into separate variable
2021-07-20 09:18:16 +10:00
Logicer
71b61d28d1
Fix Style
2021-07-19 12:09:23 +10:00
Logicer
06f415e819
Dont ask to create PAT if one already exists
2021-07-19 10:28:11 +10:00
Logicer
5b7921ff68
Add support for GitHub Oauth tokens from keychain
2021-07-18 21:47:11 +10:00
Nanda H Krishna
5ccfbcd1d2
Autocorrect style issues with brew style --fix
2021-07-08 12:36:39 +05:30
Mike McQuaid
1680ddb267
utils/repology: temporarily disable functionality.
...
Doesn't work with system `curl` currently.
2021-06-30 09:20:56 +01:00
Maxim Belkin
370ef0ac1e
Fix Homebrew style issue
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 09:22:36 -05:00
Maxim Belkin
e967fffdfb
Apply Mike's suggestions
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 09:16:08 -05:00
Maxim Belkin
b29ec8cf65
utils/github.rb: fix dry-run message
2021-06-21 13:37:49 -05:00
Maxim Belkin
514271010a
Merge pull request #11556
...
github.rb: correct one dry-run message
2021-06-18 16:02:22 -05:00
Mike McQuaid
72c59c816f
Merge pull request #11548 from MikeMcQuaid/3_2_deprecate_disable_remove
...
Deprecate, disable, delete code for Homebrew 3.2.0
2021-06-18 14:34:10 +01:00
Misty De Meo
c0a02442d9
Revert "language/java: use shortened brew paths"
...
This reverts commits 318175cfe2b23328f1b5f13812fd59cfd45fe1dc,
e7ab760392b9691a6c730b7e0d660b7874969e70 and
3b35af63f608438b1882756feca94a6ebdd0d6a3 (PR #11537 ).
2021-06-17 20:29:43 -07:00
Maxim Belkin
d533017d38
github.rb: correct one dry-run message
2021-06-17 19:32:10 +00:00
Mike McQuaid
30a65342e8
Deprecate, disable, delete code for Homebrew 3.2.0
...
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Caleb Xu
318175cfe2
Utils: add shortened_brew_path
2021-06-15 09:58:46 -04:00
Bo Anderson
a06d136d2c
Move Sorbet gems into an optional group
2021-06-11 08:10:30 +01:00
Mike McQuaid
c4d69dd2e9
Revert "fix(vendor-gems): redirect bundler stdout to stderr"
2021-06-07 14:51:07 +01:00
Gibson Fahnestock
07d571bebc
fix(vendor-gems): redirect bundler stdout to stderr
...
When running brew commands and interpreting the output, e.g. running
`brew livecheck --json`, it's necessary to stop other programs Homebrew
happens to execute from writing logging output to stdout. Most programs
don't do this, but `bundle install` does seem to.
To reproduce the issue you can run:
```shell
git -C "$(brew --prefix)" clean -ffdx Library/Homebrew/vendor
stdout=$(HOMEBREW_FORCE_VENDOR_RUBY=1 brew livecheck --newer-only --json --cask $(brew --repo homebrew/cask)/Casks/grid.rb)
echo "^^^ was stderr, >>> is stdout: $stdout"
```
If you run it without this change it will print a bunch of output like
this to the stdout before printing out the livecheck JSON output:
```text
Using bundler 1.17.3
Fetching byebug 11.1.3
Fetching coderay 1.1.3
Installing byebug 11.1.3 with native extensions
Installing coderay 1.1.3
Fetching colorize 0.8.1
Installing colorize 0.8.1
[
# Contents of the JSON block.
]
```
With this change the stdout from `bundle install` will be redirected to
brew's stderr, meaning only the JSON goes to stdout, and the rest goes
to stderr.
2021-06-03 11:18:23 +01:00
Mike McQuaid
aa937b9024
Merge pull request #11474 from cho-m/fix-tar-validation
...
utils/tar: fix validation for tar without directory or extensions
2021-06-02 14:06:17 +01:00
hyuraku
90c02f7b5a
change https://api.github.com to API_URL
2021-06-02 21:13:53 +09:00
Michael Cho
9e29c6eac2
utils/tar: fix validation for tar without directory or extensions
2021-06-01 12:53:25 -07:00
Rylan Polster
9f5afcbf63
Merge pull request #11381 from cnnrmnn/fix-range-requests
...
Fix range requests with `curl`
2021-05-15 16:40:20 -04:00
Nanda H Krishna
389f289770
utils/pypi: use opt_bin
for pipgrip
2021-05-15 23:14:34 +05:30
Connor Mann
a079ba9bb3
Add parentheses for clarity
2021-05-14 15:28:56 -04:00
Connor Mann
2a9540b3ab
Check for key explicitly with key?
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-14 15:16:37 -04:00
Connor Mann
b546960da9
Revert "Update Library/Homebrew/utils/curl.rb"
...
This reverts commit ecaaafba203578498fbc0a48493adea1790839f2.
2021-05-14 15:14:56 -04:00
Connor Mann
f7fe111430
Use blank?
instead of checking for nil
2021-05-14 11:53:49 -04:00
Connor Mann
2500b8daba
Update Library/Homebrew/utils/curl.rb
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-14 11:47:38 -04:00
Connor Mann
ecaaafba20
Update Library/Homebrew/utils/curl.rb
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-14 11:16:35 -04:00
Connor Mann
b79aeab8b2
Update Library/Homebrew/utils/curl.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-14 09:55:45 -04:00
Connor Mann
85702dfe53
Update Library/Homebrew/utils/curl.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-14 09:55:40 -04:00
cnnrmnn
b406e0b35a
Update call sites
2021-05-14 09:53:29 -04:00
cnnrmnn
86bce7bf1d
Stop unnecessarily dumping headers
2021-05-14 09:50:57 -04:00
cnnrmnn
a156621297
Simplify header parsing
2021-05-14 09:44:05 -04:00
cnnrmnn
16e7072543
Fix argument order
2021-05-13 12:53:57 -04:00
cnnrmnn
7637fd5366
Only use continue-at with partial requests
2021-05-13 12:28:34 -04:00
cnnrmnn
df0915e33f
Check partial request support with Accept-Ranges
2021-05-13 12:11:34 -04:00
cnnrmnn
b9b917756c
Add header parsing
2021-05-13 11:42:28 -04:00
cnnrmnn
aa989bd55a
Change inititial partial request to HEAD request
2021-05-13 11:39:59 -04:00
Mike McQuaid
b914411ac8
Delete Bintray code
...
Remove all code related to Bintray. It no longer works so there's no
point keeping it around.
Some of this could arguably be deprecated/disabled first/instead but:
I'm not sure I see the sense in keeping stuff around that's known to be
broken.
2021-05-12 13:37:18 +01:00