255 Commits

Author SHA1 Message Date
Rylan Polster
01cf98e526 Remove style exceptions for ProvidedByMacos and UsesFromMacos 2020-12-03 14:30:34 -05:00
Rylan Polster
78060765b2 rubcops/provided_by_macos: fix wording for core formulae 2020-12-02 21:19:17 -05:00
Rylan Polster
f450bfbf5e style: migrate some lists back to Homebrew/brew 2020-12-02 20:56:07 -05:00
Rylan Polster
77b4275f81
Merge pull request #9326 from Rylan12/migrate-style-exceptions
Migrate style exceptions to homebrew/core
2020-12-01 12:19:45 -05:00
linzichao
058a1c3645 add verified parameter in url 2020-12-01 01:17:21 +01:00
Rylan Polster
0c41d374c9 style: add tests for provided_by_macos and style_exceptions 2020-11-30 18:18:51 -05:00
Rylan Polster
44bfbd0112 Migrate uses_from_macos style lists 2020-11-30 18:18:50 -05:00
Rylan Polster
7a8dd36003 Migrate BINARY_BOOTSTRAP_FORMULA_URLS_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
1dbbcfd1d6 Migrate COMPONENTS_ORDER_EXCEPTIONS 2020-11-30 18:18:50 -05:00
Rylan Polster
629ad219aa Migrate MAKE_CHECK_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
e823dd713e Migrate VERSIONED_FORMULAE_CONFLICTS_ALLOWLIST 2020-11-30 18:18:50 -05:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.

Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Michka Popoff
a044f99d56 on_macos/on_linux block: allow to use deprecate or disable 2020-11-20 22:14:56 +01:00
Issy Long
7bcf554799
rubocops/components_order: Specify disable! and deprecate! order
- Ordering them this way seems to require less `--fix`ing in
  Homebrew/homebrew-core than the other way around.
- In the Big Sur bottling, we found many repos that were archived. We've
  been going through and deprecating repos that are archived or that
  don't build any more. I felt weird without the ordering of these
  stanzas without an audit to guide me - I spent time looking at
  previous examples to see "should `deprecate!` go before or after
  `depends_on`" question. Computers can tell us this instead.
2020-11-18 21:44:46 +00:00
Seeker
ea10192f8b rubocops/patches: GitHub/GitLab patches should end with .patch 2020-10-21 00:03:47 +11:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Rylan Polster
3b944434cf style: allow python versions with two digits 2020-10-11 09:46:14 -04:00
Rylan Polster
40e4b38d05 style: python versions must match python dependency 2020-10-10 13:59:20 -04:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Rylan Polster
38cedb9013 style: allow license exceptions to be on one line 2020-10-05 16:23:52 -04:00
Rylan Polster
a91730316c style: only require tag for git urls with --strict 2020-10-03 15:51:30 -04:00
Rylan Polster
c84b5f985f style: require tag and revision for git urls 2020-10-03 12:27:01 -04:00
Jonathan Chang
f6cd7b72f4
Merge pull request #8757 from reitermarkus/desc-the
Check for descriptions starting with “the”.
2020-09-20 15:36:27 +10:00
Markus Reiter
78cd6dc0a9 Allow “macOS virtual machines” in descriptions. 2020-09-19 04:30:54 +02:00
Markus Reiter
9a48568226 Check for descriptions starting with “the”. 2020-09-17 20:44:09 +02:00
nandahkrishna
7c3c459f47
livecheck: add RuboCops 2020-09-17 15:57:19 +05:30
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
Markus Reiter
6994556d19 Don't allow platform in cask descriptions. 2020-09-01 13:18:59 +02:00
Markus Reiter
3038ff8726 Improve detection of descriptions starting with cask/formula name. 2020-09-01 02:53:25 +02:00
Rylan Polster
4d0a1ff775 deprecate!, disable!: allow symbols for reason 2020-08-31 10:11:08 -04:00
Rylan Polster
842335d47b style: check disable! dates and reasons 2020-08-31 10:11:08 -04:00
Rylan Polster
6162799d63 style: check deprecate! reason 2020-08-31 10:11:08 -04:00
Rylan Polster
b1c374b729 style: fix deprecation date check 2020-08-29 10:57:07 -04:00
Rylan Polster
97b1b75dc5 style: forbid one line nested license expressions 2020-08-20 11:20:04 -04:00
Rylan Polster
ef447a38c6 style: convert from license array to license hash 2020-08-20 10:58:36 -04:00
Markus Reiter
750e299d49 Don't take name into account when calculating description length. 2020-08-15 00:16:56 +02:00
Markus Reiter
3b86e1f9c1 Implement RuboCop for cask desc stanza. 2020-08-08 23:04:24 +01:00
Waldir Pimenta
fc6813f094 Extract formula desc auditing code to a separate module
The extracted module will be used for Cask descs as well.

Co-authored-by: Markus Reiter <me@reitermark.us>
2020-08-08 23:02:39 +01:00
Markus Reiter
62671b1703 Remove wrong test. 2020-08-06 16:13:14 +02:00
Dustin Rodrigues
5157c08327 style: clarify GitHub .git error message 2020-08-05 01:00:36 -04:00
Dustin Rodrigues
1c5e73a578 style: autocorrect readthedocs and GitHub .git homepages 2020-08-04 09:45:18 -04:00
Dustin Rodrigues
de8cc4106a style: don't allow PR/MR urls for patches 2020-08-01 16:20:46 -04:00
Dustin Rodrigues
af3ea7d5aa Revert "style: don't allow PR/MR urls for patches"
This reverts commit 7a2483728c18e9cfb45e4b3f079687ec5a8e1503.
2020-07-28 21:20:46 -04:00
Dustin Rodrigues
7a2483728c style: don't allow PR/MR urls for patches 2020-07-28 10:18:26 -04:00
Dawid Dziurla
2cd72908bc
Merge pull request #7863 from iMichka/single-resource
on_os resources: allow linux-only or mac-only resources
2020-07-20 16:58:30 +02:00
Rylan Polster
70dfaf3b42 Add link to pypi downloads page to problem message 2020-07-18 14:22:05 -04:00
Rylan Polster
5f3f7d010b Require long urls for pypi and pythonhosted urls 2020-07-18 14:05:46 -04:00
Rylan Polster
d8fb850fa9 fix pkgshare missing slash issue 2020-07-12 14:20:50 -04:00
Michka Popoff
edd1685d37 on_os resources: allow linux-only or mac-only resources
This is now allowed since #7833 has been fixed.
2020-07-10 23:16:43 +02:00
Rylan Polster
9e52712b08 style: don't need require "formula" 2020-07-10 11:17:37 -04:00