Dustin Rodrigues
76ec69e3c3
audit: compare current version to last committed version when seeing if revision should be removed
2020-09-03 10:02:28 -04:00
Mike McQuaid
2e5272d04c
Deprecate/disable code for Homebrew 2.5.0.
...
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Sean Molenaar
742b3faaa4
Merge pull request #8351 from SMillerDev/audit/pre_release
...
add cask pre-release check
2020-09-02 22:00:39 +02:00
Markus Reiter
ebd4ce467c
Output GitHub Actions annotations for brew style
.
2020-09-02 16:44:16 +02:00
Sean Molenaar
0279dda595
add cask pre-release check
2020-09-02 15:47:12 +02:00
Nanda H Krishna
cbc3448634
Merge pull request #8561 from josh/fix-livecheck-watchlist-read
...
Fix reading HOMEBREW_LIVECHECK_WATCHLIST file
2020-09-02 00:45:53 +05:30
Joshua Peek
2d0369fd50
Fix whitespace
2020-09-01 11:45:05 -07:00
Joshua Peek
9480de8f5d
Default .brew_livecheck_watchlist to String type
2020-09-01 11:44:47 -07:00
Joshua Peek
518af675fb
Fix reading HOMEBREW_LIVECHECK_WATCHLIST file
2020-09-01 11:20:39 -07:00
Seeker
5def0701ba
formula: rename opt_or_installed_prefix_keg
to any_installed_keg
2020-09-01 09:39:20 -07:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Mike McQuaid
e09147fe75
brew style --fix
2020-09-01 14:26:45 +01:00
Mike McQuaid
48c6dc81d1
Merge pull request #8371 from fboranek/clang-format-alllow-keg-only
...
dev-cmd/audit: whitelist clang-format@8 to be non-keg-only
2020-09-01 14:25:21 +01:00
Seeker
a48a8722fc
Merge pull request #8525 from SeekingMeaning/cmd/installed_prefix
...
pull, pr-pull: use `opt_or_installed_prefix_keg`
2020-08-31 09:45:54 -07:00
nandahkrishna
e5fe57c1fe
Migrate livecheck to Homebrew/brew
...
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-31 17:08:28 +05:30
Seeker
3d62ed7853
pull, pr-pull: use opt_or_installed_prefix_keg
2020-08-28 09:59:07 -07:00
Mike McQuaid
cd075dd45a
dev-cmd/sh: rename SCRIPT argument.
2020-08-28 08:37:15 +01:00
Maxim Belkin
669ae5c077
dev-cmd/sh.rb: fix usage banner
2020-08-27 19:52:40 +00:00
Maxim Belkin
ee5a2017c7
dev-cmd/sh.rb: update usage banner
2020-08-27 18:39:05 +00:00
Mike McQuaid
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 McQuaid
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 Reiter
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 McQuaid
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 Dziurla
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 McQuaid
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
František Bořánek
6695cc4040
dev-cmd/audit: whitelist clang-format@8 to be non-keg-only
2020-08-20 14:47:26 +10:00
Bo Anderson
e3372e2a14
Lazily require some heavy files
2020-08-20 02:05:17 +01:00
Dawid Dziurla
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 Dziurla
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 Polster
90d9454d1e
utils/spdx: add support for complex expressions
...
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-19 12:47:58 -04:00
Mike McQuaid
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