536 Commits

Author SHA1 Message Date
Markus Reiter
b50eea6849
Merge pull request #8068 from reitermarkus/cli-parser
Refactor usages of global `Homebrew.args`.
2020-07-25 21:01:39 +02:00
Adrian Ho
ad4fd55b78 audit: add gitless and telegram-cli to prerelease list
In support of #8075. Both formulae been on prerelease up till now.
2020-07-25 22:13:30 +08:00
Markus Reiter
25b3632c4c Pass args to ENV instead of using global args. 2020-07-25 03:57:43 +02:00
Seeker
2e5d79a64a
Merge pull request #8033 from SeekingMeaning/allow-libressl
dev-cmd/audit: add libressl to uses_from_macos allow list
2020-07-22 10:43:01 -07:00
Sean Molenaar
dab18076fa
audit: error on archived repos 2020-07-22 11:57:50 +02:00
Seeker
e77c156690 dev-cmd/audit: rename USES_FROM_MACOS_ALLOWLIST
Rename to PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST
2020-07-21 08:21:09 -07:00
Seeker
25b7d28f91
dev-cmd/audit: add libressl to uses_from_macos allow list 2020-07-18 15:23:27 -07:00
Bo Anderson
4a20f76382
Merge pull request #7993 from dtrodrigues/get_repo_head
audit: also search head url to get repo data
2020-07-14 00:19:31 +01:00
Dustin Rodrigues
b037dfc147 audit: also search head url to get repo data 2020-07-13 12:01:45 -04:00
Dustin Rodrigues
84ad2e7551 don't allow prerelease for cake 2020-07-13 11:14:12 -04:00
Jonathan Chang
bc4a108045
Merge pull request #7980 from dtrodrigues/versioned-head-msg
update audit error message for versioned formulae with head spec
2020-07-12 12:20:14 +10:00
Dustin Rodrigues
963605e682 refactor throttled update logic to improve efficiency 2020-07-11 12:05:47 -04:00
Dustin Rodrigues
0cd40ca18a update audit error message for versioned formulae with head spec 2020-07-11 10:13:48 -04:00
Rylan Polster
a720d45bd0 cleanup audit file 2020-07-10 11:17:37 -04:00
Rylan Polster
9e52712b08 style: don't need require "formula" 2020-07-10 11:17:37 -04:00
Rylan Polster
e0b5c2093a style: refactor OptionDeclarations cop 2020-07-10 11:17:37 -04:00
Rylan Polster
1859162735 style: use pkgshare instead of share/foo 2020-07-10 11:17:37 -04:00
Rylan Polster
792533462a style: don't use prefix + directory 2020-07-10 11:17:37 -04:00
Rylan Polster
b4a9565b8b style: require java dependency for JAVA_HOME 2020-07-10 11:17:37 -04:00
Rylan Polster
9ad342eba0 style: don't concatenate in string interpolation 2020-07-10 11:17:37 -04:00
Rylan Polster
63b81d847a style: env :userpaths is deprecated 2020-07-10 11:17:37 -04:00
Rylan Polster
1e943d7b6f style: env :std deprecated in homebrew-core 2020-07-10 11:17:37 -04:00
Rylan Polster
bd8805b14f style: separate make commands 2020-07-10 11:17:37 -04:00
Mike McQuaid
f951ea83d4
Fix brew style. 2020-07-07 12:23:29 +01:00
Mike McQuaid
6211d0da13
Merge pull request #7691 from Rylan12/popen_read-audit
style: separate shell command arguments
2020-07-06 09:15:52 +01:00
Dawid Dziurla
8f59a5749e
dev-cmd/audit: don't error out if no license is detected by GitHub 2020-07-04 13:18:57 +02:00
Rui Chen
31aac4dfbb throttle gatsby-cli to every 10 rel on multiple of 10 2020-07-03 09:57:27 -04:00
Mike McQuaid
6a7e5f2e9d
dev-cmd/audit: tweak checksum audit.
Compare against the latest `origin/master` checksum rather than
whatever the previous one was.
2020-07-03 09:21:53 +01:00
Mike McQuaid
97f68e6a3a
Revert "disable license check for new formulae" 2020-07-02 09:04:58 +01:00
Rui Chen
8ff1ca644d disable license check for new formulae
return when license is blank

Co-authored-by: Bo Anderson <mail@boanderson.me>
2020-07-01 17:22:07 -04:00
Lionell
fb4db63e3b Merge branch 'master' into license 2020-06-30 22:25:17 +08:00
Pranas Ziaukas
455633f7d2 Throttle balena-cli version bumps
Discussion in Homebrew/homebrew-core#57082
2020-06-30 12:12:34 +03:00
Rylan Polster
d921e94a2b rubocop: separate args for shell commands
Use `system "foo", "bar"` instead of `system "foo bar"`. Also applies to
`Utils.popen_read` and `Utils.popen_write` commands. RuboCop can
automatically fix these problems.
2020-06-29 13:26:58 -04:00
Lionell
688a9ade0d change .nil? to .blank? 2020-06-29 16:12:05 +08:00
Lionell
5f6917ae7c Merge branch 'master' into license 2020-06-28 02:07:53 +08:00
lionellloh
4d4f6a8fac audit: remove unnecessary nil assignment 2020-06-28 02:07:32 +08:00
Lionell Loh Jian An
759708fae7
Apply suggestions from code review
Code Review Changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-28 01:54:41 +08:00
Frank Lam
b2eafdf11d
Remove patch checks from audit 2020-06-27 02:37:57 +08:00
Lionell Loh Jian An
22baff39bc
Apply suggestions from code review
Applying style-related suggestions from code review

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
2020-06-25 15:36:55 +08:00
lionellloh
0304545d0c use File.open instead of Kernel.open 2020-06-25 05:46:33 +08:00
lionellloh
3f267a8fc9 audit: fix callers to call get_repo_data only if @new_formula 2020-06-25 05:09:56 +08:00
Lionell
4832a5aa05 audit: modified problem statement to match 2020-06-24 20:43:33 +08:00
Lionell Loh Jian An
9845091f4d
Apply suggestions from code review
license: code review changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-24 18:32:53 +08:00
lionellloh
127d67e745 license: update tests and license checking logic 2020-06-23 02:59:55 +08:00
lionellloh
8d7a9d51d3 audit: rename spdx_id to spdx_data 2020-06-23 01:42:24 +08:00
Lionell
ec2391100a Merge branch 'license' of https://github.com/MLH-Fellowship/brew into license 2020-06-19 04:24:39 +08:00
Lionell
4287ea74d1 remove json from gemfile and modified get_repo_data 2020-06-19 04:20:19 +08:00
Lionell Loh Jian An
a58905000c
Update Library/Homebrew/dev-cmd/audit.rb
audit license: suppress missing license problem unless it is a new_formula

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-19 04:17:35 +08:00
Lionell Loh Jian An
b2cccfcf68
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-19 04:00:08 +08:00
Lionell Loh Jian An
a0b0c77ee8
audit license: use present instead of blank
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-19 03:58:34 +08:00