Commit Graph

2035 Commits

Author SHA1 Message Date
Sergio Zharinov 831c45397f refactor(limits): Concise implementation for workers/global/limits.ts (#7140)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 14:47:12 +02:00
Rhys Arkins 7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins cda4e7c21e fix: revert config cache 2020-09-01 14:23:28 +02:00
Julien Poissonnier a2b2671370 fix(gitlab): Restore auth for versions older than 12.2 (#7155) 2020-09-01 12:42:23 +02:00
Rhys Arkins 6d24e9de78 fix(azure): pass extra clone options when fetching branch commits (#7149)
* fix(azure): pass extra clone options when fetching branch commits

Closes #7148

* more coverage
2020-09-01 09:39:10 +02:00
Rhys Arkins 92c5f2a414 chore: move cache type to init/common 2020-09-01 06:36:23 +02:00
Rhys Arkins 750cd30296 chore: remove unused defaultBranch cache 2020-09-01 06:23:59 +02:00
Rhys Arkins 8a286a4663 chore: rename RepoConfig -> RepoFileConfig 2020-09-01 06:20:26 +02:00
Tom Wieczorek b7f215b90a fix(git): add dashes after git log <rev> (#7144)
To fix an ambiguous argument error from git, following this notation:

    git <command> [<revision>...] -- [<file>...]
2020-08-31 19:14:32 +02:00
Julien Poissonnier 499c838fe0 feat(gitlab): Allow using an OAuth2 token for authentication (#7131)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-31 15:36:48 +02:00
Rhys Arkins 40d3316703 refactor: write repoConfig to cache 2020-08-31 12:14:10 +02:00
Rhys Arkins 0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins 9385fb557b feat: additionalBranchPrefix
Renamed from managerBranchPrefix
2020-08-31 07:47:24 +02:00
Rhys Arkins c797865ea2 fix(git): syncBranch to ensure it has been fetched 2020-08-31 07:19:58 +02:00
Rhys Arkins 611bee9673 fix(git): try/catch fetchBranchList 2020-08-31 07:19:22 +02:00
Rhys Arkins 012561f69a feat(git): get branch commit without cloning (#7130)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-30 22:03:58 +02:00
Rhys Arkins 80b691c807 refactor: remove platform.setBaseBranch (#7137) 2020-08-30 21:27:02 +02:00
Rhys Arkins 869806d35e chore: simplify git tests 2020-08-30 16:33:37 +02:00
Rhys Arkins c9932d5c64 refactor: remove unused createBranch function 2020-08-30 10:03:16 +02:00
Rhys Arkins 6fdffed9d2 refactor: externalize syncBranch from branchExists 2020-08-30 09:54:54 +02:00
Rhys Arkins 4b0eb18a65 test: refactor getBranchCommit test 2020-08-30 08:58:45 +02:00
Rhys Arkins aeef5e7baa refactor(git): use gitInitialized 2020-08-30 07:24:47 +02:00
Rhys Arkins 083f30fb36 fix(git): don’t error for git fetch failure 2020-08-30 07:21:00 +02:00
Rhys Arkins e50c7a7759 refactor(types): git return CommitSha instead of string 2020-08-29 09:42:07 +02:00
Rhys Arkins c1245b2d4b feat(internal): lazy git initialization (#7006)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 10:08:39 +02:00
Sergio Zharinov 095f2f8240 refactor(util): Fix lint warnings (#7114) 2020-08-27 09:11:10 +02:00
Rhys Arkins 2dc0fd6a4c fix: deleteLocalFile only if localDir is defined 2020-08-25 09:39:03 +02:00
Rhys Arkins 4f0714677c fix(github): sanitize with and without x-access-token 2020-08-24 15:43:58 +02:00
Michael Kriese 7feff791ea fix: prepare for simple-git 2.19 (#7074)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-24 11:21:31 +02:00
Michael Kriese 98c4a378e8 fix(bitbucket-server): handle empty repo (#7070) 2020-08-24 10:42:39 +02:00
Michael Kriese ce5ef74ec7 feat(npm): yarn v2 lockfile support (#7047)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-21 15:01:26 +02:00
Michael Kriese 1332e1d619 fix: revert "feat: yarn2 lockfile support" (#7046) 2020-08-21 06:43:58 +02:00
Christophe Hurpeau 591a7604a2 feat: yarn2 lockfile support (#6045)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-19 14:43:18 +02:00
Michael Kriese 6474dd49e5 chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Rhys Arkins b6af8188d1 refactor: initRepo (#7022) 2020-08-19 06:27:48 +02:00
Rhys Arkins 68c918bc18 refactor: query currentBranchSha immediately 2020-08-18 15:40:11 +02:00
Rhys Arkins 76913a1889 feat(github): support app tokens (#6859) 2020-08-17 14:14:19 +02:00
Rhys Arkins 062045168a refactor(git): lazy sync git (#6984)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-17 13:31:53 +02:00
Michael Kriese d92e354763 fix(git): rethrow empty repo error (#6998)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-17 12:09:29 +02:00
Rhys Arkins a345054308 chore: reorder git.setBranchPrefix 2020-08-15 07:31:34 +02:00
Rhys Arkins 7909558a46 fix: handle workflow rejection gracefully 2020-08-14 11:56:49 +02:00
Rhys Arkins 095cb3b002 logs: log platform error message in git 2020-08-12 07:13:31 +02:00
Rhys Arkins 4990a3c658 fix: harden latest date check 2020-08-11 22:13:01 +02:00
Michael Kriese bbea59939e feat: add http2 option (#6957) 2020-08-11 11:53:23 +02:00
Rhys Arkins 9837ff876a fix(pip_setup): extend timeout from 5s to 30s 2020-08-11 09:57:15 +02:00
Rhys Arkins d6fb55bec3 fix(git): loosen git clone no space detection 2020-08-11 09:32:13 +02:00
renovate[bot] ccf286240e chore(deps): update linters (major) (#6769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Michael Kriese 133ef0f172 fix(internal): forward legacy http url (#6872) 2020-07-29 06:39:27 +02:00
Rhys Arkins f37697e56d fix: ignore commit count when calculating branch modification (#6835) 2020-07-23 13:56:06 +02:00
Michael Kriese 5815f75f13 feat(internal): migrate to got v11 (#6725)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-22 20:15:48 +02:00