Sergei Zharinov
2df8967ae2
refactor: Create promises utilities ( #17651 )
2022-09-06 10:36:51 +00:00
Michael Kriese
6dd4ea3c74
feat(github): use repo url to get token ( #17179 )
2022-08-29 07:37:45 +00:00
Michael Kriese
1bc8fee494
refactor: cleanup http option interface ( #16967 )
2022-08-04 12:54:52 +02:00
Sergei Zharinov
b5df686fb7
refactor(github): Introduce misc query function for GraphQL ( #16387 )
...
* refactor(github): Introduce misc `query` function for GraphQL
* Update lib/modules/datasource/github-releases/cache/cache-base.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-07-02 15:24:17 +02:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files ( #15812 )
...
* add types for tmp
* expand files in lib/util
* update yarn lock
* Update tsconfig.strict.json
* util/exec
* util/git
* util/http
* Revert "util/exec"
This reverts commit 96cf479a1b .
* update strict.json
* redo util/exec
* revert util/git
* util/merge-confidence
* update util/git
* util/package-rules
* fix util/git
* util/template
* util/
* revert extras
* rm newline
* add tmp back
* apply suggestion from review
* util/cache
* more changes
* Update tsconfig.strict.json
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-06-19 21:17:46 +00:00
Sergei Zharinov
e4d5a0e2fd
fix(github): Throw on GraphQL errors during cache fetching ( #15891 )
2022-06-04 11:02:31 +00:00
Sergei Zharinov
2e957baed9
feat(github): long-term datasource caching ( #15653 )
2022-06-03 11:27:26 +02:00
Sergei Zharinov
d663859207
feat(github): Fetch PRs using cacheable REST ( #14907 )
2022-04-15 17:21:09 +00:00
Rhys Arkins
6c9aad38a8
refactor: remove unnecessarily long paths in imports and mocks ( #14429 )
2022-02-26 16:09:01 +00:00
Sergei Zharinov
a674f727dd
feat(github): Platform-native REST-based push ( #14271 )
2022-02-24 15:32:46 +01:00
MaronHatoum
b121deb969
refactor(util/http): move interfaces from index.ts to types.ts ( #14335 )
...
* refactor:util/http move interfaces and types from index.ts to types.ts
* refactor:reorder imports
* refactor:move HttpError from type.ts to index.ts
* refactor:change imports after moving HttpError from type.ts to index.ts
* refactor:revert white spaces
* refactor:revert moving httpError from types.ts to index.ts
* refactor: moving httpError from types.ts to index.ts
* refactor: change import
* refactor: change import
* refactor: change import
* refactor: fix circular dependencies (lint build)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-02-24 08:50:17 +00:00
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error ( #14052 )
2022-02-07 06:37:17 +00:00
Sergei Zharinov
3b14ef2869
feat(github): Remember GraphQL optimal page size ( #13047 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-01-18 15:36:44 +00:00
Sergei Zharinov
1b65125ad6
refactor(util/range): Extract range generator util ( #13532 )
2022-01-13 08:20:37 +01:00
renovate[bot]
b0acc97579
build(deps): update dependency parse-link-header to v2 [security] ( #13412 )
2022-01-13 06:45:50 +01:00
Sergei Zharinov
9a2e37f5bd
fix(http/github): Preserve search params for paginated requests ( #13506 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-01-12 11:31:36 +00:00
Sergei Zharinov
030b1a61a4
refactor(util/http): Strict null checks for http utils ( #13416 )
...
* refactor(util/http): Strict null checks for http utils
* More tests for queue.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-01-09 21:22:27 +00:00
Sergei Zharinov
88d348650c
fix(github): Log fieldName when shrinking page size ( #12990 )
2021-12-07 16:36:42 +01:00
Sergei Zharinov
96b854df90
fix(github): Log shrinked GraphQL page size ( #12706 )
2021-11-24 06:04:09 +00:00
Rhys Arkins
cfc4c48a47
fix(github): handle secondary rate limit ( #12741 )
2021-11-18 16:47:17 +01:00
Sergei Zharinov
49d3c18e31
fix(github): Shrink GraphQL page size and retry for any ExternalHostError ( #12689 )
2021-11-16 15:16:31 +00:00
Rhys Arkins
7e8239dd65
fix(github): better request error handling
2021-11-09 05:16:06 +01:00
Michael Kriese
6be7e756fc
fix(github): log graphql errors ( #12452 )
2021-11-02 12:12:29 +01:00
Rhys Arkins
e96d35d051
logs: downgrade error to warn
2021-11-01 16:56:43 +01:00
Rhys Arkins
dc445bde7a
logs: graphql nodes error query and options ( #12370 )
2021-10-28 10:37:09 +02:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 ( #12283 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-10-27 14:37:11 +00:00
Sergei Zharinov
eef4c2f11f
feat(github): Use native auto-merge when possible ( #12045 )
2021-10-20 03:31:03 +00:00
Sergei Zharinov
9c6b79c990
refactor(github): Generic graphql request helper ( #12142 )
2021-10-13 11:31:22 +02:00
Maksim
1f86b71fd5
refactor: constants ( #11690 )
2021-10-06 07:43:32 +02:00
Jesko Steinberg
9f791552d3
feat: enable right filtering when specifing hostRules with github-api using datasources ( #11136 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-08-25 07:07:23 +00:00
Jamie Magee
a6f4e99e27
refactor: no implicit override ( #11395 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2021-08-23 20:50:37 +00:00
Rhys Arkins
50e5a8129f
fix: simplify issue creation error messages ( #11179 )
2021-08-09 12:23:34 +02:00
Sergei Zharinov
c20eff9b26
refactor: Use GraphQL variables instead of string templates ( #10926 )
...
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
2021-07-27 08:50:27 +02:00
Rhys Arkins
f946b7407e
fix(github): paginationField for check runs ( #10003 )
2021-05-15 12:14:34 +02:00
Rhys Arkins
ca834fa61a
fix(github): Propagate PR already exists up ( #9085 )
2021-03-11 15:51:48 +01:00
Rhys Arkins
ef2a13f4f2
fix: don’t throw repository-changed from git layer ( #9032 )
2021-03-08 09:02:48 +00:00
Sergei Zharinov
bf5cb0f87d
fix(http): Throw ExternalHostError on ECONNRESET ( #9000 )
2021-03-05 17:18:01 +00:00
Sergei Zharinov
27a494ffe2
feat(github): Shrink GraphQL nodes count on 50x errors ( #8394 )
2021-02-06 06:19:27 +00:00
Sergei Zharinov
e3a2b32b6c
feat(github): Limit graphql results total count ( #8064 )
2020-12-18 12:58:19 +01:00
Sergei Zharinov
f0cc3bfad1
fix(github): Fix v3 stripping for graphql in GHE ( #7944 )
2020-12-10 17:44:22 +01:00
Sergei Zharinov
6354425126
refactor(github): Remove obsolete URL functions from HTTP wrapper ( #7932 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2020-12-10 09:13:25 +01:00
renovate[bot]
00dea83335
chore(deps): update dependency prettier to v2.2.1 ( #7829 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2020-12-02 14:10:31 +01:00
Rhys Arkins
1d83cbbc4b
fix(github): massage url and message in errors ( #7160 )
2020-09-02 09:19:50 +02:00
Sergio Zharinov
095f2f8240
refactor(util): Fix lint warnings ( #7114 )
2020-08-27 09:11:10 +02:00
Rhys Arkins
76913a1889
feat(github): support app tokens ( #6859 )
2020-08-17 14:14:19 +02:00
Michael Kriese
5815f75f13
feat(internal): migrate to got v11 ( #6725 )
...
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2020-07-22 20:15:48 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules ( #6765 )
2020-07-18 08:42:32 +02:00
Michael Kriese
76d8574581
chore(internal): fix http coverage ( #6746 )
2020-07-14 09:51:27 +02:00
Sergio Zharinov
581844a085
fix(github): Fix accept headers for Github HTTP wrapper ( #6736 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2020-07-12 15:29:26 +02:00
Sergio Zharinov
e2af296c48
refactor: Rename GraphQL query methods ( #6732 )
2020-07-12 08:10:38 +02:00