Maxim Belkin
f3283b60cc
utils/ruby.sh: test_ruby(): keep temporary variables local
2020-08-12 17:07:41 -05:00
Rylan Polster
a703f73d19
Add xonsh update-python-resources blocklist
2020-08-12 09:26:35 -04: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
Seeker
671179d483
utils/github: add check_for_duplicate_pull_requests
...
Moved from dev-cmd/bump-formula-pr to utils/github
2020-08-11 19:26:03 -07:00
Bo Anderson
d7864d7efb
download_strategy: more direct SVN modified date detection
2020-08-11 21:01:53 +01:00
Seeker
f345f554c8
update-license-data: fix latest_tag error
...
Add latest_tag method to utils/spdx
2020-08-10 11:32:07 -07:00
Dustin Rodrigues
677714d801
utils/pypi: add cdk8s to blocklist
2020-08-10 10:28:41 -04:00
Mike McQuaid
6a98b23575
bundler: use 1.17.2 again.
...
This was what is included with macOS system Ruby 2.6.3.
2020-08-10 08:22:03 +01:00
rmnull
da4eb39925
bump BUNDLER_VERSION to 1.17.3(keep in sync with Gemfile.lock)
2020-08-07 23:58:24 +05:30
Seeker
cab2c99641
Merge pull request #8149 from SeekingMeaning/python-logging
...
bump-formula-pr, utils/pypi: tweak log messages
2020-08-07 08:18:26 -07:00
Mike McQuaid
4c23fd0156
Merge pull request #8215 from SeekingMeaning/spdx/util
...
utils: add SPDX module
2020-08-07 10:38:45 +01:00
Seeker
36c7a3f27f
bump-formula-pr, utils/pypi: tweak log messages
2020-08-06 11:31:56 -07:00
Seeker
6ecef73131
test: add spdx spec
2020-08-06 11:14:24 -07:00
Seeker
753b8621df
utils: add SPDX module
2020-08-06 10:16:23 -07:00
Markus Reiter
490e503b1b
Replace Homebrew.args
with Context
.
2020-08-06 16:13:14 +02:00
Rylan Polster
3b1c8ce37e
Merge pull request #8161 from Rylan12/add-update-python-resources-blocklist
...
update-python-resources: add blocklist
2020-08-03 17:08:56 -04:00
Rylan Polster
9fb3a80e38
Add cloudformation-cli to blocklist
2020-08-02 11:30:10 -04:00
Rylan Polster
1f5479798c
Add ansible and ansible@2.8 to blocklist
2020-07-31 20:59:49 -04:00
Rylan Polster
57cac49559
Use formula.full_name for blocklist
2020-07-31 20:59:22 -04:00
Rylan Polster
075ae9eb1e
update-python-resources: add blocklist
2020-07-31 17:01:30 -04:00
Rylan Polster
9dd52a83e4
Reword comment above get_pypi_info
2020-07-31 15:12:41 -04:00
Rylan Polster
b08d1a28ad
update-python-resources: handle no sdist for package
2020-07-31 14:21:44 -04:00
Bo Anderson
24249e1f3e
Merge pull request #8155 from Bo98/pipgrip-defer
...
utils/pypi: don't require pipgrip unless we are using it
2020-07-31 17:49:11 +01:00
Rylan Polster
53a27185a6
Merge pull request #8146 from Rylan12/update-python-resources-fix
...
update-python-resources: add --no-cache-dir flag
2020-07-31 12:18:00 -04:00
Bo Anderson
92cee70cbd
utils/pypi: don't require pipgrip unless we are using it
2020-07-31 16:56:21 +01:00
Rylan Polster
ec7be559f4
Refactor package name and url logic to PyPI module
2020-07-31 10:10:07 -04:00
Rylan Polster
03cf0e0180
update-python-resources: add --no-cache-dir flag
2020-07-30 14:26:27 -04:00
Rylan Polster
2d086013f9
dev-cmd: add update-python-resources command
2020-07-29 09:50:16 -04:00
Mike McQuaid
a85eb3fa49
Revert "curl: alert on 301 redirect"
2020-07-28 10:38:27 +01:00
Issy Long
fdbb2ac16a
Merge pull request #7985 from vidusheeamoli/utils-inreplace-to-true
...
sorbet: set utils/inreplace.rb to true
2020-07-26 10:37:30 +01:00
vidusheeamoli
fd382d2ecd
srb: set utils/inreplace.rb to true and refactor
...
- Sorbet gives preference to class methods over methods defined in
included modules, hence Sorbet was unavailable to resolve the
definition of the gsub! method.
- The gsub! method in StringInreplaceExtension conflicts with the definition in String.
- This PR refactors the call to the gsub! method so that a custom object
is exposed instead of a string.
2020-07-26 12:43:31 +05:30
Markus Reiter
b50eea6849
Merge pull request #8068 from reitermarkus/cli-parser
...
Refactor usages of global `Homebrew.args`.
2020-07-25 21:01:39 +02:00
Markus Reiter
6c050492ee
Pass args
to Analytics
instead of using global args
.
2020-07-25 03:57:43 +02:00
Dustin Rodrigues
c4d11374c8
curl: alert on permanent redirect
2020-07-24 10:50:13 -04:00
Dustin Rodrigues
ef540d0365
curl: ensure final_url is populated with the final URL requested
2020-07-22 17:41:55 -04:00
Dawid Dziurla
b4efb2c258
notability: fix variable names
2020-07-22 14:21:06 +02:00
Sean Molenaar
dab18076fa
audit: error on archived repos
2020-07-22 11:57:50 +02:00
Dawid Dziurla
d579725f7c
Merge pull request #7954 from dawidd6/workflow-dispatch-event
...
utils/github: add workflow_dispatch_event method
2020-07-16 19:08:12 +02:00
vidusheeamoli
9799f32506
sorbet: set utils/user.rb to true
2020-07-11 01:04:22 +05:30
Dawid Dziurla
de4f25c13d
utils/github: add workflow_dispatch_event method
2020-07-09 12:50:09 +02:00
Issy Long
2c3b2f68cd
Revert #7933 ("sorbet: set utils/git.rb to true")
...
- My refactoring of #7933 went wrong in that the tests passed for `brew
extract` and my manual testing, but both forgot about third-party taps
exist, so that functionality broke as follows (courtesy of Misty).
Before:
```
# Git.last_revision_commit_of_files("/usr/local/Homebrew", ["LICENSE.txt", "README.md"])
=> ["ac0665d", ["README.md"]]
```
After:
```
# Git.last_revision_commit_of_files("/usr/local/Homebrew", ["LICENSE.txt", "README.md"])
=> [nil, []]
```
- While we think about how to do splats in Sorbet, revert this so
that users are able to `brew extract` from third party taps again.
- A TODO for later in a separate PR is to write a test for `brew
extract` that tests the behaviour of third-party taps.
---
- Reverted this manually because the GitHub UI couldn't do it.
- Arguably I didn't need to remove the RBI file, but it's easier to have
everything gone for now and then revert this revert in future once we
have a strategy for dealing with splats in Sorbet than have
inconsistency.
2020-07-09 08:18:38 +01:00
vidusheeamoli
76a2e69990
sorbet: set utils/git.rb to true
...
(cherry picked from commit 44a04adb1de430066af73a65766eb644c0f5bd41)
2020-07-08 22:34:26 +05:30
Mike McQuaid
15a2abd9df
style: re-enable shellcheck.
...
Ensure that `shellcheck` is run by `brew style` again and fix the
various failures.
2020-07-07 11:53:55 +01:00
Jonathan Chang
b909fdd30f
github: refactor GraphQL APIs
2020-07-05 15:31:29 +10:00
Bo Anderson
997ba42a4b
utils/curl: support disabling partial downloads in curl_download
2020-07-02 18:58:32 +01:00
Jonathan Chang
d16e699ed7
github: need read-only email scope to see emails
2020-07-01 22:25:53 +10:00
Jonathan Chang
b57290b23f
Merge pull request #7844 from jonchang/signoff-approving-reviews
...
pr-pull: add commit message trailers for pull requests with approved reviews
2020-07-01 19:18:27 +10:00
lionellloh
57e7e7d60e
small fix: res -> response
2020-06-30 23:23:19 +08:00
Lionell
fb4db63e3b
Merge branch 'master' into license
2020-06-30 22:25:17 +08:00
lionellloh
96d60c271a
Merge remote-tracking branch 'mlh/license' into license
2020-06-30 22:12:03 +08:00