Commit Graph

317 Commits

Author SHA1 Message Date
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
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 d09ce212c4 feat(util/git): Renovate custom refs periodic cleanup (#14211) 2022-02-15 05:50:08 +00: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
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 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 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
RahulGautamSingh 4f65b57225 refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +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
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 1a39195559 refactor(git): Extract types to separate file (#12855) 2021-11-26 20:36:17 +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 e0c1d31bc9 fix(git): catch matches more than one
Fixes #12734
2021-11-18 12:41:31 +01:00
Rhys Arkins ada343da8e fix(github): expected flush after ref listing (#12472) 2021-11-03 07:22:41 +01:00
Rhys Arkins 19ee8a318c logs: reviewers/stale debug 2021-11-02 09:52:27 +01:00
Rhys Arkins 87a8c6d7a9 fix(git): catch ambiguous argument determining default branch (#12396) 2021-10-29 14:01:42 +02: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
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
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
Martin Herndl a630a927bb feat(git): safely force push with lease (#11754) 2021-09-30 11:16:59 +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 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