Commit graph

136 commits

Author SHA1 Message Date
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Rhys Arkins
bcaabf5c5c chore: log branchName with git errors 2019-07-13 10:40:12 +02:00
Rhys Arkins
0a00c79d6d logs: log latest commit for base branches 2019-07-12 10:34:49 +02:00
Michael Kriese
3ef1c95a66 chore(lint): optimize linting (#4041) 2019-07-10 10:41:12 +02:00
Rhys Arkins
bd02a9d756 fix(gitFs): handle gnutls_handshake() failed 2019-07-02 07:25:01 +02:00
Rhys Arkins
941d6f14aa fix(gitFs): catch Could not write new index file error 2019-06-19 16:21:11 +02:00
Rhys Arkins
388c6010d2
test: fix circleci tests (#3927) 2019-06-12 23:05:35 +02:00
Rhys Arkins
73af6f7f3c refactor: for/of 2019-06-12 22:43:33 +02:00
Rhys Arkins
abe9464779 fix(gitFs): catch platform failures on each try/catch 2019-06-12 22:25:31 +02:00
Michael Kriese
0b063aeaa1 feat(build): use babel (#3825) 2019-05-28 11:21:17 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references (#3807) 2019-05-25 06:23:44 +02:00
Rhys Arkins
3b69de91e1 chore: remove debugger statements 2019-05-21 09:57:57 +02:00
Michael Kriese
cc52c20533 feat(bitbucket-server): convert to typescript (#3756) 2019-05-20 15:08:18 +02:00
Rhys Arkins
ee218097dc
feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Rhys Arkins
cbde6ca387 fix(gitFs): set branchExists=true after create 2019-05-17 19:47:10 +02:00
Rhys Arkins
6f7ac2c173 fix: Revert "fix(gitFs): better branch fetch"
This reverts commit 7324e4cdd9.
2019-05-17 17:56:57 +02:00
Rhys Arkins
7324e4cdd9 fix(gitFs): better branch fetch 2019-05-17 16:59:48 +02:00
Rhys Arkins
c59233819b fix(gitFs): post-commit fetch 2019-05-17 16:56:08 +02:00
Rhys Arkins
b701e15870 fix(gitFs): fetch branch after creating 2019-05-17 14:12:28 +02:00
Michael Kriese
ab5a531ada fix(gitFs): force update diverged branches (#3737) 2019-05-17 13:43:00 +02:00
Rhys Arkins
8f6e124998
fix(semantic-commits): fix lazy git semantic commit detection (#3735) 2019-05-17 10:24:29 +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
Rhys Arkins
ca6320d95d fix(gitFs): catch missing baseBranch 2019-05-16 13:38:21 +02:00
Michael Kriese
0189dd8c4b feat: convert storage to typescript (part2) (#3690) 2019-05-16 13:00:40 +02:00
Rhys Arkins
2ff1dedb85 fix(gitFs): use force checkout between branches 2019-05-15 18:51:29 +02:00
Michael Kriese
966e7c41cc feat: convert storage to typescript (#3686) 2019-05-15 15:40:29 +02:00
Rhys Arkins
0569e9e40a fix(gitFs): run git checkout/reset when setting base branch 2019-05-15 13:00:01 +02:00
Michael Kriese
e8814be71b feat(gitFs): small refactorings (#3701) 2019-05-15 12:03:28 +02:00
Michael Kriese
90bcbedb0b fix(gitFs): fix fetch arguments (#3696) 2019-05-15 09:22:47 +02:00
Michael Kriese
6b00f2928d fix(gitfs): fix fetch args again (#3684) 2019-05-14 13:05:10 +02:00
Michael Kriese
5b81a330ab fix(git): wrong fetch args (#3663) 2019-05-14 12:22:17 +02:00
Rhys Arkins
55829d0156 feat(gitFs): cache branchExists results 2019-05-05 06:00:03 +02:00
Rhys Arkins
7e7b6ab782 tests: fix coverage 2019-05-01 10:41:50 +02:00
Rhys Arkins
bab94337eb fix(gitFs): try/catch deletes 2019-05-01 09:33:44 +02:00
Rhys Arkins
af00e9fc25 logs: debug more gitFs 2019-05-01 09:32:44 +02:00
Rhys Arkins
fca98414e9 refactor: use git.raw 2019-04-30 11:02:23 +02:00
Rhys Arkins
ee0c6fb388 fix(gitFs): clean branches 2019-04-30 10:04:16 +02:00
Rhys Arkins
0c9e412ea0 feat(gitFs): support deleted files 2019-04-25 23:13:59 +02:00
Rhys Arkins
7e8b5497d2 fix(gitFs): disable signing if gitPrivateKey is missing 2019-04-12 12:44:28 +02:00
Rhys Arkins
e9c8367032 fix(gitFs): detect empty when checking latest commit 2019-04-12 10:18:10 +02:00
Rhys Arkins
f8b6eefb3a logs: log latest commit time 2019-04-11 09:35:32 +02:00
Rhys Arkins
468f1ddb4c fix(gitFs): unshift 2019-04-10 20:13:45 +02:00
Rhys Arkins
5a8bcffb68 fix(gitFs): force renovate.json add 2019-04-10 17:12:57 +02:00
Rhys Arkins
5da2aa7946 feat: gitFs signed commits
Document how to sign gitFs commits, remove the disabling of gpg signing.

Closes #3053, Closes #3472
2019-04-07 18:53:52 +02:00
Rhys Arkins
c26458f8f4 refactor: throw disable-gitfs error
Handle actions/gitfs conflict gracefully
2019-03-21 09:25:14 +01:00
Rhys Arkins
5ca91ee9f6 refactor: warn if github actions / gitfs bug found 2019-03-21 07:19:43 +01: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
75608e9f6d refactor: simpler gitAuthor log 2019-03-17 21:54:39 +01:00
Rhys Arkins
aac87e26f0 refactor(gitFs): log git author 2019-03-17 18:51:57 +01:00
Rhys Arkins
e3cd9c475b fix(gitFs): use origin base branch for branches list 2019-03-17 10:30:28 +01:00
Rhys Arkins
d8614aa785 fix(gitFs): gracefully handle git config failure 2019-03-16 07:55:39 +01:00
Rhys Arkins
37bac1e30c fix(bitbucket-server): detect empty repos
Closes #2831
2019-03-08 11:49:47 +01:00
Rhys Arkins
b66ed9add0 fix(gitFs): clean before changing branch 2019-02-24 08:39:44 +01:00
Michael Kriese
bb15977e39 fix(gitFs): set explicit remote branch (#3229)
This pr fixes the windows specific git bug by setting the remove branch name explicitly when pushing.

Closes #3204
2019-02-18 11:52:10 +00:00
Rhys Arkins
9f3bc53e1c logs: better gitFs branch deletion debug 2019-02-18 10:35:36 +01:00
Vladimir Starkov
8a841a7c81 feat(bitbucket): Bitbucket Server platform support (#2774)
Closes #2482
2019-02-07 20:04:23 +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
4675a81714 fix(gitFs): throw repository-changed
Closes #2713
2018-11-02 07:10:53 +01:00
Rhys Arkins
d728b4ac26
fix(gitFs): try/catch/throw on clone error (#2700) 2018-10-28 08:13:27 +01:00
Rhys Arkins
453f936d07
fix(gitFs): throw if remote branch missing (#2664) 2018-10-17 12:19:21 +02:00
Rhys Arkins
3ed9d36a27 refactor(gitfs): throw error if branch no longer exists 2018-10-16 16:32:45 +02:00
Rhys Arkins
6503a2dab5
fix(gitfs): handle null file list (#2564) 2018-09-27 06:48:44 +02:00
Rhys Arkins
b455e5183f logs: drop cwd initRepo 2018-09-12 06:09:17 +02:00
Rhys Arkins
3e9cc03bd1 fix(gitfs): avoid divide by zero 2018-09-10 21:19:07 +02:00
Rhys Arkins
0d87166919 refactor: measure git seconds with one decimal place 2018-09-10 21:04:54 +02:00
Rhys Arkins
bf23922b5c refactor(gitfs): use localDir 2018-09-10 16:25:55 +02:00
Rhys Arkins
9fb98db3f5 tests: fix coverage 2018-09-10 15:32:03 +02:00
Rhys Arkins
8f5fb582cb feat: platform.getRepoStatus 2018-09-10 14:01:56 +02:00
Rhys Arkins
f679e79565 refactor(gitfs): rename repoDir to cwd 2018-09-10 13:55:44 +02:00
Rhys Arkins
7109efd0aa fix(gitfs): restore remote prune origin during fetch 2018-09-10 12:19:25 +02:00
Rhys Arkins
9354b5e36c fix(gitfs): add try/catch around deleteBranch 2018-09-10 12:04:27 +02:00
Rhys Arkins
a4107b44c6 fix(gitfs): reset local branches after fetch 2018-09-10 11:59:17 +02:00
Rhys Arkins
085ce43a47 refactor(gitfs): determineBaseBranch 2018-09-10 11:49:26 +02:00
Rhys Arkins
34bb649b39 fix(gitfs): force delete local branch 2018-09-10 11:26:58 +02:00
Rhys Arkins
69ddb156c2 fix(gitfs): prune local branches after fetch
Closes #2490
2018-09-08 17:02:02 +02:00
Rhys Arkins
2e01d4247c fix(gitfs): fetch prune
Closes #2489
2018-09-08 10:09:51 +02:00
Rhys Arkins
55ded1cae1 fix(gitfs): better git dir detection 2018-09-07 21:46:31 +02:00
Rhys Arkins
832706f0d4 tests: skip gitfs.fetch 2018-09-07 13:52:23 +02:00
Rhys Arkins
6190d990c2 fix(gitfs): set new remote before fetching 2018-09-07 13:31:04 +02:00
Rhys Arkins
73df75d0c0 feat(gitfs): reuse cloned git directory
Closes #2430
2018-09-05 21:51:39 +02:00
Rhys Arkins
c4f67cf077 refactor: measure git clone time 2018-09-05 16:03:14 +02:00
Rhys Arkins
8c613a6149 refactor(gitfs): clone depth 2 2018-09-05 06:41:23 +02:00
Rhys Arkins
b54ffa5661 logs: log git fs mode 2018-09-05 06:40:30 +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