Sam Ford
283ff9e3ad
bump-formula-pr: handle url with specs hash
...
The existing `bump-formula-pr` regexes expect a `url` string to only
be followed by a newline. However, `url` also accepts a `specs` hash,
which can appear after the `url` string. For example:
```
url "https://www.example.com/1.2.3.tar.gz ", using: :homebrew_curl
```
This commit modifies the regexes to capture anything after the `url`
string and before the newline. This works for the aforementioned
example, where the trailing hash is on the same line, but it won't
work if the hash appears on a subsequent line. For example:
```
url "https://www.example.com/1.2.3.tar.gz ",
using: :homebrew_curl
```
2022-06-24 19:26:16 -04:00
apainintheneck
3b65ecaf4c
livecheck: fix path to livecheck watchlist
2022-06-21 17:57:19 -07:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH
2022-06-17 19:47:57 +01:00
Bo Anderson
8ada737d40
Encapsulate ENV["SHELL"] usage
2022-06-17 19:47:57 +01:00
Bo Anderson
40bbdc659e
Fix some Style/FetchEnvVar offences
2022-06-17 19:47:57 +01:00
Bo Anderson
cd73e6bac5
Introduce more Ruby constants for values set by brew.sh
2022-06-17 19:47:57 +01:00
Bo Anderson
0a1762bd14
Use RUBY_PATH and HOMEBREW_RUBY_EXEC_ARGS more universally
2022-06-17 19:47:56 +01:00
Bo Anderson
a2033c397e
Use EnvConfig methods over direct ENV access
2022-06-17 19:47:56 +01:00
Bo Anderson
f5dc7a571f
Fix Style/ObjectThen offences
2022-06-17 19:47:55 +01:00
Rylan Polster
b896f6cb0d
Allow more developer commands with HOMEBREW_INSTALL_FROM_API
2022-06-16 21:31:15 -04:00
Bo Anderson
9d09ae1590
dev-cmd/dispatch-build-bottle: remove --macos and --linux conflict
2022-06-14 00:50:00 +01:00
Bo Anderson
6632a4fd49
dev-cmd/extract: strip out old bottle disable reasons
2022-06-10 20:25:21 +01:00
Kid
721a27d68d
dev-cmd/cat: support setting bat theme via environment variable
2022-06-06 08:44:47 +08:00
Mike McQuaid
bdc32c24cc
Merge pull request #12241 from cho-m/bump-cask-arch-lang
...
bump-cask-pr: bump language checksums in non-running hardware
2022-06-01 16:59:56 +01:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
...
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
Bo Anderson
cbba6af505
dev-cmd/typecheck: relax typing for msgpack
2022-05-30 02:39:13 +01:00
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 McQuaid
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 Molenaar
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 McQuaid
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 McQuaid
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 McQuaid
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 Molenaar
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 Molenaar
0ec9cf721c
pr-pull: fix trailing whitespace
2022-04-04 14:19:39 +02:00
Sean Molenaar
08341d1c8b
pr-pull: whitespace fix
2022-04-04 14:14:00 +02:00
Sean Molenaar
0d8a3d8041
pr-pull: fix style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-04-04 13:24:05 +02:00
Michael Cho
7dd3b04979
bump-cask-pr: bump language checksums in non-running hardware
2022-04-03 17:03:06 -07: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 McQuaid
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 McQuaid
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 Long
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