Markus Reiter
480e264d9a
Lint Ruby docs.
2024-05-01 11:35:21 +02:00
Markus Reiter
caf87c0336
Warn about undocumented non-private APIs.
2024-05-01 11:35:20 +02:00
Markus Reiter
c76170a456
Hide #to_s
in docs.
2024-04-26 14:04:55 +02:00
William Woodruff
e2b5d93198
more attestation coverage
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-11 13:39:13 -04:00
Michael Cho
f81dcd8c58
go_resource deprecation comments
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-01 09:00:32 -04:00
Bo Anderson
bb0252875e
utils/bottles: fix outdated bottle check
2024-03-30 03:29:51 +00:00
Mike McQuaid
ea2892f8ee
brew.rb: handle missing args.
2024-03-07 16:20:20 +00:00
Issy Long
f4218a6316
Fix RuboCop Performance/MapCompact
offenses
...
- Rename an iterator variable since it would make the line too long.
2024-02-25 22:59:59 +00:00
Markus Reiter
c6788bb27e
Avoid T.unsafe
.
2024-02-13 00:42:54 +01:00
Markus Reiter
d9712f4d50
Refactor and add type signature for uses_from_macos
.
2024-02-13 00:31:10 +01:00
Markus Reiter
4762f644cb
Remove @uses_from_macos_elements
variable.
2024-02-12 23:46:18 +01:00
Douglas Eichelberger
5b5cfe89de
Resolve violations from removing hidden.rbi
2024-02-11 20:27:38 -08:00
Mike McQuaid
65bf26fb27
Merge pull request #16416 from Bo98/safe-filename
...
Add consistent path validation
2024-01-01 18:48:28 +00:00
Bo Anderson
5aebde3ffd
Add consistent path validation
2024-01-01 18:37:47 +00:00
Douglas Eichelberger
ffd761d2e9
Create dedicated Attrable mixin for attr_ methods
2023-12-28 11:46:27 -08:00
Bo Anderson
b42256d286
Deprecate, disable & delete code for Homebrew 4.2.0
2023-12-07 23:42:13 +00:00
Douglas Eichelberger
3c0506e276
Fix tag_to_cellar
2023-11-05 12:23:42 -08:00
Douglas Eichelberger
0191af7899
resolve typecheck errors
2023-11-05 08:55:58 -08:00
Bo Anderson
de83bc69e0
Implement equality functions for BottleSpecification
2023-10-23 16:17:31 +01:00
Mike McQuaid
7da934f7e2
Deprecate/disable/delete code.
...
The next release after this is merged will be 4.1.0.
Co-authored-by: Markus Reiter <me@reitermark.us>
2023-07-06 16:56:20 +01:00
Bo Anderson
d1b923f314
Introduce UsesFromMacOSDependency
...
Add Formula#declared_deps and SoftwareSpec#declared_deps
2023-07-04 13:40:55 +01:00
Markus Reiter
8274920217
Rename OS::Mac::Version
to MacOSVersion
.
2023-05-09 05:08:38 +02:00
Bo Anderson
44f058edb5
Refactor formula, cask and Ruby source downloads to use shared code
2023-04-27 23:23:07 +01:00
Douglas Eichelberger
08af78a2a5
brew style --fix
2023-04-25 09:26:24 -07:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Mike McQuaid
63d8de3600
brew style --fix
2023-04-07 19:10:22 +01:00
Issy Long
6d822d9a62
rubocop: Drop "fn" from Naming/MethodParameterName
allowlist
...
- I originally thought this was short for "function", but upon closer
inspection all its usages are to do with filenames. So, use "filename",
it's clearer.
2023-03-08 14:40:56 +00:00
Bo Anderson
9b99594753
Preliminary compatibility fixes for Ruby 3
2022-10-11 02:53:27 +01:00
Bo Anderson
6c4245e298
software_spec: fix bottle resource version type
2022-09-01 18:47:38 +01:00
Bo Anderson
abfbb46678
Freeze formula definition once first instance is created
2022-08-31 20:40:42 +01:00
Michka Popoff
d271614872
install glibc/gcc automatically if too old.
...
Right now this is done through the gcc@5 formula.
See 9692318ca6/Formula/gcc%405.rb (L33)
This is fragile because when we will migrate to gcc@11
we have to think about migrating the installation from one gcc formula to another..
Also, not having the right glibc version results in a non-functional brew
installation on an older Linux: the glibc installation needs
to be done by brew, and not by a workaround in a specific formula
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Bo Anderson <mail@boanderson.me>
Co-Authored-By: Shaun Jackman <sjackman@gmail.com>
2022-08-25 11:04:37 +01:00
Mike McQuaid
6b697470fd
brew style --fix
...
For https://github.com/Homebrew/brew/pull/13671
2022-08-10 14:19:33 +01:00
Rylan Polster
ea1f2098ac
Move HOMEBREW_SIMULATE_MACOS_ON_LINUX
handling to SimulateSystem
2022-07-28 15:04:25 -04:00
Rylan Polster
4cc0e854ce
Rename treat_as_*?
to simulating_or_running_on_*?
2022-07-28 09:18:16 -04:00
Rylan Polster
91cf9f2ad8
Use SimulateSystem
for uses_from_macos
deps
2022-07-23 03:09:29 +02:00
Rylan Polster
94138c0848
Ignore empty patch
blocks
2022-07-18 22:51:30 +02:00
Rylan Polster
99447bb1c0
OnSystem
: provide ::MacOSAndLinux
and ::MacOSOnly
2022-06-30 12:57:35 -04:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Rylan Polster
a9e62b9e38
include OnSystem
to define DSL methods
2022-06-29 11:38:55 -04:00
Rylan Polster
b538ce7361
Add OnSystem
module to generate on_*
methods for formulae and casks
2022-06-24 14:37:50 -04:00
Bo Anderson
40bbdc659e
Fix some Style/FetchEnvVar offences
2022-06-17 19:47:57 +01:00
Mike McQuaid
195e4d0f89
software_spec: handle nil manifests_annotations.
...
Fixes #13372
2022-06-03 14:50:01 +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
danielnachun
ae1c5c8054
software_spec.rb: change compatible_location
2022-04-12 15:53:04 -07:00
Bo Anderson
ebda92f908
Revert "Binary patching of build prefixes "
2022-03-21 18:22:36 +00:00
danielnachun
70bc181029
software_spec.rb: change compatible_location
2022-03-12 17:46:09 -08:00
danielnachun
17005b93ab
software_spec.rb: add tag_to_cellar method
2022-03-10 10:31:33 -08:00
Mike McQuaid
a37f24f439
Revert "Binary patching of build prefixes"
2022-02-14 10:55:08 +00:00
danielnachun
40e49fa0d8
software_spec.rb: change compatible_location
2022-02-10 22:48:45 -08:00
Mike McQuaid
f781f28d6d
Retry GitHub Packages manifest download if invalid.
2021-10-22 10:41:35 +01:00