Commit Graph

317 Commits

Author SHA1 Message Date
Jamie Magee 176282e65f chore: use node: protocol imports (#21181) 2023-03-28 21:05:36 +00:00
Rhys Arkins 8a12dc66fe feat(git): use rev-list count to determine behind base status (#21036) 2023-03-19 14:37:32 +00:00
Rhys Arkins e804fda25f refactor(git): cache list of branches per-sha per repo (#20839) 2023-03-19 08:21:28 +00:00
Rhys Arkins 25ea3d1864 fix(cache): use cached git values for branch cache (#20837) 2023-03-15 11:37:55 +00:00
Markus Schulz dd6c8e5147 feat: Move some Git commands behind a PlatformScm interface (#19327)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-22 08:18:53 +00:00
Markus Schulz 56e9270b74 feat(git): allow commit-and-push to different target branch (#19680) 2023-01-24 08:07:16 +01:00
Michael Kriese e78048dfc1 fix: no cycles (#19982) 2023-01-23 21:20:54 +00:00
Rhys Arkins c43a65f192 fix: Revert fix(git): unset git-hooks after clone (#19880) 2023-01-18 12:47:58 +01:00
Rhys Arkins 09fca82137 fix(git): unset git-hooks after clone (#19880) 2023-01-17 15:50:54 +00:00
Rhys Arkins a0cbd89033 fix(git): don’t throw when obsolete ref deletion fails (#19790) 2023-01-11 18:13:14 +01:00
Michael Kriese 054e1579c8 fix: Revert "feat(git): allow to install git-hook functions to local repositories" (#19773) 2023-01-10 20:04:04 +00:00
Markus Schulz 5b4b646668 feat(git): allow to install git-hook functions to local repositories (#19685) 2023-01-06 14:50:54 +00:00
Markus Schulz 644f559ea5 feat(git): more flexible git.hasDiff function (#19676) 2023-01-06 10:23:09 +00:00
Markus Schulz ca444bd9c1 feat(git): allow to fetch with ref-specs (#19697) 2023-01-06 09:48:16 +00:00
Markus Schulz 6b136998ed fix(git): checkout branch in a safer way (#19681) 2023-01-05 16:45:37 +00:00
Rhys Arkins ef7f520240 fix(cache): reset semanticCommits after clone (#19457) 2022-12-17 06:24:03 +00:00
RahulGautamSingh 987421b8ad feat: add pristine in branchCache (#18478) 2022-11-20 07:10:25 +00:00
Sergei Zharinov f31dacb8cd fix(git): Don't quote unicode paths (#18963)
Fixes #18805
2022-11-18 06:59:08 +00:00
RahulGautamSingh af3b2038f8 refactor: replace enums with union/object (#18903) 2022-11-14 20:55:38 +02:00
RahulGautamSingh d869c946d1 refactor: reduce debug metadata (#18737) 2022-11-07 11:29:02 +00:00
Rhys Arkins c229652e9f fix: Revert "refactor: move branch cache files to util/cache" (#18667) 2022-10-31 07:50:33 +02:00
RahulGautamSingh f04a7c75ff refactor: move branch cache files to util/cache (#18646) 2022-10-29 07:29:51 +00:00
RahulGautamSingh 3c7ca03b38 refactor: change conflict cache logic (#17898)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-26 08:11:51 +02:00
RahulGautamSingh ef8c4ac1c1 fix: parentSha logic (#18331) 2022-10-21 16:20:51 +03:00
Rhys Arkins 9653ba7420 feat(git): log cloned status at end of run (#18234) 2022-10-10 11:58:49 +02:00
RahulGautamSingh 72371cb778 feat: improve branch cache logic (#17848)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-06 07:37:47 +03:00
Sergei Zharinov 1e74764889 refactor(git): Refactor push-related error handling (#18075) 2022-10-02 06:39:43 +00:00
Colin O'Dell 5375933cea feat(git): prune branches sequentially (#18068) 2022-10-02 05:56:52 +00:00
Rhys Arkins 9d7697e44e fix(git): clone submodules after repo config (#18014) 2022-09-28 09:19:26 +02:00
RahulGautamSingh 266b5e4798 fix: create branch cache before processing branch (#17801) 2022-09-20 09:43:14 +00:00
Wade Ying Xing fe6775d73f fix(git): ensure english locale (#17849) 2022-09-18 12:08:36 +02:00
RahulGautamSingh 54b36695a7 refactor: simplify git version check (#17763)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-14 13:47:33 +02:00
Michael Kriese 2c5fd14e25 fix(git): remove wrong submodule file filter (#16848) 2022-07-29 08:32:05 +00:00
Michael Kriese 8270d5512d refactor: fix lint issues (#16779)
* refactor: fix lint issues

* Update lib/renovate.ts

* chore: revert toplevel await for ts
2022-07-26 08:32:12 +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
RahulGautamSingh 54cff9aeb8 refactor: throw error if issue with git (#16618) 2022-07-18 12:33:20 +00: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
RahulGautamSingh e10aa6aa5a fix: check cache before cloning (#16517) 2022-07-11 10:58:51 +02:00
Yun Lai 793095c1a0 fix(git): add options to getRepoStatus (#16253) 2022-07-06 05:17:39 +00:00
Sergei Zharinov c866fd06fc fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
Yun Lai ce34a5530d fix(git): add symbolic link file support to prepareCommit (#16254) 2022-06-27 07:55:25 +00:00
Sergei Zharinov bce8dcc4e4 fix(github): Correct submodule updates for platformCommit=true (#16198) 2022-06-23 09:07:43 +02:00
Sergei Zharinov 0cf4f48842 refactor: Strict null checks for all files except tests (#16071)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 11:47:07 +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
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