1126 Commits

Author SHA1 Message Date
Markus Reiter
05a84c5a3f Explicitly specify block argument for each methods. 2020-09-19 02:03:56 +02:00
Mike McQuaid
e93a6aa51b
Merge pull request #8700 from MikeMcQuaid/formula-spdx-require
formula: add missing SPDX require.
2020-09-11 17:40:01 +01:00
Mike McQuaid
cea6bf6efe
formula: add missing SPDX require.
https://github.com/Homebrew/formulae.brew.sh/pull/328/checks?check_run_id=1102740199#step:6:5
2020-09-11 17:16:03 +01:00
Mike McQuaid
5d82f67427 formula: use pretty license output in JSON.
This will improve things for formulae.brew.sh.
2020-09-11 13:10:42 +01:00
Tom Schoonjans
6af2b6db31 std_meson_args: add --wrap-mode=nofallback
Otherwise projects may download missing dependencies and build and
install them. GNOME projects do this a lot in particular.
2020-09-08 14:58:24 +01:00
Markus Reiter
8fb769e60c Ignore FormulaUnreadableError in Formula.each. 2020-09-03 19:48:18 +02:00
Mike McQuaid
2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Seeker
f366280e18 formula: add any_installed_version 2020-09-01 09:45:54 -07:00
Seeker
5def0701ba formula: rename opt_or_installed_prefix_keg to any_installed_keg 2020-09-01 09:39:20 -07:00
Seeker
1f6bb52d3d formula: deprecate installed_prefix and installed_version 2020-09-01 09:33:24 -07:00
Seeker
5acdcd26d0 formula: rename installed_prefix to latest_installed_prefix 2020-09-01 09:32:32 -07:00
Rylan Polster
4d0a1ff775 deprecate!, disable!: allow symbols for reason 2020-08-31 10:11:08 -04:00
Rylan Polster
f5cd15fa18 add odeprecated comments 2020-08-27 16:47:19 -04:00
Rylan Polster
689d7eb8f0 disable!, deprecate!: add reason 2020-08-27 10:42:57 -04:00
Rylan Polster
3c55d8e528 docs: update license documentation 2020-08-25 17:22:35 -04:00
Markus Reiter
3118fedab9 Refactor and document Git. 2020-08-23 06:40:07 +02:00
Mike McQuaid
5fbbc9df32
formula: deprecate license on next release. 2020-08-21 09:51:06 +01:00
Rylan Polster
01f7446316 formula: odeprecate license arrays 2020-08-20 10:33:21 -04:00
Rylan Polster
6eb07d70f0 formula: convert license array to hash 2020-08-20 10:26:37 -04:00
Rylan Polster
60ec30d41e formula: update license specification 2020-08-19 12:48:50 -04:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
Markus Reiter
b5363025a6 Refactor and document BuildEnvironment. 2020-08-14 18:41:44 +02:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Markus Reiter
bace9ecc34 Pass verbose? to Formula#verify_download_integrity. 2020-08-06 16:13:14 +02:00
Markus Reiter
5caafe413e Pass debug? to Formula#brew and Formula#run_test. 2020-08-06 16:12:52 +02:00
Mike McQuaid
fb0268da7e
license: handle "Public Domain".
Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`.
2020-08-04 10:47:41 +01:00
Bo Anderson
197c4666cf
Merge pull request #8190 from Bo98/full_name-cache
formula: cache based on full_name
2020-08-03 11:31:16 +01:00
Bo Anderson
a8060923ed formula: cache based on full_name 2020-08-02 13:43:32 +01:00
Bo Anderson
8d055497c5 formula: add deprecated/disabled info to hash 2020-08-01 02:51:09 +01:00
Bo Anderson
71f9ec79c7 formula: don't catch errors in the Formula.each yield 2020-07-30 17:09:07 +01:00
Markus Reiter
e07b02fde2 Comment BUILD_FLAGS. 2020-07-30 10:12:34 +02:00
Markus Reiter
bdb986f572 Revert unnecessary change. 2020-07-30 03:21:12 +02:00
Markus Reiter
24eff8f81a Pass args in SoftwareSpec instead of using global args. 2020-07-30 03:21:12 +02:00
Lionell Loh Jian An
52321b4fcd Apply suggestions from code review
Code review changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-28 21:01:36 +08:00
lionellloh
4ff3d63978 Clean up 2020-07-28 21:01:36 +08:00
lionellloh
3982810eab brew style --fix 2020-07-28 21:01:36 +08:00
lionellloh
797a07d555 All tests adapted to pass 2020-07-28 21:01:36 +08:00
lionellloh
9a2f84d4a5 Modify to_hash output 2020-07-28 21:01:35 +08:00
Lionell Loh Jian An
3d27894015 Apply suggestions from code review
Code review changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-28 21:01:35 +08:00
lionellloh
88eae0633b overwrote license attr_rw with a special license method 2020-07-28 21:01:35 +08:00
Mike McQuaid
f6bb1f1ef8
Merge pull request #8053 from Bo98/java.io.tmpdir
formula: set java.io.tmpdir
2020-07-28 09:06:38 +01:00
Markus Reiter
6b0b25cd00 Pass keep_tmp? and interactive? instead of using global args. 2020-07-25 02:37:10 +02:00
Maxim Belkin
152dd1ca24 Move allowed_missing_libraries: extend/os/linux/formula.rb ~> formula.rb 2020-07-24 11:06:38 +00:00
Maxim Belkin
487c4857a3 formula.rb: add a no-op allowed_missing_libraries method 2020-07-24 10:52:19 +00:00
Maxim Belkin
1b8c32c716 Move allowed_missing_libs? to linkage_checker.rb.
Optimize 'unexpected_broken_dylibs'
2020-07-22 14:30:52 +00:00
Bo Anderson
11b6402a2c formula: set java.io.tmpdir 2020-07-21 15:24:36 +01:00
Maxim Belkin
7080ad5ebc formula.rb: update missing libs feature
1. Raise an exception on macOS.
2. Verify that the missing libraries are specified either as Strings or
   Regular Expressions.

Signed-off-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-07-21 13:16:56 +00:00
Maxim Belkin
c61aba4ec3 Formula: ignore_missing_libraries DSL 2020-07-16 13:51:16 +00:00
Maxim Belkin
e7b3b8e559 Allow missing libraries 2020-07-16 13:51:16 +00:00
Bo Anderson
022d42ab08 formula: minor refactor to reduce line count 2020-07-16 02:20:13 +01:00