Commit graph

872 commits

Author SHA1 Message Date
Rhys Arkins
50e5a8129f
fix: simplify issue creation error messages (#11179) 2021-08-09 12:23:34 +02:00
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Maksim
42f6c5b295
fix(bitbucket-server): handle push rejection properly (#11154) 2021-08-07 16:11:57 +00:00
Rhys Arkins
f0e1070299
fix(gomod): revert auth changes (#11021) 2021-07-30 10:23:35 +00:00
Rhys Arkins
3d4d2529a1
refactor(docker): better url parsing (#10996) 2021-07-28 08:07:20 +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
Sergei Zharinov
5c0e293d73
refactor: Precise GraphQL test snapshots (#10916)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-21 21:50:13 +02:00
Tobias
9237127be2
chore(go): add support for authenticated go git from source (#10750) 2021-07-14 08:32:30 +00:00
Sergei Zharinov
030bd00212
refactor: Fair coverage for docker exec utils (#10749)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-07 14:25:51 +00:00
Michael Kriese
f0e5853b46
fix(git): convert to config validation errors (#10731) 2021-07-06 10:53:11 +02:00
Rhys Arkins
ae3e868ae2
fix(git): fetch to depth=5 (#10704) 2021-07-05 05:28:05 +00:00
Rhys Arkins
248d7c7719
fix(package-rules): add groupSlug to matched package rule if necessary (#10621)
* fix(package-rules): add groupSlug to matched package rule if necessary

* Update lib/util/package-rules.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-27 10:01:06 +02:00
Niels Basjes
c077f15831
fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +00:00
Sergei Zharinov
f4976c5d1d
refactor: Centralize logging for ensureCacheDir function (#10603) 2021-06-25 11:42:37 +00:00
Sergei Zharinov
11f89147ac
refactor: Use exec util instead of obtaining env directly (#10584) 2021-06-24 11:36:44 +02:00
Rhys Arkins
aa7f1cb952
feat: minimumConfidence (experimental, non-public) (#10313) 2021-06-23 20:19:14 +00:00
Martin Herndl
38f8b55c73
feat: add git http basic auth support (#10513)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-06-21 10:55:22 +00:00
Sebastian Poxhofer
eb8ad0c38e
feat(terraform): Implement terraform lock files (#10469) 2021-06-17 10:17:19 +00:00
Jamie Magee
637d262a25
refactor(orb): convert to class-based datasource (#10450) 2021-06-17 09:21:41 +02:00
Jamie Magee
55d23ad3b9
fix(cache): don't catch errors (#10449) 2021-06-17 07:36:34 +02:00
Rhys Arkins
5b25bf5e0c
fix: revert terraform lock file handling (#10466)
* fix: Revert "fix(manager): optimize lockfile cache handling (#10463)"

This reverts commit 713e35e88f.

* fix: Revert "fix(terraform): use path joins instead of slashes (#10461)"

This reverts commit 2776db6a2d.

* fix: Revert "feat(terraform): update terraform lock files (#8429)"

This reverts commit dab27f28c3.
2021-06-16 17:45:39 +02:00
Sebastian Poxhofer
dab27f28c3
feat(terraform): update terraform lock files (#8429) 2021-06-16 08:02:34 +00:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
Rhys Arkins
7249ee0870 fix: cache decorate log 2021-06-15 14:23:40 +02:00
Rhys Arkins
b4dc3b1950 fix(git): remove remote reset before fetch 2021-06-15 06:53:17 +02:00
Rhys Arkins
e1c7845dee
fix(git): git pull immediately after automerge (#10390)
Call git.pull() before performing a fetch, to handle the case where the default branch has been updated.

Closes #10372
2021-06-10 22:12:45 +02:00
Jamie Magee
52b63e4163
feat(cache): cache decorator for automatic caching (#10203) 2021-06-07 16:28:05 +00:00
Geraint White
bab9b36db9
Log exec error on debug level (#10341) 2021-06-07 15:48:54 +00:00
Rhys Arkins
d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Rhys Arkins
70970bbec9
fix(git): unset all remotes before fetching (#10267) 2021-06-02 08:56:11 +02:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
Rhys Arkins
d3e5c55766
fix(git): clone renovate branches to depth=5 (#10266) 2021-06-01 21:37:42 +02:00
Sergei Zharinov
a9de944eb7
fix(util): Leverage "emojibase" library for shortcode conversions (#9785)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-01 19:19:38 +00:00
Rhys Arkins
d1a951f5db fix(git): reset branch to default before fetch
Closes #10261
2021-06-01 17:02:23 +02:00
Rhys Arkins
854d0a86e8
feat(internal): use cache to delay git cloning (#10209)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-28 10:36:53 +00:00
David
56299fe581
fix: GITLAB_IGNORE_REPO_URL with relative URL (#9969)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-27 14:54:05 +02:00
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
Rhys Arkins
a091a95383
fix(fs): only ensureDir non-empty string (#10177) 2021-05-26 15:10:30 +00:00
Rhys Arkins
79592f848a
fix: Revert "refactor: localDir -> cloneDir" (#10166)
This reverts commit 0b287c763d.
2021-05-26 11:22:16 +00:00
Rhys Arkins
0b287c763d
refactor: localDir -> cloneDir (#10158) 2021-05-26 10:30:23 +02:00
Rhys Arkins
d24461cb71 fix(git): submodules search for ".path" instead of "path"
Closes #10119
2021-05-24 08:58:53 +02:00
Rhys Arkins
15fde37535
fix: Revert "feat: validate git version" (#10106)
This reverts commit 1304bc930e.
2021-05-22 09:34:51 +02:00
Rhys Arkins
1304bc930e
feat: validate git version (#9979) 2021-05-21 19:51:03 +00:00
Fredrik Blomqvist
9f894ce814
feat(git): Add gitNoVerify option (#9676)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 16:05:29 +02:00
jose-ws
dd462359b4
feat(proxy): lowercase proxy env (#10025) 2021-05-19 13:37:27 +02:00
Rhys Arkins
9ebf804d4e fix(cache): cacheDir adminConfig 2021-05-19 12:27:37 +02:00
Michael Kriese
d8f4b86b14
refactor: replace linkify-markdown (#9954)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 03:23:59 +00:00
Michael Kriese
0906e078d2
test(git): disable gpgsign (#10028) 2021-05-18 05:24:03 +00:00
Sergei Zharinov
fbbbce608e
chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Michael Kriese
9e08eaa1dc
refactor: rename Error location to validationSource (#10018) 2021-05-17 07:40:54 +00:00
Rhys Arkins
30072239d1 fix(git): gracefully handle workflows 403 2021-05-16 11:54:03 +02:00
Rhys Arkins
4ea69a1438 fix(git): err.message typo 2021-05-15 13:11:04 +02:00
Rhys Arkins
f946b7407e
fix(github): paginationField for check runs (#10003) 2021-05-15 12:14:34 +02:00
Rhys Arkins
a2a6ac94cc fix(git): defensive fileList check 2021-05-15 07:57:48 +02:00
Rhys Arkins
e42e07b609 logs: downgrade workflows warn 2021-05-14 23:30:03 +02:00
Rhys Arkins
7a22e6c07a fix(git): checkout base branch with -B before merge 2021-05-14 22:48:42 +02:00
Rhys Arkins
3742d888a2 fix(git): abort run if branch not found 2021-05-14 21:31:51 +02:00
Rhys Arkins
1edcf5fc15 fix: Revert "feat(proxy): proxy environment variables available in lowercase for child processes. (#9978)"
This reverts commit 2d9734c3da.
2021-05-14 19:37:02 +02:00
Rhys Arkins
af39170fc8 fix(git): try/catch then log mergeBranch errors 2021-05-14 18:22:29 +02:00
jose-ws
2d9734c3da
feat(proxy): proxy environment variables available in lowercase for child processes. (#9978) 2021-05-14 17:27:02 +02:00
Rhys Arkins
f28d98fb1d fix(git): skip over gitignored files when committing 2021-05-14 15:28:20 +02:00
Rhys Arkins
e8e11a97a9 fix(git): catch when ignore files cannot be committed 2021-05-14 14:17:35 +02:00
Rhys Arkins
57d075cea2 fix(git): detect workflows rejection in git 2021-05-14 14:08:04 +02:00
Rhys Arkins
302d9029bf fix(git): recheck branch list if branch not found 2021-05-14 13:09:47 +02:00
Rhys Arkins
b6e5c32f07 refactor: improve host-rules error logging 2021-05-14 12:02:56 +02:00
Rhys Arkins
241a4bf24c fix(git): gracefully handle rev-parse error when checking out branch 2021-05-14 10:31:30 +02:00
Rhys Arkins
f00413c298
feat(host-rules): use only matchHost (#9892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00:00
Rhys Arkins
a70aa6b75b
fix(git): try/catch git author check (#9967) 2021-05-12 13:06:02 +00:00
Michael Kriese
9ca604b345
refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Michael Kriese
9b458117f0
fix(package rules): wrong matchPackagePatterns addition (#9949) 2021-05-11 07:20:52 +00:00
Rhys Arkins
9aaadd1f4a
feat: sourceRepoSlug (#9916) 2021-05-08 15:57:14 +02:00
Rhys Arkins
13112b75bb
fix: separate patch branchName only if separateMinorPatch=true (#9901) 2021-05-07 10:01:16 +00:00
Rhys Arkins
fc48bdf738 test: use snapshot for host-rules 2021-05-06 14:43:11 +02:00
Rhys Arkins
89ad6401d9
fix(hostRules): domainName matching (#9884) 2021-05-06 11:30:42 +02:00
Rhys Arkins
856b28841d
feat: hostRules.matchHost (#9815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-06 07:57:44 +00:00
Rick van Galen
36af7e3488
fix(git): Trim whitespace around private key data (#9856)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-05 09:07:20 +00:00
Rhys Arkins
32b14e55b5 fix: Revert "fix(git): add -- to git rev-parse"
This reverts commit 6b706fb8e9.
2021-05-04 14:31:46 +02:00
Rhys Arkins
6b706fb8e9 fix(git): add -- to git rev-parse 2021-05-04 03:56:05 +02:00
Sergei Zharinov
b00c80a33f
fix(config): Emoji config default value (#9818) 2021-05-02 10:59:36 -07:00
Rhys Arkins
4e9e0a63ec refactor: hostRules.hosts() simplification 2021-05-01 23:34:16 +02:00
Rhys Arkins
49272cc003 chore: hostRules resolvedHost simplification 2021-05-01 23:30:24 +02:00
Rhys Arkins
52687368cb refactor: hostRules error 2021-05-01 23:18:14 +02:00
Rhys Arkins
915bd15ce9 chore: fix HostRule type 2021-05-01 22:52:10 +02:00
Rhys Arkins
0918679cf6
refactor(hostRules): precalculate resolvedHost (#9811) 2021-05-01 18:19:38 +02:00
Rhys Arkins
5246e6b34e refactor: host-rules ruleMatch -> resolvedHost 2021-05-01 16:21:59 +02:00
Sergei Zharinov
38620be343
refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Michael Kriese
00cb277bb6
fix(git): add debug (#9683) 2021-04-25 21:26:09 +02:00
Rhys Arkins
8af905e8f5 feat: split trustLevel into separate options (#9388)
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`

BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Rhys Arkins
1a1ace919e feat: remove RENOVATE_LEGACY_GIT_AUTHOR_EMAIL (#9389)
Removes RENOVATE_LEGACY_GIT_AUTHOR_EMAIL support. 

Closes #9111

BREAKING CHANGE: RENOVATE_LEGACY_GIT_AUTHOR_EMAIL is no longer supported. Use `ignoredAuthors` in config instead.
2021-04-22 08:47:58 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +02:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
f630963e66
logs: hostRules add/clear (#9644) 2021-04-20 10:52:38 +02:00
Sergei Zharinov
0355a75800
refactor(config): Move input config from util folder (#9625)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-19 15:03:04 +00:00
Sergei Zharinov
16c080fadc
refactor(util): Fix unbound methods usage (#9626) 2021-04-19 13:51:02 +00:00
Rhys Arkins
4fb024e51b refactor: elapsed time utilities 2021-04-17 09:26:28 +02:00
Rhys Arkins
03223c6016 refactor: git url functions 2021-04-16 14:46:17 +02:00
Luca Becker
34d6483257
feat(release-notes): running unemojify on release notes (#9535) 2021-04-14 11:03:08 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Nils Plaschke
63b6cf66ac
feat: introduce dockerChildPrefix option (#8613)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 10:10:25 +00:00
Rhys Arkins
98f17c31a7 fix: defensive config check in cleanup 2021-04-06 15:55:41 +02:00
Rhys Arkins
20147e30b9
feat: packageRules.matchPackagePrefixes (#9365) 2021-04-03 05:18:25 +00:00
Rhys Arkins
c1663f0bc8 fix(git): catch fatal bad config 2021-04-02 06:37:19 +02:00
Rhys Arkins
95bf948020
refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Rhys Arkins
2fb87eddcf
fix: revert npmrc handling changes (#9347) 2021-04-01 14:19:47 +02:00
Rhys Arkins
f5d4afecf7
fix(git): throw config error if branch is blocking (#9341) 2021-04-01 07:01:02 +02:00
Rhys Arkins
a67d8a4f87
fix(github): catch branch protection and raise config error (#9340) 2021-03-31 22:14:17 +02:00
Rhys Arkins
5949f39773
fix(npm): use configured npmrc (#9319) 2021-03-29 21:52:21 +02:00
Michael Kriese
a82abe1f0a
fix: add http host legacy error property (#9263) 2021-03-24 09:07:34 +00:00
Rhys Arkins
460bfe95f0 refactor: fs.renameLocalFile 2021-03-20 21:54:03 +01:00
Rhys Arkins
11454b547e
refactor: composer managerData (#9226) 2021-03-20 08:10:53 +01:00
Rhys Arkins
1185a464ae refactor: CACHE_REVISION 2021-03-19 16:18:45 +01:00
Rhys Arkins
0747c9aef4 fix: CACHE_REVISION=4
Git submodules extraction has changed.
2021-03-15 18:13:58 +01:00
Michael Kriese
40a59cc9e0
feat: use short renovate image names (#9133)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-15 13:23:38 +00:00
renovate-testing
ea0bcdd185
feat(git): Specify additional git authors to ignore (#9082) 2021-03-14 09:27:40 +01:00
Rhys Arkins
edfac73a08
refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Sergei Zharinov
3527d8b4f3
feat(util): Add lightweight parseUrl function (#9019)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-13 09:41:51 +01:00
Rhys Arkins
35940f2ca8 fix: log full repository commit, not just date 2021-03-12 14:32:44 +01:00
Rhys Arkins
9c658a21f0
Revert "feat(internal): Massage registryUrls (#9086)" (#9098) 2021-03-12 12:27:47 +01:00
renovate-testing
9c3b34dbb3
feat(internal): Massage registryUrls (#9086) 2021-03-11 19:23:57 +01:00
Michael Kriese
41fb5b1602
fix: pass docker tls env to childs (#9087) 2021-03-11 17:38:54 +01:00
Rhys Arkins
ca834fa61a
fix(github): Propagate PR already exists up (#9085) 2021-03-11 15:51:48 +01:00
Rhys Arkins
3357e6333d
refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +01:00
Rhys Arkins
3ad38954f0
fix: don’t push empty commit (#9058) 2021-03-09 23:31:41 +01:00
Michael Kriese
607b151f0e
feat(http): support custom auth types (#9053) 2021-03-09 19:25:18 +01:00
Sergei Zharinov
ccdb09fe3c
fix(go): Improve go-import content parsing (#9022) 2021-03-08 13:12:19 +00:00
Rhys Arkins
ef2a13f4f2
fix: don’t throw repository-changed from git layer (#9032) 2021-03-08 09:02:48 +00:00
Rhys Arkins
948039d52b refactor: INTERRUPTED -> TEMPORARY_ERROR 2021-03-07 21:40:40 +01:00
Sergei Zharinov
bf5cb0f87d
fix(http): Throw ExternalHostError on ECONNRESET (#9000) 2021-03-05 17:18:01 +00:00
Sergei Zharinov
39dcd84296
fix(git): Throw ExternalHostError on early EOF (#8995) 2021-03-05 17:45:30 +01:00
Rhys Arkins
1b673c9573
fix: abort branch if child process receives SIGTERM (#8992) 2021-03-04 21:27:21 +00:00
Rhys Arkins
2abc088781
fix: validate datasource URLs (#8970)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-04 06:40:08 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins
b9c8ffd5ac fix: log submodule err 2021-03-02 19:39:46 +01:00
Michael Kriese
91a7e6b660
build: remove babel (#8929) 2021-03-02 16:16:05 +00:00
Rhys Arkins
093f3d262a
fix: log git commit and push results (#8943) 2021-03-02 14:45:45 +00:00
Rhys Arkins
126979ff11
fix: remove docker setTimeout (#8940) 2021-03-02 13:01:15 +01:00
Michael Kriese
dd511f1535
test: disable git signing (#8935) 2021-03-02 08:58:40 +01:00
Michael Kriese
3be63784ef
feat: switch html parser (#8909) 2021-03-01 15:21:04 +01:00
Rhys Arkins
beaf834ba3 fix: warn for docker container remove error 2021-03-01 10:18:59 +01:00
Rhys Arkins
b0026d9e08 fix: bump CACHE_REVISION
Due to #8898
2021-02-27 16:41:57 +01:00
Rhys Arkins
4d349b4608
test: add missing httpMock.reset (#8836) 2021-02-24 11:31:59 +01:00
Rhys Arkins
76d0d42c9e
refactor: getQueryString (#8834) 2021-02-24 09:58:21 +01:00
Rhys Arkins
728082b3c3 fix(cache): correct revision 2021-02-22 19:39:33 +01:00
Rhys Arkins
7118404981
feat: matchFiles + lockFiles (#8783) 2021-02-20 14:22:50 +01:00
Rhys Arkins
d2a7147222
feat(internal): repository cache revision (#8782) 2021-02-20 09:14:08 +01:00
Rhys Arkins
6b494027b6
feat: matchFiles (#8769) 2021-02-19 16:29:50 +01:00
Rhys Arkins
32440f26a4
refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins
0869d6e8d7
refactor: remove newVersion usage (#8710) 2021-02-16 11:26:46 +01:00
Rhys Arkins
a8819c4610
refactor: fromVersion -> currentVersion (#8709) 2021-02-16 10:52:05 +01:00
Rhys Arkins
acf57144f8
refactor: remove currentVersion (#8708) 2021-02-16 09:43:38 +01:00
Rhys Arkins
fa9031f5e9 feat(internal): expand disabled error messages
Splits REPOSITORY_DISABLED into multiple
2021-02-11 13:32:29 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Michael Kriese
efab9be9b9
fix(gitlab): catch git permission error (#8629) 2021-02-10 18:28:54 +01:00
Rhys Arkins
80fd1fe0d6 refactor: move customEnvVariables to admin config 2021-02-07 22:07:16 +01:00
Taras
150092a2a5
feat(go): add support for bitbucket in go datasource (#7892) 2021-02-06 08:05:19 +01:00
Sergei Zharinov
27a494ffe2
feat(github): Shrink GraphQL nodes count on 50x errors (#8394) 2021-02-06 06:19:27 +00:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config (#8555) 2021-02-05 12:30:01 +01:00
Rhys Arkins
3756f2aec3 refactor: GlobalConfig type 2021-02-05 10:49:34 +01:00
Rhys Arkins
4e2c33f10e
feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
Rhys Arkins
df2a31c7f5
fix: remove unused binarySource=auto (#8461) 2021-02-04 12:14:34 +01:00
Rhys Arkins
6ab2b02f21
fix(git): checkout with — (#8538) 2021-02-04 11:41:23 +01:00
Rhys Arkins
89811e60ab fix: Revert "fix(git): add — after rev-parse (#8513)"
This reverts commit 51f8381e31.
2021-02-03 22:49:02 +01:00
Rhys Arkins
ef7e3c1f78 fix(git): external host error for host resolution failure 2021-02-03 22:31:01 +01:00
Rhys Arkins
62c5fa9396 logs: improve binarySource=docker constraint logging 2021-02-03 22:05:09 +01:00
Rhys Arkins
1914a2eaf7 fix: expose more fields to templates 2021-02-03 15:02:36 +01:00
Rhys Arkins
42101cf6b1 fix: expose more template options 2021-02-03 10:46:32 +01:00
Rhys Arkins
51f8381e31
fix(git): add — after rev-parse (#8513) 2021-02-03 10:30:10 +01:00
Rhys Arkins
3d86ac632f fix: include more template fields 2021-02-03 09:45:08 +01:00
Rhys Arkins
de8ea37c27
feat: warn about disallowed template variables (#8512) 2021-02-03 09:30:49 +01:00
Rhys Arkins
7c40d2652d
feat: template field filtering (#8504) 2021-02-02 18:11:27 +01:00
Rhys Arkins
89741ad99b
refactor: HttpResponse.authorization (#8470) 2021-01-30 11:41:25 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Kevin James
9e09363305
fix(auth): fix HTTP Basic auth for NOPASS indexes (#8442) 2021-01-29 06:28:52 +01:00
Artur Frysiak
e063c8f931
feat: handle GitLab push rule violation (#8416)
* feat: handle GitLab push rule violation

Closes #8414

* feat: handle GitLab push rule violation

* feat: handle GitLab push rule violation

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-27 10:17:42 +01:00
Andrey Kuznetsov
868208bfef
fix: configure signing for each repo (#8314) 2021-01-19 10:19:07 +01:00
Rhys Arkins
22245ceff7
tests: fix coverage (#8340) 2021-01-19 09:15:31 +00:00
Amos Wenger
52c70f0b2b
feat(rust): Find and update Cargo.lock for cargo workspaces (#8338) 2021-01-19 09:35:48 +01:00
Halil İbrahim Şener
207b177d60
feat: customEnvVariables (#8321)
Introduces a new option to pass custom environment variables to child processes. So that users can provide/override environment variables to influence executions, e.g. setting MAVEN_OPTS or passing credentials for private registries for the locking process.
2021-01-19 09:11:45 +01:00
Amos Wenger
b21e8a1909
feat(rust): Private crate registry support (rust/cargo) (#8083)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-17 09:18:32 +01:00
Rhys Arkins
d56ab63989
fix: pass versioning for docker getPkgReleases (#8261)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-14 12:26:49 +00:00
Michael Kriese
1b7f17f3ef
fix(azure): catch auth error (#8222) 2021-01-08 07:45:45 +00:00
Jamie Magee
6a9a312dad
fix(submodules): add support for private submodules (#8164)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-30 21:32:09 +00:00
Shunsuke Suzuki
de852ac7de
feat: support template in labels (#8138)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-30 12:27:05 +01:00
Sergei Zharinov
e3a2b32b6c
feat(github): Limit graphql results total count (#8064) 2020-12-18 12:58:19 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Sergei Zharinov
663117beab
feat(http): Support for per-host http concurrency limits (#6983) 2020-12-11 10:09:09 +01:00
renovate[bot]
6c414e7736
chore(deps): update dependency eslint-config-prettier to v7 (#7940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 09:35:56 +01:00
Sergei Zharinov
f0cc3bfad1
fix(github): Fix v3 stripping for graphql in GHE (#7944) 2020-12-10 17:44:22 +01:00
Rhys Arkins
92c8f4d499
fix(composer): don’t add vendor directory (#7937)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-10 13:47:46 +01:00
Sergei Zharinov
9c30da26de
refactor(http): Don't use obsolete URL functions with http wrappers (#7938)
* refactor(http): Remove obsolete URL functions usage
2020-12-10 11:13:58 +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
Sergei Zharinov
e18259c2a5
refactor(http): Remove URL functions from platform-specific wrappers (#7933) 2020-12-10 08:50:04 +01:00
Michael Kriese
f18b7f3504
feat(gitea): support presets (#7920)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2020-12-09 13:31:06 +01:00
Sergei Zharinov
d8df51f20e
feat(util): Add resolveBaseUrl function (#7918) 2020-12-09 13:05:31 +01:00
Sergei Zharinov
31c7d8a8c6
refactor(build): Pre-compile files imported from data folder (#7896)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-08 14:07:29 +01:00
Alex Ruffo
b7495330c0
feat: customize onboarding file name (#7866) 2020-12-07 10:14:46 +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
Michael Kriese
9ba744284f
fix(git): gracefully handle remote ref lock error (#7809) 2020-11-26 12:16:26 +01:00
Gerben Oostra
9239a4b91d
feat: Added pre-commit manager (#7662) 2020-11-24 11:09:40 +01:00
Rhys Arkins
f711be3d37 fix: add sourceUrl to branches cache 2020-11-19 15:04:15 +01:00
Rhys Arkins
5d99ff9862
refactor: convert all path to upath (#7712) 2020-11-12 21:46:08 +01:00
Sergio Zharinov
8d0f7dddd2
feat(package-rules): matchCurrentVersion regular expressions (#7684) 2020-11-12 08:21:05 +01:00
Sergio Zharinov
fe83cf914e
refactor(config): Generalize allowedVersions regex (#7683) 2020-11-10 10:12:03 +01:00
Jamie Magee
9788a0a0e3
feat(git-submodules): add cloneSubmodules configuration option (#7644) 2020-11-04 15:39:21 +01:00
Rhys Arkins
af9e9f5fbe chore: more git.silent(true) removal 2020-10-29 12:03:33 +01:00
Rhys Arkins
5701c550d7 fix(git): remove deprecated silent(true) 2020-10-29 11:53:01 +01:00
Michael Kriese
4d5168f9fc
test(git): support non default master branch (#7601) 2020-10-29 10:55:37 +01:00
Michael Kriese
30f461f7d1
fix: improve logging (#7587) 2020-10-28 13:19:33 +01:00
Michael Kriese
739a561c63
fix(logger): fix logging (#7585) 2020-10-28 11:38:28 +01:00
renovate[bot]
11434e86e4
build(deps): update dependency handy-redis to v2 (#7552) 2020-10-27 14:34:04 +01:00
Josh Soref
9aff7a955f
chore: spelling (#7499) 2020-10-20 08:49:28 +02:00
Rhys Arkins
a8fdb4e38c fix(git): try/catch isBranchStale 2020-10-19 10:14:28 +02:00
Rhys Arkins
5e38204221
fix: packageRules don’t match undefined depName (#7462) 2020-10-13 14:12:33 +02:00
Rhys Arkins
cc9d256ca5 fix(git): getBranchFiles from origin
Closes #7454
2020-10-12 22:51:09 +02:00
Rhys Arkins
43d71535b2 fix(git): robust git diff for getBranchFiles
Closes #7454
2020-10-12 13:48:04 +02:00
Rhys Arkins
c33da16aba fix(git): try/catch submodules get 2020-10-09 08:50:35 +02:00
Rhys Arkins
6dcef43d11 fix: log getBranchFiles error 2020-10-08 15:57:01 +02:00
Jamie Magee
5896d9cb37
chore(eslint): fixing some eslint warnings (#7382)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-05 18:12:01 +02:00
Rhys Arkins
0d9aa04d93 feat(git): getBranchParentSha 2020-10-02 13:22:24 +02:00
Michael Kriese
fcdb226ab8
feat(logger): dump http version (#7390) 2020-10-01 10:21:17 +02:00
Rhys Arkins
9f99c5e073 feat(internal): write branches cache 2020-09-22 13:10:07 +02:00
Rhys Arkins
36e279227b fix(git): add branchExists safety check to isBranchModified 2020-09-22 13:07:19 +02:00
Rhys Arkins
f0ba97b6c2 fix: Revert "refactor: write branches cache"
This reverts commit 266534eb72.
2020-09-22 12:20:15 +02:00
Sergio Zharinov
2299485afd
refactor(http): Prepare "util/http" for queues (#7119)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:16:21 +02:00
Rhys Arkins
266534eb72 refactor: write branches cache 2020-09-22 06:11:17 +02:00
Rhys Arkins
42e223da3b
fix(git): clone default branch to depth 10 (#7249)
Necessary for accurate detection of semantic commits.
2020-09-11 10:28:28 +02:00
Rhys Arkins
b7ac19d9bf
fix: sanitize github vulnerability alert bodies (#7246) 2020-09-10 21:57:18 +02:00
Rhys Arkins
5ba2704080
fix(git): fetch long sha for branchCommits (#7240) 2020-09-10 11:45:21 +02:00
Marek Hornak
5475f42518
fix(utils): change default maxBuffer limit to 10MB (#7209) 2020-09-10 07:00:40 +02:00
Michael Kriese
0503ad7c7a
feat: add docker image prefix (#7164)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:59:47 +02:00
renovate[bot]
2d2e95c747
chore(deps): update dependency typescript to v4 (#7092)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:26:17 +02:00
Michael Kriese
63cc26e3ea
fix(git): wrong config argument passing (#7166) 2020-09-02 18:03:45 +02:00
Rhys Arkins
1d83cbbc4b
fix(github): massage url and message in errors (#7160) 2020-09-02 09:19:50 +02:00
Sergio Zharinov
831c45397f
refactor(limits): Concise implementation for workers/global/limits.ts (#7140)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 14:47:12 +02:00
Rhys Arkins
7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins
cda4e7c21e fix: revert config cache 2020-09-01 14:23:28 +02:00
Julien Poissonnier
a2b2671370
fix(gitlab): Restore auth for versions older than 12.2 (#7155) 2020-09-01 12:42:23 +02:00
Rhys Arkins
6d24e9de78
fix(azure): pass extra clone options when fetching branch commits (#7149)
* fix(azure): pass extra clone options when fetching branch commits

Closes #7148

* more coverage
2020-09-01 09:39:10 +02:00
Rhys Arkins
92c5f2a414 chore: move cache type to init/common 2020-09-01 06:36:23 +02:00
Rhys Arkins
750cd30296 chore: remove unused defaultBranch cache 2020-09-01 06:23:59 +02:00
Rhys Arkins
8a286a4663 chore: rename RepoConfig -> RepoFileConfig 2020-09-01 06:20:26 +02:00
Tom Wieczorek
b7f215b90a
fix(git): add dashes after git log <rev> (#7144)
To fix an ambiguous argument error from git, following this notation:

    git <command> [<revision>...] -- [<file>...]
2020-08-31 19:14:32 +02:00
Julien Poissonnier
499c838fe0
feat(gitlab): Allow using an OAuth2 token for authentication (#7131)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-31 15:36:48 +02:00
Rhys Arkins
40d3316703 refactor: write repoConfig to cache 2020-08-31 12:14:10 +02:00
Rhys Arkins
0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins
9385fb557b feat: additionalBranchPrefix
Renamed from managerBranchPrefix
2020-08-31 07:47:24 +02:00
Rhys Arkins
c797865ea2 fix(git): syncBranch to ensure it has been fetched 2020-08-31 07:19:58 +02:00
Rhys Arkins
611bee9673 fix(git): try/catch fetchBranchList 2020-08-31 07:19:22 +02:00
Rhys Arkins
012561f69a
feat(git): get branch commit without cloning (#7130)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-30 22:03:58 +02:00
Rhys Arkins
80b691c807
refactor: remove platform.setBaseBranch (#7137) 2020-08-30 21:27:02 +02:00
Rhys Arkins
869806d35e chore: simplify git tests 2020-08-30 16:33:37 +02:00
Rhys Arkins
c9932d5c64 refactor: remove unused createBranch function 2020-08-30 10:03:16 +02:00
Rhys Arkins
6fdffed9d2 refactor: externalize syncBranch from branchExists 2020-08-30 09:54:54 +02:00
Rhys Arkins
4b0eb18a65 test: refactor getBranchCommit test 2020-08-30 08:58:45 +02:00
Rhys Arkins
aeef5e7baa refactor(git): use gitInitialized 2020-08-30 07:24:47 +02:00
Rhys Arkins
083f30fb36 fix(git): don’t error for git fetch failure 2020-08-30 07:21:00 +02:00
Rhys Arkins
e50c7a7759 refactor(types): git return CommitSha instead of string 2020-08-29 09:42:07 +02:00
Rhys Arkins
c1245b2d4b
feat(internal): lazy git initialization (#7006)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 10:08:39 +02:00
Sergio Zharinov
095f2f8240
refactor(util): Fix lint warnings (#7114) 2020-08-27 09:11:10 +02:00
Rhys Arkins
2dc0fd6a4c fix: deleteLocalFile only if localDir is defined 2020-08-25 09:39:03 +02:00
Rhys Arkins
4f0714677c fix(github): sanitize with and without x-access-token 2020-08-24 15:43:58 +02:00
Michael Kriese
7feff791ea
fix: prepare for simple-git 2.19 (#7074)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-24 11:21:31 +02:00
Michael Kriese
98c4a378e8
fix(bitbucket-server): handle empty repo (#7070) 2020-08-24 10:42:39 +02:00
Michael Kriese
ce5ef74ec7
feat(npm): yarn v2 lockfile support (#7047)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-21 15:01:26 +02:00
Michael Kriese
1332e1d619
fix: revert "feat: yarn2 lockfile support" (#7046) 2020-08-21 06:43:58 +02:00
Christophe Hurpeau
591a7604a2
feat: yarn2 lockfile support (#6045)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-19 14:43:18 +02:00
Michael Kriese
6474dd49e5
chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Rhys Arkins
b6af8188d1
refactor: initRepo (#7022) 2020-08-19 06:27:48 +02:00
Rhys Arkins
68c918bc18 refactor: query currentBranchSha immediately 2020-08-18 15:40:11 +02:00
Rhys Arkins
76913a1889
feat(github): support app tokens (#6859) 2020-08-17 14:14:19 +02:00
Rhys Arkins
062045168a
refactor(git): lazy sync git (#6984)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-17 13:31:53 +02:00
Michael Kriese
d92e354763
fix(git): rethrow empty repo error (#6998)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-17 12:09:29 +02:00
Rhys Arkins
a345054308 chore: reorder git.setBranchPrefix 2020-08-15 07:31:34 +02:00
Rhys Arkins
7909558a46 fix: handle workflow rejection gracefully 2020-08-14 11:56:49 +02:00
Rhys Arkins
095cb3b002 logs: log platform error message in git 2020-08-12 07:13:31 +02:00
Rhys Arkins
4990a3c658 fix: harden latest date check 2020-08-11 22:13:01 +02:00
Michael Kriese
bbea59939e
feat: add http2 option (#6957) 2020-08-11 11:53:23 +02:00
Rhys Arkins
9837ff876a fix(pip_setup): extend timeout from 5s to 30s 2020-08-11 09:57:15 +02:00
Rhys Arkins
d6fb55bec3 fix(git): loosen git clone no space detection 2020-08-11 09:32:13 +02:00
renovate[bot]
ccf286240e
chore(deps): update linters (major) (#6769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Michael Kriese
133ef0f172
fix(internal): forward legacy http url (#6872) 2020-07-29 06:39:27 +02:00
Rhys Arkins
f37697e56d
fix: ignore commit count when calculating branch modification (#6835) 2020-07-23 13:56:06 +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
Rhys Arkins
1449e8324b
feat(internal): use git to determine branch modification status (#6697)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 20:05:42 +02:00
Rhys Arkins
852b340926 refactor: git.setBranch return 2020-07-22 19:41:11 +02:00
Rhys Arkins
67a7dd4a10
refactor: remove unnecessary if from git.setBranch (#6815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 16:13:24 +02:00
Michael Kriese
698a2ed962
fix: force optional options (#6817) 2020-07-22 13:24:51 +02:00
Michael Kriese
9b4bff0051
fix(internal): fix linting (#6803) 2020-07-22 07:45:57 +02:00
renovate[bot]
340f136448
build(deps): update dependency simple-git to v2 (#6783)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-21 14:52:24 +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
Rhys Arkins
6d96d3d220
refactor: git.setBranch (#6739) 2020-07-13 07:31:22 +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
Michael Kriese
e11875e036
refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Rhys Arkins
e95bd0ba3d
feat(host-rules): add support for disabling hosts (#6715)
* feat(host-rules): support disabling hosts

Adds “enabled” to the list of recognized configuration options for hostRules. A host or domain can be disabled by setting `”enabled”: false` within the host rule. Also added presets :disabledHost() and :disableDomain().

* docs

* tests

* Update configuration-options.md

* fixes
2020-07-09 17:34:26 +02:00
Rhys Arkins
4665dbff6f
refactor: remove commitFiles from platforms (#6701)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-08 14:14:13 +02:00
Rhys Arkins
4f48cd1a4e
refactor: remove platform.getPrFiles (#6702) 2020-07-08 06:49:54 +02:00
Rhys Arkins
4459b11261
fix(cache): improve repository cache robustness (#6689) 2020-07-07 06:24:26 +02:00
Sergio Zharinov
c3fc80a285
refactor: Call 'fs-extra' functions via proxies (#6683)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-06 11:17:06 +02:00
Sergio Zharinov
50e36a1f59
refactor: Add 'ensureCacheDir` function (#6681) 2020-07-05 21:22:13 +02:00
Rhys Arkins
723aa4cf25 logs: improve repository cache logging 2020-07-05 09:17:10 +02:00
Rhys Arkins
2cdd8f4b0c refactor: simplify sync state 2020-07-05 08:28:34 +02:00
Rhys Arkins
9bdd8b53c3 refactor(git): separate init from sync 2020-07-05 08:25:21 +02:00
Rhys Arkins
7d18476d74 refactor: args -> config 2020-07-05 08:23:14 +02:00
Rhys Arkins
09186488ac logs: log depName and scheme when failling to satisfy a constraint 2020-07-05 08:22:32 +02:00
Rhys Arkins
1e0c759f3d
refactor: remove unnecessary cleanRepo() (#6671) 2020-07-04 12:48:09 +02:00
Rhys Arkins
807d48e07d
refactor: simplify util/git state (#6670)
Removes unnecessary newConfig and cwd.
2020-07-04 11:43:19 +02:00
Rhys Arkins
b60cc2c890 chore: clean up imports 2020-07-03 16:51:49 +02:00
Sergio Zharinov
1137112130
refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov
679176f26e
test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Rhys Arkins
a196db464b
fix: deleteLocalFile join (#6654) 2020-07-02 20:16:48 +02:00
Etienne
45d7d40952
fix: remove authorization header from core.windows.net requests for Azure docker registries (#6641)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-01 15:48:22 +02:00
Sergio Zharinov
d144013af1
refactor(platform): Make git to be class-less (#6635)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-01 12:45:53 +02:00
Rhys Arkins
a8caa9e3fa
fix: cache validation (#6644) 2020-07-01 09:08:00 +02:00
Rhys Arkins
7af01c5ee2 fix: set empty cache if not found 2020-07-01 08:12:36 +02:00
Rhys Arkins
d70b8c1f2f
feat: repositoryCache (#6589)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-29 15:51:22 +02:00
Rhys Arkins
a189f31b3d chore: move util/gitfs/fs 2020-06-28 12:01:57 +02:00
Rhys Arkins
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Cirno the Strongest
58f42b3273
fix(gitea): don't crash on empty body during pagination (#6598) 2020-06-27 10:25:20 +02:00
Jamie Magee
350a70f389
refactor: remove lodash, add fast-deep-equal (#6496) 2020-06-26 11:31:23 +02:00
Rhys Arkins
55625a893b
refactor: run cache -> mem cache (#6582) 2020-06-25 09:23:06 +02:00
Rhys Arkins
be37109cf6
refactor: rename globalCache to packageCache (#6580) 2020-06-25 08:32:55 +02:00
Rhys Arkins
013c63664b
refactor: remove global.renovateCache (#6579) 2020-06-24 22:33:27 +02:00
Rhys Arkins
031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins
daf2a485ab
feat: abortOnError / abortIgnoreStatusCodes (#6556) 2020-06-23 09:25:03 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins
735f6a595e refactor: util/exec use getPkgReleases 2020-06-19 10:26:07 +02:00
Rhys Arkins
a6843734ca
fix: global cache return undefined instead of null (#6530) 2020-06-17 11:09:46 +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
Sergio Zharinov
2d6c12d55a
refactor: Remove 'util/got' (#6523) 2020-06-16 14:11:02 +02:00
Sergio Zharinov
93eaeeab88
test: Use nock for tests (Part 2) (#6519) 2020-06-16 07:11:21 +02:00
Rhys Arkins
a399bbbf52 feat: log host stats per run
Closes #6357
2020-06-13 08:37:56 +02:00
Rhys Arkins
75b85eb03e refactor: http cache 2020-06-13 08:32:02 +02:00
Rhys Arkins
6c38eb359a
refactor: move auth to http module (#6502) 2020-06-13 06:17:13 +02:00
Rhys Arkins
f39d73f93f
feat(internal): apply host-rules in http module (#6501) 2020-06-12 18:15:17 +02:00
Rhys Arkins
5d624ed484
feat(internal): request caching in http module (#6497)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-12 15:01:00 +02:00
Rhys Arkins
21028a702c refactor(http): better variable names for request() 2020-06-12 13:21:28 +02:00
Rhys Arkins
9f9cf258fe
refactor: move user-agent insertion from got to http (#6492) 2020-06-12 11:46:43 +02:00
Rhys Arkins
3a4e153af0
fix(github): send versioned accept header (#6456)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-07 11:21:45 +02:00
Rhys Arkins
61ff7d732f logs(github): don’t log full err when 404 2020-06-06 10:15:34 +02:00
Michael Kriese
93e7209428
logs: fix typo (#6409) 2020-06-02 14:38:17 +02:00
Rhys Arkins
989caae2ff chore: fix docker warn message 2020-06-02 12:29:33 +02:00
Sergio Zharinov
01be64987b
refactor(bitbucket): Switch to new http wrapper (#6392)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-06-01 16:02:25 +02:00
Sergio Zharinov
b4b66183f0
refactor(bitbucket-server): Switch to new http wrapper (#6393) 2020-06-01 15:35:12 +02:00