Commit Graph
1644 Commits
Author SHA1 Message Date
Maxim Belkin ee5a2017c7 dev-cmd/sh.rb: update usage banner 2020-08-27 18:39:05 +00:00
Mike McQuaidandMaxim Belkin 483fbb7fe4 dev-cmd/sh: tweak named args syntax. 2020-08-27 16:45:38 +00:00
Maxim Belkin 28c43f1afc dev-cmd/sh.rb: non-interactive mode 2020-08-27 16:45:38 +00:00
vidusheeamoli 2468fb127d dev-cmd: add brew typecheck cmd
This PR adds a new `brew typecheck` developer command which checks for
typechecking errors in the current code with Sorbet.
2020-08-27 02:41:36 +05:30
Markus Reiter 18a69b660e Document SharedAudits. 2020-08-26 10:53:22 +02:00
Markus Reiter c53f362476 Refactor and document Version. 2020-08-26 03:17:39 +02:00
Mike McQuaidandGitHub dbe427073d Merge pull request #8399 from MLH-Fellowship/migrate-to-args-named
args: Migrate usage of args loading methods to args.named
2020-08-25 10:07:27 +01:00
Mike McQuaid 7e0e458dc2 dev-cmd/pr-pull: fail on syntax errors.
This logic was pulled over from `brew pull` where it made sense (as we
wanted to be able to pull broken commits) but doesn't really apply here
where we can easily end up ignoring broken formulae and pushing their
commits anyway.
2020-08-24 08:44:31 +01:00
Markus ReiterandGitHub 4465a1f6fb Merge pull request #8455 from reitermarkus/document-svn
Refactor and document `Svn`.
2020-08-24 00:03:21 +02:00
William Ma fa7bd3bff6 args: Migrate usage of args loading methods to args.named 2020-08-23 09:02:20 -04:00
Markus Reiter 3118fedab9 Refactor and document Git. 2020-08-23 06:40:07 +02:00
Markus Reiter 8b26e380a2 Refactor and document Svn. 2020-08-23 06:33:58 +02:00
Jonathan Chang 7eee343331 pr-pull: require formula
This caused bottle publishes to think that no bottles were needed.
2020-08-22 14:21:02 +10:00
Mike McQuaidandGitHub 667c2b8804 Merge pull request #8382 from Bo98/startup-speedup
Lazily require some heavy files
2020-08-21 17:11:39 +01:00
Mike McQuaid 1d3adda693 workflows: cleanup/fix tapioca and spdx update. 2020-08-21 15:34:57 +01:00
Dawid DziurlaandGitHub ebafc70bcb Merge pull request #8407 from dawidd6/ruby-w0
Consistently use HOMEBREW_RUBY_WARNINGS when calling ruby
2020-08-20 21:38:08 +02:00
Alexander Bayandin 4ba4da506b audit: add CERT_ERROR_ALLOWLIST 2020-08-20 16:29:42 +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
Mike McQuaidandGitHub 893cc99bf9 Merge pull request #8408 from MikeMcQuaid/prof
prof: improve `brew prof` functionality.
2020-08-20 13:59:56 +01:00
Mike McQuaid a4d0174d7b prof: improve brew prof functionality.
- Add `--stackprof` to allow using stackprof
- Use the latest version of `ruby-prof`
- Automatically open the generated HTML output
2020-08-20 13:01:58 +01:00
Bo Anderson e3372e2a14 Lazily require some heavy files 2020-08-20 02:05:17 +01:00
1f7df48812 audit: remove redundant check
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2020-08-19 23:47:20 +02:00
Dawid Dziurla 2689213f92 audit: return if no github license were found 2020-08-19 19:49:41 +02:00
Dawid DziurlaandGitHub dd71f388c1 Merge pull request #8368 from SeekingMeaning/github/forked_repo_info
utils/github: add `forked_repo_info!`
2020-08-19 19:22:31 +02:00
Rylan Polster e215b3df75 dev-cmd/audit: update license checks to new style 2020-08-19 12:48:50 -04:00
Rylan PolsterandSeeker 90d9454d1e utils/spdx: add support for complex expressions
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-19 12:47:58 -04:00
Mike McQuaidandGitHub f6e035ec98 Merge pull request #8297 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.89.1
build(deps): bump rubocop from 0.88.0 to 0.89.1 in /Library/Homebrew
2020-08-19 17:40:32 +01:00
Mike McQuaid 3a91c37e66 Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
Elizabeth Tackett d6f2a1c6fa Merge branch 'master' into mlh-outdated-packages 2020-08-19 09:39:26 -05:00
Seeker ffcf06867a Use rescue instead of yield 2020-08-18 23:06:42 -07:00
Seeker d0c7c4fd71 utils/github: add forked_repo_info! 2020-08-18 23:06:42 -07:00
Baffour Adu Boampong afe9a48373 Add limit to repology api 2020-08-18 22:18:03 +00:00
Dustin RodriguesandGitHub 631b60d3f2 Merge pull request #8366 from dtrodrigues/license-audit
Always audit GitHub license
2020-08-18 09:41:51 -04:00
Baffour Adu Boampong 7982e6f3c0 Update response display 2020-08-18 13:29:36 +00:00
605228d07c Update Library/Homebrew/dev-cmd/bump.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-18 09:53:39 +00:00
Dustin Rodrigues 08396a55c1 audit: always audit GitHub license 2020-08-17 22:11:01 -04:00
Dustin RodriguesandGitHub 72419630b4 Merge pull request #8362 from dtrodrigues/automerge-plural
pr-automerge: pluralize message only when needed
2020-08-17 21:57:08 -04:00
Dustin Rodrigues 420e8fdbe4 pr-automerge: pluralize message only when needed 2020-08-17 20:02:45 -04:00
Baffour Adu Boampong e28c4329a4 brew style fix 2020-08-17 15:37:06 +00:00
b20fa75f48 Update Library/Homebrew/dev-cmd/bump-formula-pr.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-17 15:23:43 +00:00
49882571ea Update Library/Homebrew/dev-cmd/bump.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-17 14:52:15 +00:00
Baffour Adu Boampong 2f189426b7 Merge branch 'master' into mlh-outdated-packages 2020-08-17 13:10:59 +00:00
Seeker 01dec9c6a8 utils/inreplace: add inreplace_pairs 2020-08-17 03:18:24 -07:00
Elizabeth Tackett dc1bbe7f81 handle requests for multiple formulae 2020-08-16 20:38:03 -05:00
Elizabeth Tackett 388b0ae8ba show formula livecheck and brew data when repology response is nil 2020-08-16 19:22:24 -05:00
Elizabeth Tackett 9cae9f284c update argument handling and syntactical feedback changes 2020-08-16 18:45:50 -05:00
Dawid Dziurla 36f3e09669 bump-revision: allow multiple formulae to be specified 2020-08-15 10:43:29 +02:00
jjergus 8fb6218d05 bump-formula-pr: fix regression when formula.tap is Nil 2020-08-14 11:42:50 -07:00
Dawid Dziurla d5c8f2e102 pr-pull: pass --keep-old option to pr-upload
also fix typo in `--root-url` option
2020-08-14 13:40:21 +02:00
Seeker 8df618958d bump-formula-pr: add warnings for patches and resources 2020-08-13 16:05:50 -07:00