Seeker
e42e98108b
Merge pull request #10348 from SeekingMeaning/livecheck-actual-version
...
livecheck: compare actual version for casks
2021-01-20 07:44:33 -08:00
Seeker
fbafaff4fe
rubocop: require braces for Sorbet sig
2021-01-18 16:52:45 -08:00
Seeker
94a33b1d2e
livecheck: compare actual version for casks
2021-01-17 11:24:52 -08:00
Sam Ford
6c4041c026
Livecheck: Do not convert URL symbol to string
2021-01-13 09:35:54 -05:00
Sam Ford
12e5f4dce1
Livecheck: Refactor #skip_conditions into a module
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 18:34:33 -05:00
Sam Ford
aae91cacae
Livecheck: Skip Internet Archive stable URLs
2021-01-12 18:04:26 -05:00
Sam Ford
f36d1a7fb6
Livecheck: Skip Google Code Archive stable URLs
2021-01-12 18:04:26 -05:00
Markus Reiter
41a8fa4efc
Merge pull request #10235 from reitermarkus/livecheck-header
...
Don't preprocess URL for `:header_match` strategy.
2021-01-07 15:01:31 +01:00
Markus Reiter
52daccb365
Don't preprocess URL for :header_match strategy.
2021-01-06 12:34:30 +01:00
Seeker
790d807b97
livecheck: enable Sorbet type checking
2021-01-05 14:16:54 -08:00
Sam Ford
d7fa400930
Livecheck: Surface cached status in debug output
2020-12-24 22:19:14 -05:00
Sam Ford
88843d2e43
Livecheck: Fix final url spacing in debug output
2020-12-24 15:00:57 -05:00
Sam Ford
12afb272bb
Strategy: Manually handle redirections
2020-12-23 00:35:27 -05:00
Markus Reiter
921485c672
Don't print backtrace for “Unable to get versions” error.
2020-12-19 19:34:27 -05:00
Sam Ford
0148ee870e
Livecheck: Use alphabetical order in symbols array
2020-12-19 19:34:26 -05:00
Sam Ford
a55686a0e2
Enforce strategy url requirement in latest_version
2020-12-19 19:34:25 -05:00
Markus Reiter
8a583a7aee
Remove args.
2020-12-19 19:34:23 -05:00
Markus Reiter
126842531e
Print backtrace in debug mode.
2020-12-19 19:34:21 -05:00
Markus Reiter
8b7f38faf0
Fix code style.
2020-12-19 19:34:19 -05:00
Markus Reiter
0fe3bf7c7f
Only use Sparkle strategy if URL is specified explicitly.
2020-12-19 19:34:19 -05:00
Markus Reiter
1857e0ebfa
Skip discontinued, latest and unversioned casks.
2020-12-19 19:34:18 -05:00
Markus Reiter
b3c46ba2b9
Allow extracting URL in Sparkle strategy.
2020-12-19 19:34:17 -05:00
Markus Reiter
7762a597d6
Don't preprocess URL for Sparkle strategy.
2020-12-19 19:34:17 -05:00
Markus Reiter
f711352cfd
Add audit for livecheck in casks.
2020-12-14 15:44:35 +01: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
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
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
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00