Commit graph

30 commits

Author SHA1 Message Date
Roman v. Gemmeren
7f5a9399b6
docs: fix repology sample (#12192) 2021-10-16 09:57:07 +00:00
Oleg Krivtsov
ef08699d77
Return null in case of ambiguous package name resolution in Repology (#11654) 2021-09-10 05:08:31 +00:00
Michael Kriese
c8c8684ea3
fix(datasource): trim trailing slash in registry url (#11392)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-30 18:28:32 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Niels Basjes
c077f15831
fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +00:00
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Sergei Zharinov
b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +02:00
Rhys Arkins
58daaabb43
feat(internal): return registryUrl from datasources (#9177)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-17 13:34:47 +01:00
Rhys Arkins
f1a4102dd9
refactor: customRegistrySupport (#9142) 2021-03-15 13:56:23 +01:00
Rhys Arkins
06c246ea02
feat(internal): fixedRegistries (#9124) 2021-03-14 20:58:47 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins
76d0d42c9e
refactor: getQueryString (#8834) 2021-02-24 09:58:21 +01:00
Dmitry Pavlov
8032ffd8ca
fix(repology): Properly handle of response with multiple package versions (#8489) 2021-02-03 14:34:04 +01:00
Daniel Tschinder
3ea0656da4
fix(repology): Correctly resolve packageName to repology project again (#7997)
* fix(repology): Correctly resolve packageName to repology project again

As a fallback now do the direct API call, but only if the repository is not supported by the resolver tool

* Add missing httpMock expectation in test

* Do not log error in valid error case

* Add missing snapshot

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-16 07:22:46 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Daniel Tschinder
e3ccc35d4a
feat(repology): Support all repositories of repology (#7833)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-01 14:35:24 +01:00
Sergio Zharinov
0ae8cc2e89
refactor(datasource): Fix lint warnings (#7115) 2020-08-27 09:07:58 +02:00
Sergio Zharinov
9f891745aa
fix(host-rules): Disable datasource warnings for disabled hosts (#6918) 2020-08-05 13:58:50 +02:00
Rhys Arkins
4ff6fd528b docs: mention handlebars escaping 2020-07-03 15:57:01 +02:00
Rhys Arkins
be37109cf6
refactor: rename globalCache to packageCache (#6580) 2020-06-25 08:32:55 +02:00
Rhys Arkins
031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Sergio Zharinov
bd983342be
refactor: Import index for datasource tests (part 2) (#6546) 2020-06-18 21:31:40 +02:00
Rhys Arkins
f5a588eb5a fix: Revert "fix(cache): distinguish between null and undefined (#6509)"
This reverts commit 0345b40a18.
2020-06-17 10:07:22 +02:00
Rhys Arkins
0345b40a18
fix(cache): distinguish between null and undefined (#6509)
null = this lookup returned nothing last time
undefined = no cached result found
2020-06-17 06:48:33 +02:00
Pascal Mathis
1c924059ae
fix(repology): handle multi-package projects (#6489) 2020-06-11 14:52:02 +02:00
Pascal Mathis
4513c9475d
feat: add repology datasource (#6465)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-08 21:33:11 +02:00