Commit Graph

1473 Commits

Author SHA1 Message Date
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
a59c352e2d update jgit to v4.5.2.201704071617-r-scm1 2017-06-01 18:03:12 +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
2a8cfc00d8 use pattern and matcher instead of string matches, to improve performance 2017-06-01 16:27:20 +02:00
Sebastian Sdorra
d9486ba8ba improve git client detection at GitPermissionFilter to include jgit 2017-06-01 16:08:07 +02:00
Sebastian Sdorra
ee4a19365e fix possible stackoverflow in git request handling 2017-06-01 16:07:18 +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
880b0499e8 use uri to decide type of request instead of user-agent 2017-05-30 14:10:43 +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
Sebastian Sdorra
f6318a3b58 fix missing commit of blob after lfs push 2017-05-30 09:21:50 +02:00
Oliver Milke
33ea2273b0 Add git-lfs support 2017-05-19 17:27:18 +02:00
Oliver Milke
9b932a325e refactor git repository matching for accepting optional .git suffix 2017-05-19 17:27:48 +02:00
Sebastian Sdorra
5cae7ab35a [maven-release-plugin] prepare for next development iteration 2017-05-17 08:36:55 +02:00
Sebastian Sdorra
95bc7607c4 [maven-release-plugin] prepare release 1.53 2017-05-17 08:36:54 +02:00
Sebastian Sdorra
1d1e239d64 [maven-release-plugin] prepare for next development iteration 2017-05-10 09:46:54 +02:00
Sebastian Sdorra
68903ea5af [maven-release-plugin] prepare release 1.52 2017-05-10 09:46:54 +02:00
Sebastian Sdorra
de5e1084e9 remove jgit repository, because it is not longer required 2017-05-09 10:44:26 +02:00
Sebastian Sdorra
1b16613840 [maven-release-plugin] prepare for next development iteration 2017-02-09 13:33:00 +01:00
Sebastian Sdorra
da3a8b7cd3 [maven-release-plugin] prepare release 1.51 2017-02-09 13:32:59 +01:00
Sebastian Sdorra
f142e1a83f merge with branch 1.x 2017-01-14 13:25:25 +01:00
Sebastian Sdorra
7e6f4e1a7f fix some warning and removed some unused imports 2017-01-14 12:05:53 +01:00
Sebastian Sdorra
c149b180a1 use newer repository client api 2017-01-14 11:48:42 +01:00
Sebastian Sdorra
fc6287fd40 remove deprecations and fixed some compiler warnings 2017-01-12 20:02:06 +01:00
Sebastian Sdorra
bad99919f4 merge with branch 1.x 2017-01-12 19:50:39 +01:00
Sebastian Sdorra
5332ac2466 refactor store api 2016-12-11 21:31:05 +01:00
Sebastian Sdorra
526d79b96d [maven-release-plugin] prepare for next development iteration 2016-11-24 14:11:36 +01:00
Sebastian Sdorra
0bbea7a47a [maven-release-plugin] prepare release 1.50 2016-11-24 14:11:36 +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
0c0bdfa376 #873 added default branch chooser to git settings 2016-11-10 20:54:20 +01:00
Sebastian Sdorra
df7b554b80 #873 implemented default branch repository property for git 2016-11-10 19:28:46 +01:00
Sebastian Sdorra
891e9ca59f merge with branch issue-870 2016-10-18 20:52:26 +02:00
Sebastian Sdorra
b69d1b3ed3 send http status code 401 unauthorized on failed git authentication, see issue #870
Revert use of GitSmartHttpTools to send unauthoried errors back to the git client, because the password is stored in the git credentials store event if the username or password was invalid. Switch back to default method, which send http status code 401 back to the client. This method does not send the customized client message, but the default one from git is good enough.
2016-09-30 21:07:23 +02: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
c4111ec73f [maven-release-plugin] prepare for next development iteration 2016-07-26 12:43:15 +02:00
Sebastian Sdorra
d2743ce5b0 [maven-release-plugin] prepare release 1.49 2016-07-26 12:43:15 +02:00
Sebastian Sdorra
f613800970 set java version to 1.7 and updated jgit 4.4.0.201606070830-r-scm1 2016-07-14 22:09:16 +02:00
Sebastian Sdorra
49b79f740f merge repository heads 2016-06-29 20:40:37 +02:00
Sebastian Sdorra
df1c0358e3 [maven-release-plugin] prepare for next development iteration 2016-06-28 13:11:14 +02:00
Sebastian Sdorra
850b846293 [maven-release-plugin] prepare release 1.48 2016-06-28 13:11:13 +02:00
Sebastian Sdorra
b5383f4073 fix loading of repository handler informations on some systems, see issue #841 2016-06-24 17:58:02 +02:00
Sebastian Sdorra
db6ef804dc [maven-release-plugin] prepare for next development iteration 2016-05-31 11:12:38 +02:00
Sebastian Sdorra
e049de11b0 [maven-release-plugin] prepare release 1.47 2016-05-31 11:12:37 +02:00
Sebastian Sdorra
b970c47d32 improve help text for git gc task 2016-05-31 10:05:17 +02:00
Sebastian Sdorra
0ef064c1fb added unit test for GitGcTask 2016-05-31 09:39:42 +02:00