265 Commits

Author SHA1 Message Date
Maxim Belkin
0d3cc7cd82
cask/audit.rb: minor cleanup 2020-09-21 04:40:32 -05:00
Markus Reiter
b72e7ee34d Only treat cask audit warnings as errors if --strict is passed. 2020-09-14 13:12:38 +02:00
Markus Reiter
e4356e85d1 Treat more things as errors in cask audit. 2020-09-14 13:12:38 +02:00
Mike McQuaid
fb4d08a49a Fix brew style 2020-09-11 10:29:22 +01:00
Seeker
e0645f3950 cask/audit: detect tag from URL 2020-09-09 08:57:56 -07:00
Markus Reiter
1858dab31f Add SharedAudits::gitlab_release. 2020-09-05 18:23:05 +02:00
Markus Reiter
39f0784108
Merge pull request #8613 from reitermarkus/cask-audit-url
Only audit appcast URL if specified and check its contents.
2020-09-05 07:43:05 +02:00
Markus Reiter
8fe9652853
Merge pull request #8588 from SMillerDev/cask/audit/disable_pre_release_conditionally
audit: allow pre-releases in cask-versions
2020-09-05 06:31:36 +02:00
Markus Reiter
6194155765 Use official? for checking tap. 2020-09-05 06:19:54 +02:00
Markus Reiter
05cf8f42e0 Only audit appcast URL if specified and check its contents. 2020-09-05 06:19:54 +02:00
Markus Reiter
5f7c814593 Move more common code into SharedAudits. 2020-09-05 05:50:24 +02:00
Markus Reiter
5008a841fc Fix missing method problem in Cask::Audit. 2020-09-04 08:08:44 +02:00
Markus Reiter
f1bf6c03c3 Add tests for implications. 2020-09-04 05:29:56 +02:00
Markus Reiter
e5b56e485f Move cask audit implications into Audit. 2020-09-04 04:47:31 +02:00
Sean Molenaar
9ac31942fb
audit: allow pre-releases in cask-versions 2020-09-03 17:38:37 +02:00
Sean Molenaar
74ba8cc2df
Style fix in cask audit
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-09-02 19:13:46 +02:00
Sean Molenaar
0279dda595
add cask pre-release check 2020-09-02 15:47:12 +02:00
Mike McQuaid
8b97c27c21 brew style manual fixes 2020-09-01 14:26:45 +01:00
Markus Reiter
18a69b660e Document SharedAudits. 2020-08-26 10:53:22 +02:00
Markus Reiter
d6003abdec Document Audit. 2020-08-26 03:13:59 +02:00
Markus Reiter
9ea1dcf4ca Fix auditing of cask languages. 2020-08-12 00:45:01 +02:00
Markus Reiter
0d9e28d305 Don't warn about version designation in cask-versions tap. 2020-08-11 21:42:21 +02:00
Markus Reiter
549cd5b471 Ensure new casks have a description. 2020-08-10 19:51:03 +02:00
Markus Reiter
5cf7ffd93e Make Cask::Auditor return a Hash with warnings and errors. 2020-07-28 09:50:15 +02:00
Markus Reiter
ee09df8db3 Move Download from Auditor into Audit. 2020-07-22 01:09:14 +02:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
Sean Molenaar
523c24684d
cask: audit locales 2020-06-16 11:41:06 +02:00
Sean Molenaar
d64afece81
Merge pull request #7690 from SMillerDev/cask/audit/token
cask: codify the token rules
2020-06-16 11:40:25 +02:00
Sean Molenaar
4a24908fe4
cask: codify the token rules 2020-06-11 19:34:36 +02:00
Markus Reiter
a793bc500c Fix failing appcast check. 2020-06-10 16:39:03 +02:00
Issy Long
8eba9b86ab
Change occurrences of "blacklist" to "denylist" or "disallow"
- Depending on context, I've gone for either "denylist" or "disallow"
  here. "Disallow" for things in sentences, or actions, and "denylist"
  for list of things.
2020-06-06 22:38:33 +01:00
Vítor Galvão
446ef2c85f
Merge branch 'master' into appcast-configuration-match 2020-06-06 03:04:57 +01:00
Vítor Galvão
d485a185d0
Merge pull request #7674 from vitorgalvao/cask-appcast-config-adjusted
Cask: use regex in appcast adjusted_version_stanza
2020-06-06 02:55:15 +01:00
Vítor Galvão
8961ef40d5 Cask: rename appcast configuration to must_contain 2020-06-06 02:53:48 +01:00
Mike McQuaid
aa81982aba
brew style --fix 2020-06-02 09:49:23 +01:00
Vítor Galvão
a7b51ebecd Cask: use regex in appcast adjusted_version_stanza 2020-06-01 14:25:17 +01:00
Sean Molenaar
3567892802
Add notibility checks for casks 2020-05-26 14:21:25 +02:00
Mike McQuaid
1e265247ca
rubocop: apply autofixes. 2020-03-13 21:16:18 +00:00
Markus Reiter
e3e514144c Show appcast contents if it doesn't contain the version. 2019-11-23 17:25:10 +01:00
Issy Long
b78028b9c2
Auto-fix Performance/RegexpMatch offenses 2019-10-13 16:04:26 +01:00
Alec Clarke
af10d13381 Check blacklisted Casks when auditing.
In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ...

To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` steps.
2019-09-17 06:29:46 -07:00
Vítor Galvão
92719b64dc Cask audit: -globoff in appcast curl 2019-06-24 16:34:47 +01:00
Vítor Galvão
61623f97ca Cask audit: appcast fake user agent 2019-06-19 11:05:53 +01:00
Vítor Galvão
529e448189 Cask audit: decompress appcast 2019-06-19 00:19:30 +01:00
CoreCode
b6840c5638
Update audit.rb 2019-05-21 14:51:06 +02:00
Julian Mayer
0939c8832d Add configuration to new appcast check 2019-05-21 12:07:25 +02:00
Julian Mayer
a061a8d9f7 add optional checking whether appcast contains the version stanza to "brew cask audit" 2019-05-07 17:06:54 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier. 2019-02-21 12:55:49 +00:00