2480 Commits

Author SHA1 Message Date
Bo Anderson
bb4e74042a
formula_assertions: use minitest
We are migrating away from using system gems, and we already have minitest in our dependency tree, so we might as well use it.
2021-02-26 18:23:07 +00:00
nandahkrishna
0754fabec6
dev-cmd/man: modify '--fail-if-changed' to '--fail-if-not-changed' 2021-02-26 19:25:17 +05:30
Dustin Rodrigues
a625948b14
Merge pull request #10691 from dtrodrigues/prof-silicon
dev-cmd/prof: prevent from running on Apple Silicon
2021-02-25 11:22:30 -05:00
Shaun Jackman
c4787a0a8b
pr-upload: Fix a typo affecting Internet Archive 2021-02-24 15:06:06 -08:00
Dustin Rodrigues
511fcee1d7
dev-cmd/prof: prevent from running on Apple Silicon 2021-02-24 09:03:50 -05:00
Mike McQuaid
f14ed4987f
Merge pull request #10679 from Bo98/unbottled
dev-cmd/unbottled: various improvements
2021-02-24 13:56:52 +00:00
Shaun Jackman
641f134274
Apply Mike's suggestions 2021-02-23 11:31:43 -08:00
Bo Anderson
fb8b247db3
dev-cmd/unbottled: various improvements
* Ignore bottles for older macOS versions
* Ignore disabled formulae
* Ignore formulae which can't build on the chosen macOS
* Improve/fix sort description
2021-02-23 16:27:58 +00:00
Shaun Jackman
c11692ba78
pr-pull: Upload bottles to Archive.org
Add option --archive-item
2021-02-22 17:57:10 -08:00
Shaun Jackman
b0bd15fb41
pr-upload: Upload bottles to Archive.org
--archive-item specifies the item identifier.
HOMEBREW_ARCHIVE_KEY=access:secret specifies the S3 key.
2021-02-22 17:21:43 -08:00
Mike McQuaid
8d80bcf1a6
Merge pull request #10643 from MikeMcQuaid/sponsors-code-tweaks
dev-cmd/sponsors: tweak code.
2021-02-18 18:02:11 +00:00
Nanda H Krishna
53d840c969
Merge pull request #10635 from nandahkrishna/bump-cask-support
dev-cmd/bump: add cask support
2021-02-18 02:35:34 +05:30
Nanda H Krishna
7dc8025934
Merge pull request #10626 from nandahkrishna/refactor-github-api
utils/github: split GitHub module
2021-02-18 01:20:01 +05:30
nandahkrishna
f7c8810214
utils/github/api: remove 'api' from method names 2021-02-17 23:47:05 +05:30
Mike McQuaid
a85ad91b43
dev-cmd/sponsors: tweak code.
- add named constants
- change an unless to if
2021-02-17 17:53:10 +00:00
nandahkrishna
88f78c4523
dev-cmd/bump: rescue if livecheck_result errors 2021-02-17 02:36:29 +05:30
nandahkrishna
bf60e2da3d
utils/repology: add constants for repository names 2021-02-17 02:12:18 +05:30
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support 2021-02-17 00:42:07 +05:30
Jonathan Chang
a946cde4e1
Merge pull request #10615 from jonchang/enhance-sponsors
Update Github sponsor text and logos
2021-02-16 14:06:11 +11:00
nandahkrishna
56e0c3d9e8
Update GitHub API usage 2021-02-15 22:38:27 +05:30
Nanda H Krishna
b9cbeb3019
Merge pull request #10608 from nandahkrishna/assignment-condition-parentheses
style: use parentheses for assignment in conditions
2021-02-15 18:43:54 +05:30
Jonathan Chang
4c26b9b17e
Merge pull request #10614 from jonchang/brew-prof-min
prof: needs at least 1 argument
2021-02-15 23:53:59 +11:00
Jonathan Chang
99ed37fb29 sponsors: automatically update README
This saves a copy and paste.
2021-02-15 13:43:40 +11:00
Jonathan Chang
6c2d357c0e prof: needs at least 1 argument 2021-02-14 20:50:15 +11:00
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions 2021-02-12 18:33:37 +05:30
nandahkrishna
810b8e515b
dev-cmd/man: remove diacritics for manpage 2021-02-12 05:41:40 +05:30
Rylan Polster
b4995379d4
dev-cmd/rubocop: call rubocop utility instead of -S rubocop 2021-02-11 08:37:45 -05:00
Issy Long
dde89d8d2b
dev-cmd/update-maintainers: If there are changes, auto-update man pages
- I noticed this in a PR recently, maybe the maintainer didn't think
  they would have to run `brew man` for this? In that case there's an
  extra step after the PR is raised, red CI checks on the PR (which is
  demoralising) and potentially requires a reviewer to point this out.
- This runs `brew man` if the `README` file has a diff as part of this
  command. Then the user has to `git add .` and their PR is (probably)
  good.
2021-02-09 21:26:08 +00:00
nandahkrishna
15f936a22a
dev-cmd/update-maintainers: implement suggestions from code review 2021-02-08 23:33:26 +05:30
nandahkrishna
90632ce274
dev-cmd/update-maintainers: modify Linux maintainer wording in README 2021-02-08 23:33:25 +05:30
nandahkrishna
6026c7c74d
brew update-maintainers: dev-cmd to update maintainers in README 2021-02-08 23:33:25 +05:30
Rylan Polster
727ac9b47f
bottle: write bottles with new syntax 2021-02-03 20:46:20 -05:00
Mike McQuaid
1cf9f0f789
dev-cmd/release: output blog post release notes.
I forgot until I started to work on the 3.0.0 release that there was an
added step I would do for a major/minor release:

```
brew release-notes --markdown 2.7.0 | pbcopy
```

This would generate for 3.0.0/2.8.0 the release notes since 2.7.0 for
editing down into a blog post.

Add this behaviour to `brew release` and, because we're doing it
programmatically anyway, take this chance to also reject Dependabot
lines and sort them for easier grouping by pull request subject.
2021-02-03 10:06:10 +00:00
Dustin Rodrigues
d2430bcf50
Merge pull request #10473 from dtrodrigues/man-force
man: allow command to run on unsupported platforms when HOMEBREW_SILICON_DEVELOPER is set
2021-02-02 13:32:41 -05:00
Mike McQuaid
f9b16fad7a
Merge pull request #10475 from MikeMcQuaid/prof-exit-code
dev-cmd/prof: allow non-zero exit code.
2021-02-02 09:08:33 +00:00
Dustin Rodrigues
29f39d26f6
Merge pull request #10463 from dtrodrigues/bump-formula-audit
bump-formula-pr: pass --formula flag when auditing a bumped formula
2021-02-01 20:11:31 -05:00
Dustin Rodrigues
05d9628d05 man: allow command to run when HOMEBREW_SILICON_DEVELOPER is set 2021-02-01 12:46:42 -05:00
Mike McQuaid
23b64f82c9
dev-cmd/prof: allow non-zero exit code.
Want to ensure that we still write profiling data even if the Homebrew
command fails.
2021-02-01 17:08:37 +00:00
Mike McQuaid
b8d55e5a77
Merge pull request #10397 from MikeMcQuaid/deprecations-disables
Homebrew 3.0.0 deprecations/disables
2021-02-01 08:37:22 +00:00
Dustin Rodrigues
48bfdee708 bump-formula-pr: pass --formula flag when auditing a bumped formula 2021-01-30 19:12:40 -05:00
Seeker
5dbdcbcb6b livecheck: fix filtering of watchlist with --formulae/--casks flag 2021-01-29 13:26:50 -08:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables 2021-01-29 19:50:24 +00:00
Mike McQuaid
5a21ba0677
typecheck: migrate from deprecated flag.
Also, add a TODO to answer why the other error codes are suppressed.
2021-01-29 09:28:53 +00:00
Mike McQuaid
4afebd2872
Fixup brew bottle (and tests) for #10447. 2021-01-28 13:19:41 +00:00
Michka Popoff
de2e309d50
cellars: write tag specific cellars
With #10186 now merged, the tag specific cellar information is being read by brew.
This PR (once merged) will start adding the cellar information for each tag instead
of having a single cellar line on the top of the bottle block.

Each new CI build in homebrew-core will slowly start migrating the cellar lines to
the right place. If keep-old is used, the old "all tag" cellar line is removed and
added to each tag.
2021-01-28 13:19:40 +00:00
Mike McQuaid
4fe86661ac
tests: cleanup user configuration. 2021-01-28 10:54:26 +00:00
Mike McQuaid
da94957b01
tests: verbose tests with --verbose or --debug.
The `VERBOSE_TESTS` variable was from cask and never gets set (and
is unset by `bin/brew`). Replace it with `HOMEBREW_VERBOSE_TESTS` and
set it by `--verbose` or `--debug`.

While we're here, remove an unneeded `VERBOSE` delete (as it's already
done by `bin/brew`).
2021-01-27 15:04:13 +00:00
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0 use backticks around suggested input, flags, and binaries 2021-01-26 16:19:47 -05:00
EricFromCanada
cd3cb6928b indent suggested commands on subsequent line
and combine sequential puts calls
2021-01-26 15:36:44 -05:00