Jamie Magee
1e2c30a96a
fix: warn if force push commit has no diff ( #5099 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2020-01-17 18:11:02 +01:00
Sourav Das
e7695bde9c
refactor: convert commitFilesToBranch function params ( #5064 )
2020-01-02 09:03:46 +00:00
Jamie Magee
ae2f0f7c84
feat: Initial support for git submodules ( #4605 )
2019-11-28 20:04:54 +01:00
Michael Kriese
a26d9f3d16
test: fix failing tests ( #4870 )
2019-11-25 12:46:21 +01:00
Tim Jacomb
61c53e4755
chore: Add git config to test ( #4853 )
...
I use `useConfigOnly = true` so that I ensure I always commit with the
right email to each repo, the tests in this repo assume that global
config is set for name and email.
This is a simple fix that allows me and possibly others to run the test
suite
2019-11-22 18:16:57 +01:00
Jamie Magee
36b9c4a960
fix(storage): defer clone of submodules ( #4550 )
2019-10-04 09:10:11 +02:00
Jamie Magee
e792268cbb
feat(git): initialise submodules when cloning repos ( #4353 )
...
See https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspec
Fixes #1356
2019-09-25 11:58:52 +02:00
Rhys Arkins
c3ba80c58f
fix: throw baseBranch error from gitFs
...
Closes #4346
2019-09-05 09:47:53 +02:00
Michael Kriese
ceebedca3f
fix(git): aonly allow fast-forward merge ( #4169 )
...
fix(git): aonly allow fast-forward merge
2019-07-24 17:20:17 +02:00
Rhys Arkins
bcaabf5c5c
chore: log branchName with git errors
2019-07-13 10:40:12 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references ( #3807 )
2019-05-25 06:23:44 +02:00
Rhys Arkins
413d496648
tests: drop snapshot, replace with throws
2019-05-18 07:12:40 +02:00
Michael Kriese
ab5a531ada
fix(gitFs): force update diverged branches ( #3737 )
2019-05-17 13:43:00 +02:00
Rhys Arkins
3215d2966a
feat(gitFs): lazy fetching ( #3638 )
...
Instead of shallow cloning every branch (using —no-single-branch), we now clone only the default branch and lazy fetch the others as needed.
2019-05-17 08:10:40 +02:00
Michael Kriese
affc0116f0
fix(gitFs): fix fetch args ( #3723 )
...
fix(gitfs): fix wrong fetch arguments
2019-05-16 17:01:25 +02:00
Michael Kriese
7114260db6
test(gitFs): convert tests to typescript ( #3719 )
2019-05-16 13:42:25 +02:00
Michael Kriese
0189dd8c4b
feat: convert storage to typescript (part2) ( #3690 )
2019-05-16 13:00:40 +02:00
Rhys Arkins
55829d0156
feat(gitFs): cache branchExists results
2019-05-05 06:00:03 +02:00
Rhys Arkins
0c9e412ea0
feat(gitFs): support deleted files
2019-04-25 23:13:59 +02:00
mohd hassaan
3ba6d79458
tests: Improve error handling test cases ( #3559 )
2019-04-19 22:04:37 +02:00
Rishabh Jain
98174d4e37
tests: Optimise jest rules to best practices ( #3438 )
...
Closes #2028
2019-04-02 16:59:27 +02:00
Rhys Arkins
07598efa37
fix: move git author logic to global worker and validate ( #3410 )
2019-03-19 17:21:19 +01:00
Rhys Arkins
5b43931aab
fix(gitFs): use sha for non-master branches
2018-12-23 08:46:09 +02:00
Ayoub Kaanich
164b9af513
feat: gitFs over SSH ( #2768 )
...
Support setting git clone protocol `http`, `https` or `ssh`.
Config name: `gitFsProtocol`.
Platform independent.
Closes #2708
2018-11-08 13:21:36 +01:00
Rhys Arkins
3ed9d36a27
refactor(gitfs): throw error if branch no longer exists
2018-10-16 16:32:45 +02:00
Rhys Arkins
dda0bade29
refactor: use single localDir per repo ( #2505 )
2018-09-12 06:30:01 +02:00
Rhys Arkins
bf23922b5c
refactor(gitfs): use localDir
2018-09-10 16:25:55 +02:00
Rhys Arkins
73df75d0c0
feat(gitfs): reuse cloned git directory
...
Closes #2430
2018-09-05 21:51:39 +02:00
Ayoub Kaanich
ce5f434b56
feat: Git FS ( #2323 )
...
Methods to support performing Git operation using filesystem instead of web API. GitHub only and experimental only. Usage: define env variable `RENOVATE_GIT_FS`.
Closes #1925
2018-08-25 15:50:49 +02:00