Commit Graph

462 Commits

Author SHA1 Message Date
Sergei Zharinov 992d3f6dc3 test(util/git): Use global timeout setting (#13141) 2021-12-16 13:52:49 +01: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
Michael Kriese 7afc2b75d5 test: fix lint (#12551) 2021-11-08 13:16:58 +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
Tobias 87c5e8e022 feat(gomod): use git host rules as authentication for gosum updates (#12230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-31 07:06:59 +00:00
Rhys Arkins 87a8c6d7a9 fix(git): catch ambiguous argument determining default branch (#12396) 2021-10-29 14:01:42 +02:00
Tobias 53964d196d fix(gomod): remove token encoding (#12352)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:49:36 +00: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
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
Rhys Arkins c62cdbfebb fix(git): use rev-parse to get default branch (#12248) 2021-10-21 11:14:00 +00:00
Tobias 15dd2fcf02 feat(git): insteadOf environment variables for authentication (#11077)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-10-20 13:16:49 +02: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 1150b8dc3f fix(git): better github bot massage during validation (#11622) 2021-09-07 14:28:24 +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
Rhys Arkins 6606e4117b refactor(git): log deleted files (#11561) 2021-09-03 09:23:00 +02:00
Rhys Arkins fb75b2f4dc feat(git): make gitAuthor repo-configurable (#11539) 2021-09-02 16:19:02 +02:00
Rhys Arkins de727153db fix: remove global.gitAuthor (#11536) 2021-09-02 14:08:12 +02:00
Rhys Arkins 00b87dbfc9 refactor(git): gitAuthor writing (#11535) 2021-09-02 12:50:53 +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
Maksim 42f6c5b295 fix(bitbucket-server): handle push rejection properly (#11154) 2021-08-07 16:11:57 +00:00
Rhys Arkins f0e1070299 fix(gomod): revert auth changes (#11021) 2021-07-30 10:23:35 +00:00
Tobias 9237127be2 chore(go): add support for authenticated go git from source (#10750) 2021-07-14 08:32:30 +00:00
Michael Kriese f0e5853b46 fix(git): convert to config validation errors (#10731) 2021-07-06 10:53:11 +02:00
Rhys Arkins ae3e868ae2 fix(git): fetch to depth=5 (#10704) 2021-07-05 05:28:05 +00:00
Martin Herndl 38f8b55c73 feat: add git http basic auth support (#10513)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-06-21 10:55:22 +00:00
Rhys Arkins b4dc3b1950 fix(git): remove remote reset before fetch 2021-06-15 06:53:17 +02:00
Rhys Arkins e1c7845dee fix(git): git pull immediately after automerge (#10390)
Call git.pull() before performing a fetch, to handle the case where the default branch has been updated.

Closes #10372
2021-06-10 22:12:45 +02:00
Rhys Arkins 70970bbec9 fix(git): unset all remotes before fetching (#10267) 2021-06-02 08:56:11 +02:00
Rhys Arkins d3e5c55766 fix(git): clone renovate branches to depth=5 (#10266) 2021-06-01 21:37:42 +02:00
Rhys Arkins d1a951f5db fix(git): reset branch to default before fetch
Closes #10261
2021-06-01 17:02:23 +02:00