19 Commits
Author SHA1 Message Date
Bo Anderson 6cd1e5e384 Avoid passing around a massive $LOAD_PATH.
Portable Ruby crashes if the $LOAD_PATH gets too big.
2021-02-26 18:23:48 +00:00
Markus Reiter 1b9002c04a Fix type errors in postinstall. 2020-11-29 21:23:54 +01:00
Markus Reiter 6750448d95 Fix some auto-correctable type errors. 2020-11-29 21:23:54 +01:00
Markus Reiter 24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
William Ma fa7bd3bff6 args: Migrate usage of args loading methods to args.named 2020-08-23 09:02:20 -04:00
Markus Reiter 490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Markus Reiter 8d52fa909f Pass args in postinstall instead of using global args. 2020-07-30 03:21:12 +02:00
Mike McQuaid 4babdf2a0f postinstall: use arguments from main command. 2020-01-13 14:57:15 +00:00
Mike McQuaid c87416e525 postinstall: re-add Debrew. 2020-01-02 13:56:19 +00:00
Gautham Goli 073685284f postinstall: Use CLI::Parser to parse args 2019-12-28 14:48:34 +05:30
Mike McQuaid 36dbad3922 Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
William Woodruff 367629d289 utils: Use JSON to marshal child errors
Replaces our serialization of child process
errors via Marshal with JSON, preventing
unintentional or malicious code execution outside
of the build sandbox.

Additionally, adds tests for the new behavior.
2018-09-04 11:03:32 -04:00
Mike McQuaidandGitHub 7df5b7057e Revert "Use JSON to marshal errors from children" 2018-08-18 08:20:13 +01:00
William WoodruffandWilliam Woodruff 5c90833f0a Use JSON to marshal errors from children 2018-08-17 15:23:08 -04:00
Markus Reiter 175ca909ee Clean up code style and remove .rubocop_todo.yml. 2017-10-08 16:10:37 +02:00
Andrew JankeandAndrew Janke 954445634c separate build and test logs 2016-08-19 01:04:32 -04:00
Xu Cheng e008f6e53c remove unnecessary build options manipulation for test and postinstall
We already loaded build options in ARGV.resolved_formulae for test and
postinstall
2016-07-18 18:11:53 +08:00
Uladzislau ShablinskiandXu Cheng 092d4712a1 Update commit when resolving the formula (#536) 2016-07-17 16:56:13 +08:00
Xu Cheng d1617e86d0 sandbox postinstall
Closes Homebrew/homebrew#38479.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-15 19:51:54 +08:00