Commit Graph

180 Commits

Author SHA1 Message Date
Gabriel-Ladzaretti 2446f446b7 fix(git/cache): getCachedBehindBaseResult returns true when branch is not modified (#16752) 2022-07-26 04:41:09 +00:00
RahulGautamSingh 9778ca67d9 feat: use getBranchParentSha cached result (#16724) 2022-07-24 19:49:39 +02:00
RahulGautamSingh 93707c1ed7 feat: use isBranchBehindBase cached result (#16595) 2022-07-21 07:48:02 +02:00
Michael Kriese 47b9493fe2 test(git): raise timeout to 60s (#16599) 2022-07-15 16:47:39 +02:00
RahulGautamSingh c7507255b7 refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
RahulGautamSingh f506580e40 fix: add repoCache-check before cloning (#16533) 2022-07-15 09:09:08 +02:00
Michael Kriese 62d5d670bf test(git): tmp dir can be missing (#16585) 2022-07-14 16:17:19 +03:00
Yun Lai 793095c1a0 fix(git): add options to getRepoStatus (#16253) 2022-07-06 05:17:39 +00:00
Yun Lai ce34a5530d fix(git): add symbolic link file support to prepareCommit (#16254) 2022-06-27 07:55:25 +00:00
RahulGautamSingh 3d31fa371d refactor(lib/util): strict null check for test files (#15812)
* add types for tmp

* expand files in lib/util

* update yarn lock

* Update tsconfig.strict.json

* util/exec

* util/git

* util/http

* Revert "util/exec"

This reverts commit 96cf479a1b.

* update strict.json

* redo util/exec

* revert util/git

* util/merge-confidence

* update util/git

* util/package-rules

* fix util/git

* util/template

* util/

* revert extras

* rm newline

* add tmp back

* apply suggestion from review

* util/cache

* more changes

* Update tsconfig.strict.json

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Michael Kriese 10671a16cc test(git): use longer jest timeout (#15422) 2022-05-03 15:11:36 +02: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 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00: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
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 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 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
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
Sergei Zharinov 5ca701c5ee feat(git): Use local git for conflict detection (#12575) 2022-01-24 11:25:15 +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
Sergei Zharinov 0c4d8c7180 refactor: Separate file addition and deletion data structures (#13638) 2022-01-21 06:47:49 +01:00
Sergei Zharinov 15a120847b test(lib/util): Refactor snapshot tests (#13289) 2021-12-27 11:28:10 +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
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
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
Michael Kriese 7afc2b75d5 test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Oleg Krivtsov 29dde2f694 test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Rhys Arkins 36aa1d631a fix(bitbucket): perform full clone (#12257) 2021-10-22 07:17:39 +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
Rhys Arkins d6d4124b11 feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
Rhys Arkins de727153db fix: remove global.gitAuthor (#11536) 2021-09-02 14:08:12 +02: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 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
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
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 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
Michael Kriese 0906e078d2 test(git): disable gpgsign (#10028) 2021-05-18 05:24:03 +00:00