Commit graph

836 commits

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