Commit Graph
1985 Commits
Author SHA1 Message Date
Mike McQuaid 591e9d6a52 dev-cmd/tap-new: fix output on newer versions of Git.
Otherwise this prints to `stderr` to ask for configuration of the branch
name:
https://github.com/Homebrew/brew/pull/10323/checks?check_run_id=1701105141#step:5:51
2021-01-14 10:47:44 +00:00
Seeker 14b4916dda utils/ast: move helper functions from FormulaAST to AST 2021-01-11 20:35:14 -08:00
SeekerandGitHub 2e8fe069fa Merge pull request #10282 from SeekingMeaning/bump-formula-cleanup
bump-formula-pr: cleanup
2021-01-11 16:20:34 -08:00
SeekerandGitHub 850cc8af3e Merge pull request #10279 from SeekingMeaning/formula-rewriter
utils/ast: add `FormulaAST` class
2021-01-11 16:19:50 -08:00
SeekerandGitHub b29c27b9a8 Merge pull request #10251 from SeekingMeaning/bump-pr-match
bump-*-pr: check existing PRs for exact file match
2021-01-11 08:40:47 -08:00
Seeker 8fdfbdfc0b bump-formula-pr: cleanup 2021-01-10 09:47:20 -08:00
Seeker 2ebfb4221c utils/ast: add FormulaAST class 2021-01-10 09:25:46 -08:00
Seeker 2901d2058a bump-*-pr: check for valid tap 2021-01-08 11:42:37 -08:00
Seeker b9854bd4cf rubocops: add unless_multiple_conditions 2021-01-08 10:33:54 -08:00
Mike McQuaidandGitHub 3b3d495021 Merge pull request #10239 from MikeMcQuaid/rubocop-shim
rubocop: add shim and command.
2021-01-08 13:04:35 +00:00
Mike McQuaidandGitHub 50ffa38213 Merge pull request #10247 from iMichka/sha256
checksum: simplify, use only sha256
2021-01-08 09:43:23 +00:00
Seeker 332778025a utils/ast: add Sorbet method signatures 2021-01-07 13:54:05 -08:00
Michka Popoff 5e91802470 checksum: simplify, use only sha256
We use only one sha type right now.

Needed for https://github.com/Homebrew/brew/pull/10186
2021-01-07 20:46:13 +01:00
Seeker 1395259ad6 bump-*-pr: check existing PRs for exact file match 2021-01-07 09:15:42 -08:00
Mike McQuaid d8a5e467e8 audit: quieten down and make casks audit consistent with formulae.
The current casks audit is very noisy in the no-op case (i.e. no errors)
https://github.com/Homebrew/brew/pull/10234/checks?check_run_id=1655630568#step:15:7

This means when there are errors and you're querying all casks it's
pretty hard to quickly identify the problems.

This commit silences the `passing`, `warning` and header/summary output
when you're querying all casks (rather than a specific cask or tap).

This is more consistent with `brew audit` for formulae which is silent
unless there are audit failures.
2021-01-07 13:31:14 +00:00
Mike McQuaid dc072afdb1 rubocop: add shim and command.
Add a shim and a command that can be used to easily add a single
directory to your `PATH` (`Library/Homebrew/shims/gems`) and have it
automatically install, configure and run `rubocop` so you can use it
for in-editor integrations.
2021-01-07 13:27:17 +00:00
Mike McQuaidandGitHub dad7dc6a14 Merge pull request #10196 from souleater7/delete-devel
Delete references to devel
2021-01-06 09:15:52 +00:00
Seeker 64d312c356 bump-formula-pr: use nil?/blank?/present? in if statements 2021-01-05 09:15:03 -08:00
Mike McQuaidandGitHub d278e87d57 Merge pull request #10211 from SeekingMeaning/ast-stanza-text
utils/ast: add `stanza_text` helper function
2021-01-05 11:01:09 +00:00
Seeker 8828b4bd68 utils/ast: add stanza_text helper function 2021-01-03 22:26:19 -08:00
Seeker ec841e7b62 bottle: add old_checksums helper function 2021-01-01 15:23:09 -08:00
SeekerandGitHub e5eb6a2646 Merge pull request #10190 from SeekingMeaning/bottle-keep-old
bottle: check actual bottle block contents when `--keep-old`
2021-01-01 10:47:58 -08:00
souleater7 e50e3e4b22 Delete references to devel 2021-01-01 10:16:31 -08:00
Rylan PolsterandGitHub 635ecbc589 Merge pull request #10178 from Rylan12/documentation-updates
Documentation updates
2020-12-31 14:41:41 -05:00
Seeker 4cbd4f296b bottle: add tests for merge_bottle_spec 2020-12-31 11:29:10 -08:00
Seeker 6f606b4e58 bottle: check actual bottle block contents when --keep-old 2020-12-31 09:52:24 -08:00
SeekerandGitHub acf0ecc7b7 Merge pull request #10175 from SeekingMeaning/ast-helper-cleanup
utils/ast: cleanup
2020-12-31 08:08:36 -08:00
Rylan PolsterandGitHub e9a44cb96c Merge pull request #10117 from Rylan12/add-blog-reference-to-release-notes
Add more links to the changelog and blog
2020-12-31 10:46:46 -05:00
Rylan Polster ac3ce218e3 man: fix style issue 2020-12-30 15:09:00 -05:00
Rylan Polster 5f7c369bc8 docs: fix wording on manpage for cask options 2020-12-29 13:01:58 -05:00
Seeker 24636d8bea utils/ast: cleanup
- move `add_bottle_stanza!` from `Utils::Bottles` to `Utils::AST`
- add `replace_bottle_stanza!`
- simplify parameters
2020-12-29 03:40:39 -08:00
Rylan Polster 6d0899f298 release-notes: clarify help text and minor refactor 2020-12-28 11:34:29 -05:00
Rylan Polster a33f4e0fd1 release-notes: show warning on recent major/minor tag 2020-12-28 10:53:41 -05:00
Mike McQuaidandGitHub 20ff74a7a7 Merge pull request #10134 from MikeMcQuaid/unbottled-tweaks
dev-cmd/unbottled: improve output.
2020-12-28 13:44:17 +00:00
Mike McQuaidandGitHub dc52ff620b Merge pull request #10031 from hyuraku/only_path_formula_or_cask
add function to define path
2020-12-28 13:22:22 +00:00
Mike McQuaidandGitHub 6e2da862b7 Merge pull request #10109 from SeekingMeaning/bump-cask-pr-ignore
bump-cask-pr: ignore closed duplicate PRs
2020-12-28 13:19:49 +00:00
Mike McQuaid d20b946cfe dev-cmd/unbottled: improve output.
Handle a few more edge cases:
- improve the unbottled output heading so it makes sense when we're
  outputting bottles that are ready to bottle
- output already bottled formulae if named
- handle Linux/Mac requiring formulae and output if named
- output bottle unneeded/disabled formulae if named
- use green/yellow/red for bottles ready to be built now/later/never
2020-12-28 11:36:12 +00:00
Rylan Polster 97f8d09519 release-notes: only show blog link when previous_tag passed 2020-12-25 13:52:36 -05:00
Seeker 9acbc6c3f4 bump-cask-pr: ignore closed duplicate PRs 2020-12-24 09:25:38 -08:00
FX CoudertandGitHub e69a54d0d8 Merge pull request #10110 from fxcoudert/unbottled
unbottled: improve output
2020-12-24 13:54:15 +01:00
Michka Popoff a704abc6dc bottle --merge: check for all cellars 2020-12-24 12:12:23 +01:00
SeekerandMichka Popoff 4f2b74a149 bottle: fix --merge test failure 2020-12-24 10:45:20 +01:00
SeekerandMichka Popoff 1ea8b82a54 bottle: add merge_bottle_spec helper function 2020-12-24 10:45:20 +01:00
Rylan Polster 76c69b7bb3 release-notes: add message directing users to the blog. 2020-12-23 11:17:51 -05:00
Francois-Xavier Coudert 93cfc27660 unbottled: improve output 2020-12-23 14:45:11 +01:00
Seeker 4520c05957 bump-revision: use Utils::AST 2020-12-22 22:05:23 -08:00
hyurakuandSam Ford ffc5c3206e repair message 2020-12-19 22:59:27 -05:00
hyurakuandSam Ford 9f7e471382 livecheck: raise error if no watchlist 2020-12-19 22:59:26 -05:00
Sam Ford e604cf742b dev-cmd/livecheck: use safe navigation on #sort_by 2020-12-19 22:59:26 -05:00
Markus Reiter 3db55d13d6 Improve handling of SIGINT. 2020-12-18 16:48:49 +01:00