442 Commits

Author SHA1 Message Date
Mohammad Zain Abbas
54c9338ed4 Removed use_homebrew_curl? for resources 2022-08-11 21:25:24 +02:00
Mohammad Zain Abbas
c111a5bc9d Revert back changes + modified resource_name method 2022-08-11 21:00:28 +02:00
Mohammad Zain Abbas
f9f3d3d84b Minor refractoring 2022-08-10 22:00:08 +02:00
Mohammad Zain Abbas
d1584b67b9 Removed the error message for Cask in case --resources flag is given 2022-08-10 20:50:14 +02:00
Mohammad Zain Abbas
be7dde6aac Minor fixes 2022-08-08 01:37:45 +02:00
Mohammad Zain Abbas
1ca2350e35 Added an error message if --resources flag is given with a Cask 2022-08-07 22:24:37 +02:00
Mohammad Zain Abbas
9598cc128c Disable block length metric for resource_version 2022-08-07 20:02:05 +02:00
Mohammad Zain Abbas
0c9ff722ae Fixed typecheck errors 2022-08-07 19:36:06 +02:00
Mohammad Zain Abbas
53b0d60f75 After running brew style --fix 2022-08-07 19:14:13 +02:00
Mohammad Zain Abbas
3d83e18142 Updated --json debug info for livecheckable resources 2022-08-07 19:03:12 +02:00
Mohammad Zain Abbas
b95a5188bf Refactored code for brew livecheck --resources --json 2022-08-07 18:34:03 +02:00
Mohammad Zain Abbas
6055f78218 Refactored code for resources in livecheck command 2022-08-07 18:14:24 +02:00
Mohammad Zain Abbas
656b18b13a Minor change: updated doc for resource_version method 2022-08-07 17:24:53 +02:00
Mohammad Zain Abbas
eb9bc93fae Removed unnecessary :meta from info hash 2022-08-07 17:19:59 +02:00
Mohammad Zain Abbas
81a7d6edd7 Fixed issue with --json flag for resources 2022-08-07 17:13:17 +02:00
Mohammad Zain Abbas
495f8f2193 Return download_name when --full-name is passed for resources 2022-08-07 16:59:53 +02:00
Mohammad Zain Abbas
e784377537 Code refactoring for info Hash for resources 2022-08-03 16:07:48 +02:00
Mohammad Zain Abbas
6f79b5dee2 Minor change: fix the argument for formulae 2022-08-03 15:47:32 +02:00
Mohammad Zain Abbas
9b31dc7e87
Refactored print_latest_version for resource
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2022-08-03 18:41:44 +05:00
Mohammad Zain Abbas
424c5bfce2
Minor change: update parameters
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2022-08-03 18:37:36 +05:00
Mohammad Zain Abbas
06d45fea80
Minor fix: ambiguous_cask should be false for resources
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2022-08-03 18:36:55 +05:00
Mohammad Zain Abbas
fd4a02ff34
Refactored check_resource to resource in print_latest_version
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2022-08-03 18:35:52 +05:00
Mohammad Zain Abbas
ac614e29f9 After brew typecheck --fix 2022-08-02 00:54:18 +02:00
Mohammad Zain Abbas
3bd747d41b Merge branch 'mohammad' of https://github.com/mohammadzainabbas/brew into mohammad 2022-08-02 00:35:19 +02:00
Mohammad Zain Abbas
609485cdd7 Added a blank line before the output from print_latest_version in the debug output 2022-08-02 00:35:16 +02:00
Mohammad Zain Abbas
87b8c7bb6d
Added double blank line before resources to better separate the debug output
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-08-02 03:33:34 +05:00
Mohammad Zain Abbas
9c4b9b7e14 Refactored a bit + brew style --fix 2022-08-02 00:27:53 +02:00
Mohammad Zain Abbas
e718318eaf Fixed issue with info[:meta] for resources 2022-08-01 23:50:18 +02:00
Mohammad Zain Abbas
6daa22bc8e Fixed issue with print_latest_version 2022-08-01 23:34:53 +02:00
Mohammad Zain Abbas
b651fe475c Added newer_than_upstream and outdated in resource info 2022-07-31 10:24:55 +02:00
Mohammad Zain Abbas
ce202dc61c Updated livecheck: Refactored for resources' output 2022-07-31 10:17:15 +02:00
Mohammad Zain Abbas
4de6509906 Removed print_latest_resource_version 2022-07-31 10:09:20 +02:00
Mohammad Zain Abbas
4f8f852fbc Refactored print_latest_version for resources as well 2022-07-31 10:08:39 +02:00
Mohammad Zain Abbas
40bbbd601e Refractored resource_version to work for a single resource 2022-07-31 09:49:19 +02:00
Mohammad Zain Abbas
4088c4683e
Indenting resources by two spaces
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-07-31 12:39:23 +05:00
Mohammad Zain Abbas
c074e8c020
Aligned output with the existing style seen in #latest_version
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-07-31 12:38:40 +05:00
Mohammad Zain Abbas
fe94bfb0f1
Updated livecheck_version
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
2022-07-31 12:38:00 +05:00
Mohammad Zain Abbas
5beb7c1772 Simplified check resources' condition for Formulae 2022-07-31 09:35:41 +02:00
Mohammad Zain Abbas
6ec81ac31c No need to show that no resources exists for formulae 2022-07-31 09:33:01 +02:00
Mohammad Zain Abbas
806f0be69a Refactoring in progress 2022-07-27 21:28:28 +02:00
Mohammad Zain Abbas
0b5a68ca9b After brew style --fix for livecheck command 2022-07-27 20:43:07 +02:00
Mohammad Zain Abbas
3dc1b9c231 Refactored run_checks and resource_version methods for livecheck command 2022-07-27 18:25:12 +02:00
Mohammad Zain Abbas
1f55f15d66 Removed extra bits 2022-07-27 16:51:26 +02:00
Mohammad Zain Abbas
8e3e9743ac Basic structure completed for livecheckable resources 2022-07-27 16:37:31 +02:00
Mohammad Zain Abbas
73cf8fd205 Updated latest version for resources 2022-07-27 15:24:33 +02:00
Mohammad Zain Abbas
e72487c8b0 Updated for current and latest versions for resources 2022-07-27 15:13:55 +02:00
Mohammad Zain Abbas
2777610095 Work in progress for resource_version 2022-07-27 13:54:20 +02:00
Mohammad Zain Abbas
e84cc8d116 Work in progress for livecheckable resources 2022-07-27 13:27:21 +02:00
Mohammad Zain Abbas
43fcb5e563 Added support for resources in LivecheckVersion 2022-07-27 13:26:48 +02:00
Mohammad Zain Abbas
7ce15eaa60 Basic debug info 2022-07-25 00:56:36 +02:00