Commit Graph

55 Commits

Author SHA1 Message Date
Sebastian Sdorra
b17a23ddc8 added option to disallow non fast-forward git pushes 2017-07-06 10:13:11 +02:00
Sebastian Sdorra
b7568ea919 introducing new ExtensionPoint for repository path matching
The new ExtensionPoint was introduced to  remove the tight coupling between the DefaultRepositoryManager and the GitRepositoryHandler.
Git has now its own RepositoryPathMatcher which allow the matching of repository with .git or without .git extension.
2017-06-06 10:46:44 +02:00
Sebastian Sdorra
58035845ce improve GitRepositoryResolver to allow requests to repositories which ends with .git, the resolver will automatically remove the .git extension and resolves the repository 2017-06-06 10:43:29 +02:00
Sebastian Sdorra
6eb480fe84 git repository client should return the work tree as working copy instead of .git directory 2017-06-06 10:41:36 +02:00
Sebastian Sdorra
1effc9c29b remove all items from lfs blob store, if the corresponding repository was removed 2017-06-01 17:28:59 +02:00
Sebastian Sdorra
d9486ba8ba improve git client detection at GitPermissionFilter to include jgit 2017-06-01 16:08:07 +02:00
Sebastian Sdorra
2af11b1f9c relax git lfs write request check and improved tests for GitPermissionFilter 2017-06-01 10:11:42 +02:00
Sebastian Sdorra
8b92175fbc improved structure of GitUserAgentProvider and added more unit tests 2017-05-30 12:05:01 +02:00
Sebastian Sdorra
964973d8f7 added jgit detection to GitUserAgentProvider, to fix integration tests 2017-05-30 09:48:12 +02:00
Oliver Milke
33ea2273b0 Add git-lfs support 2017-05-19 17:27:18 +02:00
Sebastian Sdorra
c149b180a1 use newer repository client api 2017-01-14 11:48:42 +01:00
Sebastian Sdorra
5cb32b268f #873 clear repository caches, if the git default branch has changed 2016-11-10 21:56:27 +01:00
Sebastian Sdorra
df7b554b80 #873 implemented default branch repository property for git 2016-11-10 19:28:46 +01:00
Sebastian Sdorra
5c5d249063 merge with branch issue-865 2016-09-30 19:46:03 +02:00
Sebastian Sdorra
9fad94403a do not collect the changesets for the whole branch, if only a git tag was pushed 2016-09-28 14:52:18 +02:00
Sebastian Sdorra
8591ced68d implemented new HookTagProvider api for git 2016-09-28 14:28:38 +02:00
Sebastian Sdorra
d38435c13a fix npe when GitHookBranchProvider tries to collect a tag as branch, see issue #865 2016-09-28 11:05:00 +02:00
Sebastian Sdorra
0ef064c1fb added unit test for GitGcTask 2016-05-31 09:39:42 +02:00
Sebastian Sdorra
a9697c7c83 #801 added implmentation for running git gc in an configurable interval 2016-05-25 16:33:34 +02:00
Sebastian Sdorra
e5184ac6a0 merge with branch issue-627 2015-02-10 20:50:06 +01:00
Sebastian Sdorra
a6ecd7ba00 implement push/pull for remote urls 2014-11-01 12:32:21 +01:00
Sebastian Sdorra
8e608d2439 created small user-agent detection framework to choose the right encoding for basic authentication 2014-10-17 15:43:28 +02:00
Sebastian Sdorra
85b9a1d1f6 improve unit tests for git remote command 2013-08-23 14:52:35 +02:00
Sebastian Sdorra
6caa4e710b implement new hook api for git repositories 2013-07-21 17:35:44 +02:00
Sebastian Sdorra
345392d309 fix license headers 2013-05-30 09:29:28 +02:00
Sebastian Sdorra
2818ed1a76 count pushed and pulled changesets 2013-05-26 10:52:31 +02:00
Sebastian Sdorra
42952518f5 fix missing git hooks on push 2013-05-19 12:18:45 +02:00
Sebastian Sdorra
a2999c9ad6 fix bug in git push command and added unit test for git push 2013-05-10 16:39:49 +02:00
Sebastian Sdorra
0cf6a71f7b added unit test for git outgoing command 2013-05-10 15:13:13 +02:00
Sebastian Sdorra
2345bf3a9c added unit test for git incoming command 2013-05-10 14:46:19 +02:00
Sebastian Sdorra
961c6f7f02 fix license headers 2013-02-10 14:55:35 +01:00
Sebastian Sdorra
c358a9c50f fix path traversal vulnerability in git changelog api, see issue #319 2013-01-28 09:57:51 +01:00
Sebastian Sdorra
cc4604b60f implement recursive option for git browse command 2013-01-19 13:09:58 +01:00
Sebastian Sdorra
a1309d4c54 do not strip git ids 2012-09-19 20:07:20 +02:00
Sebastian Sdorra
bc34f85a1d fix lincense headers 2012-08-12 21:55:18 +02:00
Sebastian Sdorra
5dd684973a read provider implementations from classpath 2012-07-15 16:23:47 +02:00
Sebastian Sdorra
ac5fab3e8d allow multiple provider implementations 2012-07-15 16:20:18 +02:00
Sebastian Sdorra
276710ca32 implement close method 2012-07-15 15:59:01 +02:00
Sebastian Sdorra
de01c03642 implement git push command 2012-07-14 17:19:35 +02:00
Sebastian Sdorra
4ec9cdccbc start implementation of repository client api for git 2012-07-14 17:08:50 +02:00
Sebastian Sdorra
b1904c6615 fix get range from git log command 2012-07-01 15:23:46 +02:00
Sebastian Sdorra
04939d5a4d update jgit to version 2.0.0.201206130900-r 2012-06-26 21:25:57 +02:00
Sebastian Sdorra
cb16d451ed fix license headers 2012-06-24 17:59:04 +02:00
Sebastian Sdorra
13c6eb978c improve performance of git repository api 2012-06-21 19:56:35 +02:00
Sebastian Sdorra
4a5fd4fb8c added unit test for git get all with paging 2012-06-16 12:54:04 +02:00
Sebastian Sdorra
f66c81284a create basic test class for zipped repository tests 2012-06-13 10:32:48 +02:00
Sebastian Sdorra
eecaa04f05 added unit test for git blame command 2012-06-12 14:44:08 +02:00
Sebastian Sdorra
293e585d47 fix unit tests for git commands 2012-06-12 14:30:25 +02:00
Sebastian Sdorra
94f46d587e improve unit test repository 2012-06-11 17:37:37 +02:00
Sebastian Sdorra
8f6bbb8eb5 added unit tests for git browse command 2012-06-11 17:15:14 +02:00