2402 Commits
Author SHA1 Message Date
Bo Anderson 318506460f dev-cmd/typecheck: don't generate RBI for sorbet-static-and-runtime 2022-05-28 04:10:42 +01:00
Bo Anderson 85e75a1e27 dev-cmd/typecheck: don't ignore subprocess exit codes on --update 2022-05-28 04:06:34 +01:00
Mike McQuaidandGitHub 6d0bf18d7f Merge pull request #13237 from apainintheneck/tests-changed-option
'brew tests --changed' supports changed test files
2022-05-04 14:34:59 +01:00
apainintheneck 489d38324b 'brew tests --changed' supports changed test files 2022-05-03 01:04:22 -07:00
Bo Anderson 2ca517c79a dev-cmd/typecheck: add --all switch 2022-05-02 21:03:02 +01:00
Sean MolenaarandGitHub 506337e76d Merge pull request #13196 from SMillerDev/feature/pr-pull/casks_checksum 2022-04-27 12:30:32 +02:00
Sean Molenaar 9a25a1d5e1 pr-pull: add checksum update clause 2022-04-26 08:57:29 +02:00
Sean Molenaar 05eafa5cac pr-automerge: allow users to specify a workflow for pr-publish 2022-04-25 20:29:35 +02:00
Mike McQuaidandGitHub add2991d4f Merge pull request #13147 from pmrowla/update-python-resources-env
bump-formula-pr: expose update-python-resources CLI flags
2022-04-22 14:23:15 +01:00
Peter Rowlands e794b913c8 bump-formula-pr: expose update-python-resources CLI flags 2022-04-21 16:12:37 +09:00
Mike McQuaidandGitHub 2d9bfc62be Merge pull request #13158 from apainintheneck/tests-changed-switch
Added --changed option to "brew tests" dev cmd
2022-04-19 19:11:51 +01:00
apainintheneck b7d88225bb Added --changed option to "brew tests" dev cmd
This option allows the user to run tests on all
files that have been changed from the master
branch.
2022-04-19 09:53:45 -07:00
Issy Long 63742cd480 dev-cmd/bump-formula-pr: Escape .s in hostnames in regexps
> This regular expression has an unescaped '.' before 'apache.org/dyn/closer', so it might match more hosts than expected.
2022-04-15 15:36:46 +01:00
Mike McQuaidandGitHub 6745bb2b34 Merge pull request #13120 from hyuraku/dev-cmd/edit_arrange_error_message_of_brew-edit-cask
arrange error message of 'brew edit --cask'
2022-04-12 10:11:34 +01:00
EricFromCanada 415f05ca31 bump: resume checking for TLS 1.3 support
macOS 12.3's shipping curl now supports TLS 1.3.
2022-04-11 22:59:33 -04:00
hyuraku 47699614fd repair the command option 2022-04-12 08:39:03 +09:00
hyuraku f8a05b7338 arrange error message of 'brew edit --cask' 2022-04-11 22:31:44 +09:00
Bo Anderson 0c0cdf8105 dev-cmd/audit: fix error with --installed 2022-04-08 19:10:20 +01:00
Sean MolenaarandGitHub d62558aa68 Merge pull request #12692 from SMillerDev/feature/pr-pull/casks
pr-pull: allow casks to be pulled
2022-04-04 16:02:51 +02:00
Sean MolenaarandGitHub 0ec9cf721c pr-pull: fix trailing whitespace 2022-04-04 14:19:39 +02:00
Sean MolenaarandGitHub 08341d1c8b pr-pull: whitespace fix 2022-04-04 14:14:00 +02:00
0d8a3d8041 pr-pull: fix style
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-04-04 13:24:05 +02:00
Sean Molenaar 54e15cf361 pr-pull: allow pulling casks 2022-03-30 10:27:17 +02:00
Michael Cho a1921b8141 dev-cmd/unbottled: ignore versioned macos when checking linux 2022-03-29 18:01:16 -07:00
Mike McQuaid 79891a7103 Update uses of Formula.all/Cask::Cask.all
Add some `--all` flags we'll eventually migrate to to ensure that we'll
eventually require their usage to read all formulae. Where we need to
do stuff later, add some comments.
2022-03-08 19:24:56 +00:00
Bo Anderson ddeadaefce dev-cmd/pr-pull: require unzip to be installed 2022-03-02 05:19:41 +00:00
Bo Anderson e4159a7986 dev-cmd/pr-pull: consider alternative tap formula directories
Fixes #12939.
2022-03-01 16:39:09 +00:00
Mike McQuaidandGitHub 9235fe959a Merge pull request #12942 from hyuraku/delete-deprecate-key
delete bottle deprecate key
2022-03-01 12:13:13 +00:00
hyuraku e46e35bb0c delete bottle deprecate key 2022-02-24 21:57:54 +09:00
Mike McQuaid 38e1b3d64b Deprecations, disables, deletions for 3.4.0 2022-02-22 14:28:32 +00:00
Mike McQuaidandGitHub 2dc375acc2 Merge pull request #12900 from issyl0/bump-no-prereleases-based-on-livecheck
dev-cmd/bump: Ignore Repology if the livecheck uses `GithubLatest`
2022-02-21 09:03:54 +00:00
Issy LongandNanda H Krishna 9ad3a9cefe dev-cmd/bump: Tell the user why we didn't bump a package
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2022-02-20 17:56:33 +00:00
Issy Long 0a91c40ed5 dev-cmd/bump: Ignore Repology if the livecheck uses GithubLatest
- I got frustrated when I fixed the build and test failures for
  https://github.com/Homebrew/homebrew-core/pull /95430 only to have the
  audit step say it was a pre-release.
- Repology can list versions that are GitHub pre-releases. Pre-release
  versions of software are things we don't generally want to ship:
  there's an audit specifically for that.
- This fixes `brew bump` to not mark a Repology version as the newest if
  the formula's livecheck strategy is `GithubLatest`. If the livecheck
  doesn't exist, or its update strategy is something other than
  `GithubLatest`, Repology's reported package version is respected.
2022-02-19 21:41:17 +00:00
Issy Long 6685f2f314 dev-cmd/dispatch-build-bottle: Stop replacing linuxbrew-core
- The cores are now merged (🎉), so the Linux core tap is
  `homebrew-core` not `linuxbrew-core`, everything core should have
  switched over, this should be safe to remove.
2022-02-18 16:41:35 +00:00
Carlo Cabrera 6baf2aadb6 pr-{publish,pull}: autosquash by default
This allows dispatching the publish workflow via the GitHub UI to have
the exact same behaviour as doing `brew pr-publish`.

Closes Homebrew/homebrew-core#94704.
2022-02-08 20:02:21 +08:00
Nanda H Krishna 325d90bcbe brew bump: don't use Repology for versioned formulae 2022-01-31 04:34:17 -05:00
Milas Bowman 3364e519b5 dev-cmd/bump-formula-pr: fix undefined method null error
Fix a regression from 8b1fcc7c5c.
Only if `version.nil?` is `Version.detect` used, so we can
only use `version.null?` after that. (Otherwise, it's a string.)

```
Error: undefined method `null?' for "X.Y.Z":String
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:440:in `check_new_version'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:131:in `bump_formula_pr'
/usr/local/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'
```
2022-01-21 16:24:50 -05:00
Nanda H Krishna f3fe865a94 dev-cmd/bump-formula-pr: improve version error message 2022-01-21 13:02:20 -05:00
Nanda H Krishna 8b1fcc7c5c dev-cmd/bump-formula-pr: fix for undetectable version
Currently, `brew bump-formula-pr` errors out without a proper message
when `--version` isn't specified and the formula's version cannot be parsed
from the URL. We fix this by returning early from `check_new_version` when the
detected version is Version::NULL.
2022-01-21 13:02:19 -05:00
Rylan Polster a17f41680d Combine Linux and macOS maintainers on the README 2022-01-21 12:05:18 -05:00
Adrian Ho af4955adfc dev-cmd/bottle: clean up intermediate tar
Otherwise Cellar gets cluttered.

Fixes https://github.com/Homebrew/brew/issues/12744.
2022-01-18 15:58:35 +08:00
Rylan PolsterandGitHub 537036ab36 Merge pull request #12608 from xxyzz/fix-bump-multilang-cask
bump-cask-pr: avoid replacing sha256 twice on multilang cask
2022-01-16 11:52:34 -05:00
Mike McQuaid af6d995de8 dev-cmd/bump: add switch to open pull requests.
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users.
2022-01-12 17:31:55 +00:00
Mike McQuaid 3a709d36b2 Start process to remove Enumerable from Formula and Cask::Cask.
This is the first step to address
https://github.com/Homebrew/brew/issues/11292.
2022-01-03 14:59:10 +00:00
Mike McQuaid b09f421027 repology: always use Homebrew curl.
This seems to be required even with TLSv1.3 support now.

Also, while we're here, improve the error handling/output.
2022-01-03 13:17:12 +00:00
Steve Peters d53dab62c9 bump-revision: add --remove-bottle-block option
This removes a bottle block for the specified formulae
while bumping the revision.
2021-12-26 03:42:39 -08:00
xxyzz 5f3a69c227 don't skip any language 2021-12-25 15:01:49 +08:00
Rylan Polster 2e6b6ab3a2 Fix style 2021-12-24 21:15:21 -05:00
xxyzz 4cf996bcdf add comment 2021-12-21 18:01:49 +08:00
xxyzz fb415a15e9 bump-cask-pr: avoid replacing sha256 twice on multilang cask
this script always get `inreplace failed` on cask like firefox because the
default sha256 is replaced twice
2021-12-21 16:12:29 +08:00