Commit Graph

214 Commits

Author SHA1 Message Date
Michael Kriese 10671a16cc test(git): use longer jest timeout (#15422) 2022-05-03 15:11:36 +02:00
Michael Kriese 53bd90b30f refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02: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
Michael Kriese 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +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
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 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 6c9aad38a8 refactor: remove unnecessarily long paths in imports and mocks (#14429) 2022-02-26 16:09:01 +00:00
Sergei Zharinov a674f727dd feat(github): Platform-native REST-based push (#14271) 2022-02-24 15:32:46 +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
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
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
Sergei Zharinov 8070f007a6 refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +00:00
Sergei Zharinov 0424518db2 refactor(git): Delegate commit function to platform (#13823) 2022-01-28 14:50:10 +01: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
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 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 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 a920a6bd66 fix(git): coerce git version equals (#13767) 2022-01-24 10:57:03 +01: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
Sergei Zharinov 0c4d8c7180 refactor: Separate file addition and deletion data structures (#13638) 2022-01-21 06:47:49 +01:00
Rhys Arkins c4710fecc9 fix(git): skip null contents additions which aren't directories (#13560) 2022-01-14 13:51:26 +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
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