956 Commits

Author SHA1 Message Date
Baffour Adu Boampong
ad2809b615
Merge branch 'master' into mlh-outdated-packages 2020-08-10 21:21:09 +00: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
Elizabeth Tackett
a3278ad345 add bump spec 2020-08-05 10:10:05 -05: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
Elizabeth Tackett
db27f446d0 WIP repology module tests 2020-08-03 11:27:35 -05:00
Baffour Adu Boampong
c7c4921744
Merge branch 'master' into mlh-outdated-packages 2020-08-03 13:11:20 +00: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
Elizabeth Tackett
ce721f43a8 display version data when formula is up-to-date 2020-07-31 10:52:37 -05:00
Rylan Polster
ec7be559f4 Refactor package name and url logic to PyPI module 2020-07-31 10:10:07 -04:00
Baffour Adu Boampong
82787c8499 Brew style fix 2020-07-30 22:59:54 +00:00
Baffour Adu Boampong
5f19a53195 Refactor bump.rb methods into seperate modules 2020-07-30 22:58:30 +00: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
Baffour Adu Boampong
e2c9bb8a96
Reword number of packages found sentence
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-29 13:40:25 +00:00
Elizabeth Tackett
2822a7b0c3 adapt output to adjust for single-formula queries 2020-07-28 12:56:19 -05:00
Elizabeth Tackett
1d328eb7e5 add --formula flag to allow user specific queries 2020-07-28 09:30:19 -05:00
Mike McQuaid
a85eb3fa49
Revert "curl: alert on 301 redirect" 2020-07-28 10:38:27 +01:00
Baffour Adu Boampong
9e88b44bd7 Merge fixes 2020-07-26 22:39:46 +00: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
Baffour Adu Boampong
9ec93f78d6
Merge branch 'master' into mlh-outdated-packages 2020-07-21 17:49:24 +00: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
Baffour Adu Boampong
53643870a3 refactor github module duplicate 2020-07-07 21:14:30 +00:00