Commit graph

889 commits

Author SHA1 Message Date
Rhys Arkins
4d3c1de974
fix: Revert "feat(git): use git fetching for forkMode (#13808)" (#13831)
This reverts commit 152ad14672.
2022-01-26 13:07:17 +01:00
Rhys Arkins
35f0968c32
fix: Revert "refactor(git): remove first git checkout as redundant (#13509)" (#13829)
This reverts commit 63f8371b93.
2022-01-26 11:17:30 +00:00
Rhys Arkins
0bad22b254
chore: rename sanitize functions for better searchability (#13826) 2022-01-26 10:57:21 +01:00
Sergei Zharinov
6c7fd8df29
refactor(git): Split commitFiles function into 3 phases (#13821) 2022-01-26 09:19:08 +01:00
Sergei Zharinov
7eac592de4
refactor(git): Extract auth handling from commitFiles (#13820) 2022-01-26 05:05:21 +00:00
Sergei Zharinov
fbb0a01f15
refactor(git): Extract error handling to separate file (#13819) 2022-01-26 05:52:06 +01:00
Rhys Arkins
152ad14672
feat(git): use git fetching for forkMode (#13808) 2022-01-25 17:25:24 +00:00
Oleg Krivtsov
25e62d54a4
feat(git-submodules): handle directory artifacts in postUpgradeTasks (#13480) 2022-01-25 16:29:39 +00:00
Rhys Arkins
47d158d696
feat(poetry): support binarySource=install (#13794) 2022-01-25 15:45:28 +00:00
Rhys Arkins
6b0e896eb7
fix(buildpack): filter stable if no constraint (#13797) 2022-01-25 11:48:01 +01:00
Oleg Krivtsov
63f8371b93
refactor(git): remove first git checkout as redundant (#13509)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-25 09:50:30 +01:00
Rhys Arkins
d67436cc87
feat(bundler): support binarySource=install (#13780) 2022-01-24 16:39:22 +00:00
Rhys Arkins
a9920ff8ec
fix(git): writeGitAuthor before conflicted check (#13776) 2022-01-24 13:39:41 +00:00
Sergei Zharinov
5ca701c5ee
feat(git): Use local git for conflict detection (#12575) 2022-01-24 11:25:15 +00:00
Rhys Arkins
2e35968146
feat(pr): display latest pending update in upgrades table (#13768) 2022-01-24 11:09:27 +00:00
Rhys Arkins
a920a6bd66
fix(git): coerce git version equals (#13767) 2022-01-24 10:57:03 +01:00
Maksim
dabe3d0e29
refactor: introduce Fixtures util class (#12638)
* refactor: introduce Fixtures util class

* refactor: align yarn.spec

* refactor: move fs mocks to __mocks__ folder

* refactor: improve fs-extra mock

* refactor: move callsite to dev deps

* refactor: use fixtures class

* refactor: use fixtures class

* refactor: reduce external variables in tests

* refactor: improve Fixtures

* refactor: add type for realFs

* refactor: remove obsolete snapshot

* fix: by comments

* refactor: provide ability to spy on mocked fs methods

* refactor: fix build

* refactor: fix by comments

* refactor: add docs

* refactor: fix unit test

* refactor: return called times checks

* refactor: fix by comments

* refactor: adjust unit test

* refactor: adjust unit test

* refactor: fix unit test

* refactor: fix by comments

* refactor: fix by comments

* refactor: update jsdoc

* refactor: fix by comments

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-23 21:23:54 +00:00
Sergei Zharinov
dbe14ab438
refactor(git): Rename File interface to FileChange (#13741)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-22 08:31:32 +00:00
Rhys Arkins
d2a47ce7e7
feat(npm): support binarySource=install for pnpm (#13723) 2022-01-21 18:03:15 +01:00
Sergei Zharinov
8a5be3440f
refactor: Use eslint rule to prohibit enums (#13703)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-21 15:33:23 +01:00
elmaso1620
49f5ac0b9b
feat: expose sourceRepo, sourceRepoOrg and sourceRepoName (#13620)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-21 12:03:06 +00:00
Sergei Zharinov
0c4d8c7180
refactor: Separate file addition and deletion data structures (#13638) 2022-01-21 06:47:49 +01:00
Richard Versteeg
599958a56b
fix(bitbucket-tags): Add hostType and fallback for bitbucket-tags datasource (#13697) 2022-01-20 20:16:17 +00:00
Richard Versteeg
c3783171c2
fix(gitlab-packages): Add missing hostType for datasource calls (#13696)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-20 19:55:10 +00:00
renovate[bot]
995dd0e670
build(deps): update dependency redis to v4 (#13260)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-19 06:05:23 +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
Rhys Arkins
c4710fecc9
fix(git): skip null contents additions which aren't directories (#13560) 2022-01-14 13:51:26 +01: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
Michael Kriese
9d61bd9678
refactor: strong type http headers (#13520) 2022-01-12 22:08:09 +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
ac9b270a82
refactor(util): Refactor strict null check list (#13507)
* refactor(util): Refactor strict null check list

* Fix
2022-01-12 08:28:26 +01:00
Sergei Zharinov
1d2c9d8e70
refactor(util/lazy): Strict null check (#13455)
* refactor(util/lazy): Strict null check

* Reimplement without `never` type cast

* Revert tsconfig.json

* Fix
2022-01-11 08:36:26 +01: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
Jamie Magee
e3d213e7c5
fix(aws-machine-image): lazily load ec2client (#13437) 2022-01-09 18:57:26 +01:00
Sergei Zharinov
f32871e496
refactor(util/http): Refresh queue implementation (#13417)
* refactor(util/http): Refresh queue implementation

* Use utils for url parsing
2022-01-07 12:44:55 +01:00
Marina
7770888184
feat: Add 'and', 'or' and 'containsString' to handlebar helpers (#13341) 2022-01-06 15:24:42 +00:00
marcovmun
d723d78f1c
feat(matchBaseBranches): Support regex expression (#13322) 2022-01-05 08:53:53 +01:00
renovate[bot]
b34b099899
chore(deps): update dependency eslint-plugin-jest to v25.3.2 (#13353)
* chore(deps): update dependency eslint-plugin-jest to v25.3.2

* chore: fix test lint issues

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-04 09:57:35 +00:00
Sergei Zharinov
f0906eb75f
refactor: Add more strict null checks (#13332)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-03 08:01:31 +00:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Sergei Zharinov
15a120847b
test(lib/util): Refactor snapshot tests (#13289) 2021-12-27 11:28:10 +01:00
Michael Kriese
5e0e9ac1c2
refactor: prepare esm helper (#13250)
* refactor: prepare esm helper

* chore: fix type name
2021-12-22 17:01:28 +01:00
Michael Kriese
038969bc86
refactor: fix more esm imports (#13246) 2021-12-22 15:19:53 +01:00
Michael Kriese
c5d50f6da3
refactor: more esm imports (#13233)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 11:28:20 +00:00
Michael Kriese
2b24a98359
refactor: update imports for esm (#13230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 08:37:47 +00:00
Matt Palmer
3cdfd7a20a
fix(manager/gomod): GitLab Private Authentication (#13216) 2021-12-21 13:09:49 +00:00
Oleg Krivtsov
9b2c4b5af2
test: error 502 is handled correctly in GitHub graphql (#13167)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-21 08:16:41 +00:00
Rhys Arkins
9bf5ba7b56 chore: log docker exec image 2021-12-20 09:28:39 +01:00
RahulGautamSingh
453c249e46
fix(regex): add option to disable caching regex (#13068)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-17 09:43:33 +01:00
Rhys Arkins
7b91912680 chore: revert git timeout change 2021-12-16 16:53:56 +01:00
Sergei Zharinov
992d3f6dc3
test(util/git): Use global timeout setting (#13141) 2021-12-16 13:52:49 +01:00
Sergei Zharinov
d0d482155d
fix(util/emoji): Update emoji-related deps (#13122)
* chore(util/emoji): Update emoji-related deps

* Remove unused dep

* Fix
2021-12-15 12:49:25 +01:00
Sergei Zharinov
995df4d9a7
refactor(util/exec): Fix strict null errors (#12909)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 15:07:02 +01:00
Rhys Arkins
a86eceb7d4 fix: default empty string for replace 2021-12-10 13:55:13 +01:00
Rhys Arkins
a9d334874a
feat: binarySource=install (#12961) 2021-12-10 10:56:00 +00:00
Michael Kriese
7c4a71b679
feat!: remove node v12 and node v15 support (#12658)
BREAKING CHANGE: remove node v12 and v15 support
2021-12-09 13:44:42 +01:00
Oleg Sigida
12f467af92
chore: improve logging for stale branch rebase (#13009)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-08 14:36:09 +00:00
Oleg Krivtsov
3fa21fbf83
feat(workers/global): check git at startup (#12935) 2021-12-08 13:11:43 +01:00
Sergei Zharinov
88d348650c
fix(github): Log fieldName when shrinking page size (#12990) 2021-12-07 16:36:42 +01:00
RahulGautamSingh
597da6ff59
refactor: flagged relevant regex (#12976) 2021-12-06 15:05:37 +00:00
Rhys Arkins
2d50969550
chore: fix duplicate types import (#12973)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-06 12:41:43 +00:00
Rhys Arkins
99749f17f3
fix(npm): allow hash -d to fail (#12960) 2021-12-05 09:27:21 +01:00
Rhys Arkins
328de3fc27
refactor: exec types (#12942) 2021-12-04 07:12:27 +01:00
Rhys Arkins
38ae77eafc
refactor(npm): move hash to allToolConfig (#12946) 2021-12-03 23:13:27 +01:00
Rhys Arkins
ded642bf92
refactor(npm): move hash to toolConstraints (#12943) 2021-12-03 16:49:27 +01:00
Rhys Arkins
8c588ddbfc
feat(npm): use install-tool instead of npm global installs (#12624) 2021-12-03 12:58:39 +01:00
Rhys Arkins
508cec1015
refactor: move preCommands out of docker options (#12938) 2021-12-03 12:07:32 +01:00
Rhys Arkins
b95f608fa1
refactor: remove unused postCommands (#12939) 2021-12-03 11:00:49 +01:00
RahulGautamSingh
3a9aeb0f0a
fix: match source url prefixes compares case insensitive (#12896) 2021-12-01 14:32:56 +00:00
Sergei Zharinov
879e59fa19
refactor(util/fs): Enable strict null checks (#12904) 2021-12-01 09:12:56 +00:00
RahulGautamSingh
ee2e155f1f
fix: modify regex to be re2 compatbile (#12778)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-29 19:16:05 +00:00
Sergei Zharinov
52b2bdbb48
refactor(util/cache): Enable strict nulls (#12887) 2021-11-29 17:04:43 +01:00
Sergei Zharinov
f4dbff9bd3
refactor(util/host-rules): Strict null checks for host rules (#12868)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-28 16:31:11 +01:00
Sergei Zharinov
0bb5fcb6f7
refactor(util/regex): Enable strict null checks (#12866)
* refactor(util/regex): Enable strict null checks

* Fix coverage

* Refactor guard checks
2021-11-28 09:04:44 +01:00
Sergei Zharinov
ef51e85b7a
refactor(cache/package): Enable strict checks (#12862)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-27 12:08:24 +00:00
Sergei Zharinov
562d4ef5e9
test(util/sanitize): Improve test for sanitize function (#12860) 2021-11-27 05:54:06 +00:00
Sergei Zharinov
1a39195559
refactor(git): Extract types to separate file (#12855) 2021-11-26 20:36:17 +00:00
Oleg Krivtsov
6293641326
feat(config): add safeguard timeouts (#12604)
* Add safeguard timeouts #2804

* Fix unit tests

* Fix unit tests

* Update lib/util/exec/index.ts

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

* Changes after code review

* Fixes after merge

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-25 11:18:27 +00:00
Sergei Zharinov
96b854df90
fix(github): Log shrinked GraphQL page size (#12706) 2021-11-24 06:04:09 +00:00
Maksim
06d8c27043
refactor: global config (#12743)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-23 21:10:45 +01:00
Rhys Arkins
84b776cebe
feat: support update-lockfile for unconstrained deps (#12802) 2021-11-23 11:21:10 +00:00
Andrei Nistor
d2d356c801
feat: Add jsonnet-bundler support (#12720) 2021-11-22 15:36:48 +00:00
Rhys Arkins
2ae52b3bd9 logs: remove warn interpolation 2021-11-19 10:40:29 +01:00
Rhys Arkins
cfc4c48a47
fix(github): handle secondary rate limit (#12741) 2021-11-18 16:47:17 +01:00
Rhys Arkins
e7b841a138
feat: regex cache (#12738)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-18 14:36:05 +00:00
Rhys Arkins
e0c1d31bc9 fix(git): catch matches more than one
Fixes #12734
2021-11-18 12:41:31 +01:00
Sergei Zharinov
a7792bc5b4
refactor(typescript): Refactor more files (#12696)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-17 09:32:33 +00:00
Sergei Zharinov
49d3c18e31
fix(github): Shrink GraphQL page size and retry for any ExternalHostError (#12689) 2021-11-16 15:16:31 +00:00
Sergei Zharinov
c98b79b11a
test(typescript): Gradual migration to strict "null" and "any" checks (#12681) 2021-11-16 08:45:17 +01:00
markussiebert
c80c7f3d0c
feat: add stringToPrettyJSON handlebars function (#12643) 2021-11-14 19:49:05 +00:00
Jamie Magee
98e7029090
feat: replace deprecated dependencies with their replacements (#5558)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-12 08:10:52 +00:00
Rhys Arkins
04620d71a8
feat: evaluate buildpack constraints in exec (#12609) 2021-11-12 08:19:23 +01:00
Rhys Arkins
bf09337076
fix: enable eslint eqeqeq (#12574)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-09 07:02:59 +00:00
Rhys Arkins
c3ad246a99
fix: no-param-reassign (#12571) 2021-11-09 07:04:34 +01:00
Rhys Arkins
7e8239dd65 fix(github): better request error handling 2021-11-09 05:16:06 +01:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
Michael Kriese
7afc2b75d5
test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Sergei Zharinov
b9be8d4d6a
fix(http): Destroy some got responses explicitly to avoid onCancel errors (#12533) 2021-11-06 16:59:09 +01:00
Maksim
4aa5b52992
feat(onboarding): use .editorconfig file to get indentation style (#11456)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-05 13:25:50 +00:00
Rhys Arkins
ada343da8e
fix(github): expected flush after ref listing (#12472) 2021-11-03 07:22:41 +01:00
Michael Kriese
6be7e756fc
fix(github): log graphql errors (#12452) 2021-11-02 12:12:29 +01:00
Rhys Arkins
19ee8a318c logs: reviewers/stale debug 2021-11-02 09:52:27 +01:00
Rhys Arkins
e96d35d051 logs: downgrade error to warn 2021-11-01 16:56:43 +01:00
Tobias
87c5e8e022
feat(gomod): use git host rules as authentication for gosum updates (#12230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-31 07:06:59 +00:00
Rhys Arkins
87a8c6d7a9
fix(git): catch ambiguous argument determining default branch (#12396) 2021-10-29 14:01:42 +02:00
Feng Yu
5c24e2955a
test: add timeout option test for exec (#12278) 2021-10-28 11:42:21 +02:00
Rhys Arkins
dc445bde7a
logs: graphql nodes error query and options (#12370) 2021-10-28 10:37:09 +02:00
Tobias
53964d196d
fix(gomod): remove token encoding (#12352)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:49:36 +00: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
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Rhys Arkins
8571b3e68d
feat: binarySource=docker avoid unstable tags (#12309) 2021-10-25 13:19:17 +02:00
Rhys Arkins
36aa1d631a
fix(bitbucket): perform full clone (#12257) 2021-10-22 07:17:39 +02:00
Rhys Arkins
c62cdbfebb
fix(git): use rev-parse to get default branch (#12248) 2021-10-21 11:14:00 +00:00
Tobias
15dd2fcf02
feat(git): insteadOf environment variables for authentication (#11077)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-10-20 13:16:49 +02:00
Sergei Zharinov
eef4c2f11f
feat(github): Use native auto-merge when possible (#12045) 2021-10-20 03:31:03 +00:00
RahulGautamSingh
4b16903ff1
fix: modified regex to use RE2 (#12025)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-19 14:53:34 +02:00
Maksim
a2ceff099f
refactor: introduce enum programming-language (#12052) 2021-10-13 10:54:40 +00:00
Sergei Zharinov
9c6b79c990
refactor(github): Generic graphql request helper (#12142) 2021-10-13 11:31:22 +02:00
Jamie Magee
4461796836
refactor(crate): convert to class-based datasource (#12033) 2021-10-13 04:42:12 +00:00
Steve King
3d67812fea
fix(git): simple-git use clone rather than exit (#12092)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-11 07:03:15 +00:00
Rhys Arkins
40343d71fa
fix(git): detect github force push rejection (#12108) 2021-10-11 08:54:07 +02:00
Rhys Arkins
d6eb395300
fix(git): force add onboarding config (#12103) 2021-10-10 19:47:32 +00:00
Rhys Arkins
95003a6c04
fix(git): catch common branch push errors (#12096) 2021-10-10 17:24:54 +02:00
ylemkimon
d55650ff19
fix(git): support setting executable bit (#12085) 2021-10-09 09:02:12 +00:00
Rhys Arkins
2cf51bb681
Revert "fix(git): support setting file mode (#12081)" (#12082) 2021-10-09 08:22:00 +02:00
ylemkimon
807f124d39
fix(git): support setting file mode (#12081) 2021-10-09 07:44:33 +02:00
Maksim
1f86b71fd5
refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
jjcaballero
9fea985b95
feat: create datasource for artifactory registry (#11602) 2021-10-01 08:39:29 +00:00
Martin Herndl
a630a927bb
feat(git): safely force push with lease (#11754) 2021-09-30 11:16:59 +02:00
Jennifer Wilcox
5273cbc1cb
fix(docker): handle redundant port in image (#11852) 2021-09-24 12:13:54 +00:00
Michael Kriese
28222bf762
fix: do not fallback if explicit auth is configured (#11760)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-15 15:13:17 +00:00
Rhys Arkins
cdc083f40f
feat(config): privateKeyOld (#11653) 2021-09-10 12:47:33 +02:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins
d6d4124b11
feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
Rhys Arkins
496c2d0539
fix(git): add directories (#11643) 2021-09-08 15:32:40 +02:00
Rhys Arkins
056af57635 fix(git): don't warn on failed delete 2021-09-08 08:52:40 +02:00
Rhys Arkins
1150b8dc3f
fix(git): better github bot massage during validation (#11622) 2021-09-07 14:28:24 +02:00
Michael Kriese
8785f70b93
fix(core/http): fallback to github /gitlab hosttype (#11605)
* fix(core/http): fallback to github /gitlab hosttype

* fix: remove generic host rule

* Update lib/util/http/index.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-06 21:07:52 +02:00
Rhys Arkins
a16330642b
fix(git): commitFiles cleanup (#11570) 2021-09-06 14:59:55 +02:00
Rhys Arkins
cd4e27e761
fix(git): drop force push onboarding (#11562) 2021-09-03 11:53:57 +02:00
Rhys Arkins
6606e4117b
refactor(git): log deleted files (#11561) 2021-09-03 09:23:00 +02:00
David Straub
8fb9197d0c
fix(host-rules): support matchHost with a dot prefix (#11523)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-02 17:03:51 +00:00
Rhys Arkins
fb75b2f4dc
feat(git): make gitAuthor repo-configurable (#11539) 2021-09-02 16:19:02 +02:00
Rhys Arkins
de727153db
fix: remove global.gitAuthor (#11536) 2021-09-02 14:08:12 +02:00
Rhys Arkins
00b87dbfc9
refactor(git): gitAuthor writing (#11535) 2021-09-02 12:50:53 +02:00
Michael Kriese
0eb5c6d2cd
fix(core/changelogs): pass though known project info (#11515) 2021-09-01 13:07:55 +02:00
Sebastian Poxhofer
443b22b0ae
feat(gitlab-release): implement datasource (#11226)
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-09-01 09:36:38 +00:00
Michael Kriese
902ee02096
feat(manager:docker): use head requests (#11484) 2021-08-31 08:23:22 +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
Michael Kriese
60b3d6d933
fix(manager:docker): only pass auth header when required (#11449) 2021-08-30 15:55:16 +02:00
Rhys Arkins
dcfc9d9885
fix(travis): massage currentValue to string (#11475) 2021-08-30 11:08:48 +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
Masaki Hara
48acb427b7
feat(rubygems): support GitHub Packages (#11107) 2021-08-20 04:24:48 +00:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins
56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02:00
Rhys Arkins
9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Rhys Arkins
750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Sebastian Poxhofer
6a361c6150 feat(cache): allow caching of null values (#11014) 2021-08-17 07:57:45 +02:00
Rhys Arkins
0e91fda451 feat: centralized cache directory (#10115)
Ignore environment variables and instead use static cache directory for third party tools.

Closes #10094

BREAKING CHANGE: Renovate will now override any package manager cache locations configured in env variables.
# Conflicts:
#	lib/manager/gomod/__snapshots__/artifacts.spec.ts.snap
#	lib/manager/gomod/artifacts.ts
2021-08-17 07:57:45 +02:00
Rhys Arkins
2fe494616d feat(yarn): remove yarnrc config support (#10114)
Removes support for "yarnrc" configuration option.

Closes #10113

BREAKING CHANGE: It is no longer supported to configure a "yarnrc" override in Renovate config
2021-08-17 07:57:45 +02:00
Sergei Zharinov
28216ede05
fix: Working dir for Docker execution (#11282) 2021-08-16 12:20:08 +00:00
Sergei Zharinov
64754e6880
refactor: Split exec function to smaller blocks (#11093) 2021-08-12 16:47:33 +02:00
Kamil Kowalski
a73d82787b
feat(hex): Private Hex packages (#11168) 2021-08-12 09:34:27 +00:00
Michael Kriese
394f0bb741
test: fix http mocks (#11191) 2021-08-09 19:37:28 +02:00
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