René Pfeuffer
accd20538e
Fix class loader for creation of vcs version string
...
Use UberClassLoader in
AbstractSimpleRepositoryHandler#getStringFromResource
Therefore pass through plugin loader
2019-02-04 14:35:51 +01:00
Sebastian Sdorra
d820605186
fixed integration of mercurial config changes of 1.x
2019-01-29 14:00:11 +01:00
Sebastian Sdorra
b231499cd0
merge with branch 1.x
2019-01-29 09:42:03 +01:00
René Pfeuffer
3021bea65a
Multiply floating store factories for type safety
2018-12-04 08:56:39 +01:00
René Pfeuffer
33f3216164
Make type optional
2018-12-03 16:30:19 +01:00
René Pfeuffer
44d99f55f2
Do no longer expose StoreParameters
2018-12-03 12:28:35 +01:00
Mohamed Karray
171f4e2f07
merge
2018-11-29 16:59:04 +01:00
Mohamed Karray
37f4a2b669
merge
2018-11-29 16:01:43 +01:00
Sebastian Sdorra
e9401624a7
re implement XmlRepositoryDAO
2018-11-28 19:49:55 +01:00
Mohamed Karray
fb79cbfd02
merge + refactor getStoreDirectory
2018-11-28 15:14:49 +01:00
René Pfeuffer
d4db39755f
Harmonize repository resolution
2018-11-27 15:31:57 +01:00
René Pfeuffer
bc629ec648
Send repository id with hg hook request
2018-11-27 14:06:11 +01:00
Mohamed Karray
7a1de0f67b
add the interface StoreFactory and refactor storeFactories
2018-11-27 11:35:02 +01:00
René Pfeuffer
00ab764dab
Store repository id in native config file
...
Hooks can read this repository type dependant config file and handle
the changes for the correct repository id
2018-11-26 17:22:17 +01:00
René Pfeuffer
c8fc673ce0
Remove hooks for internal repository id
2018-11-23 16:12:35 +01:00
René Pfeuffer
0f7e49d20f
Bring constant home
2018-11-23 15:52:21 +01:00
René Pfeuffer
3d671caada
Let dao create repository base directory before native creation
2018-11-23 15:04:59 +01:00
René Pfeuffer
aa596af880
Remove dead code
2018-11-23 13:16:18 +01:00
René Pfeuffer
e8558e07ec
Use repository dao to find repository for given directory in hooks
2018-11-23 10:13:47 +01:00
René Pfeuffer
20f5e7be1f
Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver
2018-11-22 17:06:29 +01:00
Mohamed Karray
8aaea44f1a
use relative path for repository directory
2018-11-22 07:05:17 +01:00
René Pfeuffer
72d7479beb
Merge test fix
2018-11-21 13:01:29 +01:00
René Pfeuffer
014465d94e
Fix test failures
...
Due to changes from revision e73789174bc1 no hgrc will be created
2018-11-21 13:00:21 +01:00
Mohamed Karray
bb1c84ba24
modify metadata.xml only if needed
...
introduce a defaultRepositoryDirectory in the XmlRepositoryDatabase
Bugfix: modify repository with changed location
2018-11-21 12:01:13 +01:00
Mohamed Karray
39e5c19251
merge
2018-11-15 11:28:33 +01:00
Mohamed Karray
f8ae7cedf7
Refactor the repository store implementation in order to store repositories in specific paths.
2018-11-15 10:04:16 +01:00
René Pfeuffer
f041b4ecb6
Merge with 2.0.0-m3
2018-10-25 10:15:32 +02:00
René Pfeuffer
b74fb814b8
Introduce default error object with context for not found exceptions
2018-10-18 13:12:16 +02:00
René Pfeuffer
b4c854ee99
Use more generic collection instead of list
2018-10-11 09:55:47 +02:00
René Pfeuffer
83640b9d44
Merge with 2.0.0-m3
2018-10-10 08:54:23 +02:00
Sebastian Sdorra
e71e875e4d
Merged in feature/harmonize_branches_in_changesets (pull request #81 )
...
Add branch to changeset collections
2018-10-09 09:10:20 +00:00
Sebastian Sdorra
bc240577f8
implemented new browse api for mercurial
2018-10-08 14:40:40 +02:00
René Pfeuffer
d14d029919
Fix peer review issues
2018-10-01 15:02:23 +02:00
René Pfeuffer
aed4c60296
Add missing unit tests
2018-10-01 12:58:53 +02:00
René Pfeuffer
9f80840c43
Add branch to changeset collections
...
Branch information is added to a changeset collection and therefore
removed from single changesets for git repositories. Mercurial
repositories now also set the default branch in changesets.
2018-09-26 13:19:38 +02:00
René Pfeuffer
a5dcc8cf8a
Merge with 2.0.0-m3
2018-09-14 17:47:45 +02:00
Mohamed Karray
4697c55f96
implement modification api in git, svn and hg. implement the endpoint
2018-09-13 11:57:10 +02:00
René Pfeuffer
7c09f35ac8
Rename UriInfoStore to ScmPathInfoStore
2018-09-12 08:53:15 +02:00
René Pfeuffer
f718a2ba4c
Remove direct dependency to UriInfo
2018-09-12 08:40:41 +02:00
Mohamed Karray
9b7e34b08b
add tag endpoints
2018-09-04 17:38:28 +02:00
René Pfeuffer
a0f74e3329
Replace model object exception with generic ones and migrate guice
2018-08-21 07:53:33 +02:00
Philipp Czora
a2c7fb22dd
Merged heads
2018-08-16 10:47:47 +02:00
René Pfeuffer
9babeecea6
Create and handle RevisionNotFoundException
2018-08-16 10:24:47 +02:00
René Pfeuffer
5d6fcffe5e
Clean up hg cat command
2018-08-15 09:59:35 +02:00
Philipp Czora
0199b2ccfb
Merged branch feature/branches_v2_endpoint
2018-08-09 11:53:45 +02:00
Philipp Czora
390ba29bee
Renamed tests
2018-08-08 15:14:39 +02:00
René Pfeuffer
67278582e3
Update to Mockito v2
2018-08-08 09:20:08 +02:00
Johannes Schnatterer
45822c44cb
Deliver HgConfigPackages no longer as embedded.
...
They don't have an own identity in terms of REST and its much simpler
to return a simple list instead of an _embedded list.
Also gets rid of one HgConfigPackageToDtoMapper.
2018-08-07 16:47:03 +02:00
Johannes Schnatterer
adde70f090
Fixes NPE in HgConfigPackageResource for non-existing packages.
2018-08-07 10:44:18 +02:00
Johannes Schnatterer
730c2ae358
Adds test for HgConfigAutoConfigurationResource, its DTO and mappers.
2018-08-06 17:39:05 +02:00