Commit graph

1317 commits

Author SHA1 Message Date
Rhys Arkins
cf6885f71a
fix(config): move endpoint, platform to GlobalConfig (#15864)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-03 06:43:58 +02:00
Jamie Magee
0cb19fa997
refactor(decorator): extract general purpose decorator methods (#15772) 2022-05-29 01:07:30 +02:00
Michael Kriese
e319e21dab
fix(http): cache head requests (#15695) 2022-05-23 13:34:04 +02:00
Michael Kriese
5afed40ba3
fix(manager:nuget): use git to read current lockfile (#15395) 2022-05-20 04:40:54 +00:00
Michael Kriese
8c20872ee2
fix(config): unicodeEmoji is a global only option (#15631) 2022-05-18 11:32:27 +02:00
Rhys Arkins
ff2318547d
fix: log sidecar sha (#15499) 2022-05-07 16:22:04 +02:00
Rhys Arkins
16bd06381c
fix: respect latest when selecting tool versions (#15481) 2022-05-06 09:53:28 +00:00
Michael Kriese
42824400d7
feat(manager:cocoapods): support binarySource=install for cocoapods (#15473)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-05 16:59:42 +02:00
Michael Kriese
03b28828f3
feat(manager:npm): support binarySource=install for yarn (#15414) 2022-05-04 08:32:15 +02:00
Kenneth Jorgensen
6ea0d5d6fb
feat(maven): S3 Support (#14938)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-04 05:59:14 +02:00
Michael Kriese
10671a16cc
test(git): use longer jest timeout (#15422) 2022-05-03 15:11:36 +02:00
Sergei Zharinov
608d0f6a40
feat: Create utility for function memoization (#15373)
* feat: Create utility for function memoization

* Simplify
2022-05-01 06:00:55 +02:00
Hasan Awad
e0053be5d6
fix(process/lookup): pinDigest update type (#14658) 2022-04-29 09:49:15 +02:00
Rhys Arkins
2471bcdf81
fix(package-rules): check for missing value (#15347)
* fix(package-rules): check for missing value

* fix null check
2022-04-28 06:02:55 +00:00
Michael Kriese
9f53724d90
feat(manager:npm): use local fs api (#15294) 2022-04-25 15:41:10 +02:00
Sergei Zharinov
b9dc73ac43
feat(cache): Compression for repository cache (#15289) 2022-04-24 22:15:11 +02:00
Sergei Zharinov
f911b0ba22
refactor: Class-based implementations of repo cache (#15157) 2022-04-23 04:44:28 +00:00
Michael Kriese
53bd90b30f
refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00
IKEDA Sho
2c087e86f7
feat(template): add lowercase Handlebars helper (#15212) 2022-04-21 09:26:24 +00:00
Michael Kriese
e8808f33aa
refactor(platform:bitbucket): strict null checks (#15196)
* refactor(platform:bitbucket): strict null checks

* refactor: wrong change
2022-04-20 20:55:20 +00:00
Rhys Arkins
5f1f104d65
fix(git): remove default gitTimeout (#15200) 2022-04-20 22:33:36 +02:00
Hasan Awad
9270ebad80
feat: add git timeout (#14914) 2022-04-17 18:12:42 +01:00
Michael Kriese
955b442871
refactor: strict null checks for util (#15150) 2022-04-17 11:07:22 +02:00
Sergei Zharinov
b35cf6e0aa
refactor(git): Additional nesting level for non-branch refs (#15143) 2022-04-16 09:46:50 +00:00
Michael Kriese
5cf9123017
refactor: more strict null checks (#15140) 2022-04-16 06:32:17 +00:00
Sergei Zharinov
a06e5d9ce7
refactor(cache): Separate data and metadata for repo cache (#15117) 2022-04-16 06:51:29 +01:00
Sergei Zharinov
d663859207
feat(github): Fetch PRs using cacheable REST (#14907) 2022-04-15 17:21:09 +00:00
Michael Kriese
c2adeff003
feat(manager:bundler): move constraint extraction to update artifacts (#15125)
* feat(manager:bundler): move constraint extraction to update artifacts

* fix: missing null checks

* chore: add comment

* chore: not null save transitives

* chore: fix snapshot
2022-04-15 18:30:34 +02:00
Michael Kriese
637585c5fd
feat(http): extend stats (#15104) 2022-04-14 10:47:06 +01:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Michael Kriese
443bef5c52
test: cleanup snapshot tests (#15082) 2022-04-12 15:09:19 +01:00
Rhys Arkins
e7899422fa
fix(manager/npm): deduplicate yarn upgrade strings (#15069) 2022-04-12 07:07:27 +00:00
eSamS
1da46b0672
fix(go): allow go modules in gitlab subgroups (#14831)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-08 08:16:46 +00:00
Michael Kriese
fb9303c190
feat(core:changelogs): better platform detection (#14989)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-06 14:56:40 +00:00
Rhys Arkins
1b20602682
fix(git): treat git 403 as external host error (#14981) 2022-04-06 07:47:56 +00:00
Rhys Arkins
00c74a9ca2
fix(git): treat stale rejection as REPOSITORY_CHANGED (#14829) 2022-03-28 17:44:40 +02:00
RahulGautamSingh
e64b7576e9
feat: matchSourceUrls (#14813) 2022-03-28 09:58:20 +02:00
Sergei Zharinov
e35a0e290f
fix(git): Don't call redundant fetch after git-based commit creation (#14798) 2022-03-25 16:46:03 +00:00
Rhys Arkins
ebf9087555
fix(git): git default branch fall back to remote show (#14766) 2022-03-23 05:15:30 +01:00
Rhys Arkins
90e5182bd4
refactor: split global/repo sanitizations (#14635) 2022-03-13 10:27:21 +00:00
Rhys Arkins
a892b2ae9e
feat: expose manager to templating (#14624) 2022-03-12 22:45:37 +01:00
Ivan Katliarchuk
81ebad1cfa
rebase (#14511) 2022-03-04 20:19:42 +01:00
Rhys Arkins
143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
Rhys Arkins
dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00
Rhys Arkins
f3d4e29c8a
fix(hostRules): sort by matchHost length (#14264) 2022-02-28 19:23:43 +00:00
Sergei Zharinov
4f3dfbcc18
feat(platform): Cache created comments (#14279)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-28 20:11:57 +01:00
Rhys Arkins
69c9c98cd6
fix: sanitize base64 of all secrets (#14423) 2022-02-28 17:07:09 +00:00
Rhys Arkins
564d0fec9e chore: jsdoc base64 functions 2022-02-26 21:59:49 +01:00
Rhys Arkins
6c9aad38a8
refactor: remove unnecessarily long paths in imports and mocks (#14429) 2022-02-26 16:09:01 +00:00
Rhys Arkins
b130bf5afb
refactor: base64 util functions (#14422) 2022-02-26 10:16:54 +01:00
Michael Kriese
f5cc1de36f
fix(fs): missing path normalization (#14414) 2022-02-25 14:12:43 +01:00
Oleg Krivtsov
6604de3aeb
feat(manager/nuget): migrate fs.readFile to fs.readLocalFile (#14234)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-25 11:07:31 +01:00
Sergei Zharinov
a674f727dd
feat(github): Platform-native REST-based push (#14271) 2022-02-24 15:32:46 +01:00
MaronHatoum
b121deb969
refactor(util/http): move interfaces from index.ts to types.ts (#14335)
* refactor:util/http move interfaces and types from index.ts to types.ts

* refactor:reorder imports

* refactor:move HttpError from type.ts to index.ts

* refactor:change imports after moving HttpError from type.ts to index.ts

* refactor:revert white spaces

* refactor:revert moving httpError from types.ts to index.ts

* refactor: moving httpError from types.ts to index.ts

* refactor: change import

* refactor: change import

* refactor: change import

* refactor: fix circular dependencies (lint build)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-24 08:50:17 +00:00
Ivan Katliarchuk
9a103cbb51
fix: ignore empty labels during label merge and templating (#14322) 2022-02-21 21:47:51 +01:00
Oleg Krivtsov
536fd7366f
feat(util): add gitFs retry wrapper (#13314) 2022-02-17 05:57:26 +00:00
Sergei Zharinov
1f79f22e47
fix(util/git): Skip PR update on "force-with-lease" errors (#14228) 2022-02-15 07:27:30 +00:00
Sergei Zharinov
d09ce212c4
feat(util/git): Renovate custom refs periodic cleanup (#14211) 2022-02-15 05:50:08 +00:00
Sergei Zharinov
00a2dce783
refactor(datasource/docker): Convert to class (#14194) 2022-02-13 19:13:13 +00:00
Sergei Zharinov
b0ce30b59a
refactor(datasource/nuget): Convert to class (#14140)
* refactor(datasource/nuget): Convert to class

* Fix strict nulls and obsolete URL

* Fixes

* Fix mutability

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-13 13:55:03 +00:00
Sergei Zharinov
8a7abfdf01
refactor(github): Convert datasources to class form (#14124)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-13 03:24:40 +00:00
Michael Kriese
5723be1ac5
refactor: add strict null checks (#14169) 2022-02-11 11:02:30 +01:00
Sergei Zharinov
9809ba476b
feat(git): Add helpers for platform-native commit (#13955)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-10 08:58:30 +00:00
Michael Kriese
31c63a9549
chore: fix coverage comment. (#14115) 2022-02-09 16:48:51 +01:00
Nils Plaschke
33e9e5a97d
fix: remove quotations around git insteadOF url (#14079) 2022-02-07 20:00:53 +00:00
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
Sergei Zharinov
c1555efb3b
refactor(datasource/crate): Enable strict null checks (#13915) 2022-02-07 06:14:23 +00:00
Sergei Zharinov
cdd9b44ae8
refactor: Use null-safe Boolean filtering (#14039)
* refactor: Use null-safe Boolean filtering

* Simplify and remove file
2022-02-06 16:30:53 +00:00
Sergei Zharinov
4fa5eeb8bb
refactor(util/template): Strict null checks (#14031) 2022-02-06 09:03:07 +01:00
Nils Plaschke
2eadd19a47
feat: add additional git authentication rules (#13477)
* feat: add additional git authentication rules

* feat: refactor and add additional test cases

* fix: add git envs to gomod tests

* chore: revert function renaming

* chore: use interface instead of type

* chore: add test for different protocol

* chore: add typed import

* fix: do not use quotes, it breaks the docker sidecar

* chore: use correct quotes

* chore: incorporate feedback

* chore: lint files

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-05 07:50:48 +00:00
Sergei Zharinov
99c30be29f
fix(git): Don't fetch if push has failed (#13997)
* fix(git): Don't fetch if push has failed

* Fix coverage
2022-02-04 09:45:06 +00:00
Richard Versteeg
000142e5d5
feat(changelogs): Add github-changelog and gitlab-changelog hosttypes (#13695)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-02 10:20:51 +00:00
Sergei Zharinov
8070f007a6
refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +00:00
Dan Ports
41f198c63c
feat(manager/flux): Update system manifests. (#13675) 2022-01-29 06:30:02 +00:00
Sergei Zharinov
0424518db2
refactor(git): Delegate commit function to platform (#13823) 2022-01-28 14:50:10 +01:00
Rhys Arkins
3144a48f2e
feat(helm): support binarySource=install (#13719) 2022-01-28 13:30:34 +00:00
Sergei Zharinov
d3b774e8ef
feat(git): Cache for local conflict detection (#13764)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-28 09:53:30 +01:00
renovate[bot]
859290b165
build(deps): update dependency simple-git to v3 (#13705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-27 12:22:48 +01:00
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
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