499 Commits

Author SHA1 Message Date
Markus Reiter
f711352cfd Add audit for livecheck in casks. 2020-12-14 15:44:35 +01:00
Sam Ford
1c8022ef48
Pypi: Update page_url to avoid redirection 2020-12-13 16:21:37 -05:00
Sam Ford
0ab449c577
Hackage: Update page_url to avoid redirection 2020-12-13 16:21:28 -05:00
Sam Ford
9d08f09714
livecheck: assume type of formula_or_cask less 2020-12-12 17:43:26 -05:00
Sam Ford
704ec8abf0
livecheck: reinstate previous order of hashes 2020-12-12 17:43:26 -05:00
Sam Ford
c1e5eec826
livecheck: reinstate head_only? condition order 2020-12-12 17:43:26 -05:00
Sam Ford
d316b7c802
livecheck: rename variables for clarity 2020-12-12 17:43:25 -05:00
Markus Reiter
3bde9d34a9
Remove version from Livecheck. 2020-12-12 17:43:25 -05:00
Markus Reiter
fa64a17ae9
Remove superfluous branch. 2020-12-12 17:43:24 -05:00
Markus Reiter
fb3a1a408c
Fix method call on nil. 2020-12-12 17:43:24 -05:00
Markus Reiter
3b366d05b9
Fix code style. 2020-12-12 17:43:23 -05:00
Seeker
f06f83ca69
Rename livecheck_formulae_and_casks to run_checks 2020-12-12 17:43:23 -05:00
Seeker
064e93df5b
Collapse checkable_urls methods into one method 2020-12-12 17:43:23 -05:00
Seeker
e40bc65414
Sort formulae_and_casks_to_check in Livecheck#livecheck 2020-12-12 17:43:22 -05:00
Seeker
0e8cebbb5b
Store Livecheck#version as symbol or string 2020-12-12 17:43:22 -05:00
Seeker
4b87da4da9
Initial small fixes
- Skip blank lines in watchlist
- Initialize Livecheck#version as nil
- Simplify livecheck_version logic
- Make test a bit more understandable
2020-12-12 17:43:22 -05:00
Seeker
bf03893227
Add appcast to checkable cask urls 2020-12-12 17:43:22 -05:00
Seeker
71ccd3ccaa
Fix typo 2020-12-12 17:43:22 -05:00
Seeker
6794a78087
livecheck: add support for casks 2020-12-12 17:43:21 -05:00
Sam Ford
5b770e9965
Cpan: Reimplement strategy and improve tests
Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-12-11 17:45:03 -05:00
Dario Vladovic
1f30f27c2d
livecheck: CPAN strategy 2020-12-11 17:43:09 -05:00
Sam Ford
28bfa0c93f
GithubLatest: Rework documentation comments 2020-12-05 11:53:50 -05:00
Sam Ford
524272aed0
Livecheck: Rework non-positive PRIORITY handling 2020-12-05 11:49:47 -05:00
Sam Ford
7ef88f1966
Livecheck: Skip URL processing for GithubLatest 2020-12-05 11:44:28 -05:00
nandahkrishna
d173b57c42
github_latest: modify strategy and tests 2020-12-05 20:37:28 +05:30
nandahkrishna
f96b8e7138
livecheck: add GithubLatest strategy 2020-12-05 20:37:27 +05:30
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes. 2020-12-02 10:43:04 +00:00
Sam Ford
417bb2ebfd
livecheck: clean up comment 2020-11-26 10:33:20 -05:00
Sam Ford
5332e877b2
livecheck: improve host string comparison 2020-11-26 10:32:55 -05:00
Sam Ford
d07590442c
livecheck: handle URI#parse URI::InvalidURIError 2020-11-26 10:31:38 -05:00
Dario Vladovic
74fd700445
livecheck: fix github & gitlab url processing
- support both `github.com/downloads/<owner>/<repo>` and
  `github.s3.amazonaws.com/<owner>/<repo>` URL patterns
- support self-hosted GitLab installations (with project groups)
- support _well-known_ Gitea and Gogs instances
2020-11-26 09:30:54 -05:00
Dario Vladovic
59adb55338
livecheck: refactor url preprocessing 2020-11-26 09:30:53 -05:00
Sam Ford
e40932e261
livecheck: skip disabled formulae 2020-11-11 17:03:51 -05:00
Jonathan Chang
556c81b540 rubocop: fix Security/Open 2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
nandahkrishna
20dde0b313
Add head_only? to Formula, replace head? in livecheck 2020-10-04 01:03:20 +05:30
Dustin Rodrigues
16d4f51a84 livecheck/pypi: minor edit to PyPI post version 2020-10-02 22:01:35 -04:00
Dustin Rodrigues
6735debcd4 livecheck/pypi: allow post in pypi version 2020-10-02 01:13:51 -04:00
nandahkrishna
56a8f8f99d
livecheck: fix TTY output for progress bar 2020-09-18 02:41:25 +05:30
nandahkrishna
cf293d0ef5
livecheck: progress bar for JSON output
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
2020-09-18 02:40:51 +05:30
Seeker
34c13afcd5 livecheck: skip formula even if quiet 2020-09-09 20:57:09 -07:00
Seeker
f366280e18 formula: add any_installed_version 2020-09-01 09:45:54 -07:00
Seeker
5def0701ba formula: rename opt_or_installed_prefix_keg to any_installed_keg 2020-09-01 09:39:20 -07:00
Seeker
ce90a534da install, livecheck: use opt_or_installed_prefix_keg 2020-08-31 10:34:56 -07:00
nandahkrishna
2550af57df
livecheck: changes made and improved test 2020-08-29 00:32:34 +05:30
nandahkrishna
4e0cc48b65
livecheck: changes made and tests added 2020-08-27 22:46:06 +05:30
nandahkrishna
c9f0642d45
livecheck migration: create Homebrew::Livecheck
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-27 21:26:58 +05:30
nandahkrishna
f520301180
livecheck migration: add strategies
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-27 20:00:30 +05:30