Commit Graph

462 Commits

Author SHA1 Message Date
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
Sergei Zharinov 3c56aeca17 refactor(tests): Use codeBlock tagged literal (#18916) 2022-11-15 08:35:36 +00:00
RahulGautamSingh af3b2038f8 refactor: replace enums with union/object (#18903) 2022-11-14 20:55:38 +02:00
RahulGautamSingh a613692588 refactor: remove gitConflicts (#18576) 2022-11-10 19:56:46 +00:00
RahulGautamSingh d869c946d1 refactor: reduce debug metadata (#18737) 2022-11-07 11:29:02 +00:00
Flo Everett 70ad9e61c1 fix(git): git http url fix (#18705) 2022-11-01 22:37:21 +01:00
RahulGautamSingh c56588eaba refactor: convert PlatformmId to union (#18458) 2022-11-01 14:46:09 +00:00
Flo Everett 4c0ecc86fe fix(git-refs): search hostRules by http url, not ssh. (#17868) 2022-11-01 07:09:00 +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 66f35c954b fix(git): log gitPrivateKey events (#18335) 2022-10-14 13:19:37 +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
RahulGautamSingh 1657c16136 chore(lint): add object shortand rule (#18080) 2022-10-02 21:20:24 +02: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
renovate[bot] 159f33e134 build(deps): update dependency git-url-parse to v13 (#17840)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 08:33:53 +00: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 9caf45ed43 fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
RahulGautamSingh 2d71049650 test: add test for empty string (#17162) 2022-08-13 09:47:06 +00:00
Michael Kriese 321afb5ede fix(manager/gomod): fix auth (#17140)
* fix(manager/gomod): fix auth

* fix: add another github url

* test: fix coverage

* Update lib/util/git/auth.spec.ts

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
2022-08-12 05:12:30 +00: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
Gabriel-Ladzaretti 2446f446b7 fix(git/cache): getCachedBehindBaseResult returns true when branch is not modified (#16752) 2022-07-26 04:41:09 +00:00
Gabriel-Ladzaretti 24a237c15b fix(git/cache): getCachedBranchParentShaResult returns unexpected undefined (#16762) 2022-07-25 20:23:25 +02: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
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
renovate[bot] 210695c1a0 build(deps): update dependency git-url-parse to v12 (#16458)
* build(deps): update dependency git-url-parse to v12

* fix: add workaround

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 19:37:56 +00: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
Michael Kriese 0a582d31c7 refactor: fix nullable types (#16156)
* refactor: fix nullable types

* chore: revert changes

* chore: fix lint comments

* chore: revert changes
2022-06-20 16:15:40 +00: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
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 53bd90b30f refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00