Commit graph

869 commits

Author SHA1 Message Date
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
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