Rene Pfeuffer
3e2c8b7c4b
Remove archive flag
2019-08-20 14:23:52 +02:00
Eduard Heimbuch
97c10a867c
merged
2019-07-05 08:03:55 +02:00
René Pfeuffer
c35363b79f
Store repository id in git config for each repository
...
This is needed after migration from v1 to v2 and is done in
GitV1UpdateStep.java. Therefore we hat to make the 'forAllPaths' method
in PathBasedRepositoryLocationResolver available in the interface of
RepositoryLocationResolver.
2019-07-03 07:48:06 +02:00
René Pfeuffer
7db3350439
Migrate git LFS blob directory
2019-07-01 14:17:32 +02:00
Eduard Heimbuch
8e0063e4b7
cleanup
2019-06-25 09:33:56 +02:00
Eduard Heimbuch
de8f15abf5
fix renameGlobalConfigFile / add Test
2019-06-25 09:12:57 +02:00
René Pfeuffer
56996395f1
Close file stream
2019-06-21 15:04:45 +02:00
René Pfeuffer
75cd5165e3
Add file tools for v1 xml stores
2019-06-21 14:35:57 +02:00
René Pfeuffer
9581bf946b
Enable plugins to create config stores for repository config
...
Therefore we have to
- add an API to create stores for repository ids, not only for
repositories,
- make v1 properties available in scm-core
- make sure that properties are extracted from repositories before the
update step of a plugin runs (this is done by sorting the update steps
in a way so that "core" update steps are executed before plugin update
steps with the same version)
2019-06-20 16:12:16 +02:00
René Pfeuffer
4991c2ad31
Merge with 2.0.0-m3
2019-06-13 06:34:52 +02:00
René Pfeuffer
046ccfb2a0
Merge with 2.0.0-m3
2019-06-11 15:02:02 +02:00
René Pfeuffer
72f3334afe
Merge with 2.0.0-m3
2019-06-11 13:55:43 +02:00
René Pfeuffer
815c531220
Use file system class to create repository directory
2019-06-06 13:42:57 +02:00
René Pfeuffer
77a1ad50fe
Refresh repository dao after repository.xml file was renamed
...
Without this, the XmlRepositoryDAO will be initialized at a time
where there is no repository-paths.xml file. Therefore the dao cannot
initialize with the existing repositories whose paths are kept in
repositories.xml at that time.
In this commit we trigger a refresh after the file was renamed, so
that the PathBasedRepositoryLocationResolver can read the moved
repository-paths.xml file and all repositories will be found.
2019-06-06 10:45:56 +02:00
René Pfeuffer
b274952fa9
Create explicit method to create new repository locations
2019-06-05 14:27:35 +02:00
René Pfeuffer
a5c65b4e2c
Store absolute path for directly set repository locations
2019-06-05 10:45:41 +02:00
René Pfeuffer
e52518a12b
Cleanup
...
- Mark PathBasedRepositoryLocationResolver as singleton so that other
users will get the same instance and will not overwrite the paths
set by migration.
- Set path kept by InlineMigrationStrategy in location resolver to
store the path.
- Add logging
- Add type of repository to migration web page
2019-06-05 08:21:37 +02:00
René Pfeuffer
d88b300ac8
Add update step to rename repositories.xml -> repository-paths.xml
2019-05-24 11:55:32 +02:00
René Pfeuffer
1674bc2e7d
Bootstrap migration strategies
2019-05-22 14:28:53 +02:00
René Pfeuffer
3d28f800be
Adapt unit test
2019-05-21 17:26:02 +02:00
René Pfeuffer
64fcdde749
Create v2 repository entities for old v1 repositories
2019-05-21 13:09:33 +02:00
René Pfeuffer
dad8ea5fa1
Merge with 2.0.0-m3
2019-05-20 08:51:59 +02:00
René Pfeuffer
93025629e6
Migrate verbs to roles if possible
2019-05-15 15:57:18 +02:00
René Pfeuffer
a5f1a5deaa
Merge custom roles with migration
2019-05-15 15:01:17 +02:00
René Pfeuffer
0f0401b4dd
Update modification date of repository database
2019-05-14 10:42:50 +02:00
René Pfeuffer
749c90d465
Fix missing test file
2019-05-14 10:32:46 +02:00
René Pfeuffer
e0ad5c76a7
Cleanup tests for repository dao
2019-05-14 10:08:45 +02:00
René Pfeuffer
c63510536a
Cleanup repository dao
2019-05-10 16:32:14 +02:00
René Pfeuffer
e1625bf92f
Make LocationResolver create directories
2019-05-10 15:47:57 +02:00
René Pfeuffer
a83e2813a3
Fix path computation and resolving
2019-05-10 13:26:06 +02:00
René Pfeuffer
7f4792ec49
Remove PathBasedRepositoryDAO
...
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61
Introduce abstraction for repository location
2019-05-09 14:08:18 +02:00
René Pfeuffer
c5b20566c1
Fix bugs with integration test
2019-05-07 09:20:19 +02:00
René Pfeuffer
c0760688e9
Join repository roles from the system and from the database
2019-05-03 14:47:49 +02:00
René Pfeuffer
232102716c
Create DAO for repository roles
2019-05-03 14:19:33 +02:00
Sebastian Sdorra
8bf82213b8
remove unused imports
2019-01-30 14:48:37 +01:00
Philipp Czora
38172fb8a1
Fixed test
2019-01-29 11:12:49 +01:00
Philipp Czora
ec4fd48e1e
Minor cleanup / typo fixes
2019-01-29 09:34:27 +01:00
René Pfeuffer
d011c82def
Fix unit test
2019-01-23 10:13:21 +01:00
René Pfeuffer
02b19e51ef
Fix repository permission rest interface
2019-01-23 09:47:38 +01:00
René Pfeuffer
ad65c8cd02
Use PermissionDescriptor instead of String
2019-01-17 13:21:20 +01:00
René Pfeuffer
480801d3b0
Do not keep directory for stores
2018-12-17 15:23:25 +01:00
Mohamed Karray
4dce232c43
fix the repository store directory location
2018-12-06 16:27:36 +01:00
René Pfeuffer
8952e755df
Split up store parameters into typed and untyped
2018-12-04 09:23:12 +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
René Pfeuffer
3638d3520f
Use static method for new StoreParameters instance
2018-12-03 11:28:03 +01:00
René Pfeuffer
ab8b3bae42
Merge with 2.0.0-m3
2018-12-03 08:28:47 +01:00
René Pfeuffer
9e7684f003
Peer review
2018-11-30 14:10:00 +01:00