René Pfeuffer
bd3671b428
Use repository specific work dirs ( #1510 )
...
With this change, work dirs are created in the
directory of the repository and no longer in the
global scm work dir directory. This is relevant due
to two facts:
1. Repositories may contain confidential data and therefore
reside in special directories (that may be mounted on
special drives). It may be considered a breach when these
directories are cloned or otherwise copied to global
temporary drives.
2. Big repositories may overload global temp spaces. It may be
easier to create special drives with more space for such
big repositories.
2021-01-28 12:53:39 +01:00
Eduard Heimbuch
0046c78b40
Git import and export ( #1507 )
...
* create git bundle command
* create git unbundle command
* Apply suggestions from code review
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com >
2021-01-28 12:35:18 +01:00
Eduard Heimbuch
d91c71ace1
Add the repository import and export with metadata for Subversion repositories ( #1501 )
...
* Add store exporter to collect the repository metadata
* Add EnvironmentInformationXmlGenerator
* Collect export data and put into compressed tar archive output stream
* Create full repository export endpoint.
* Add full repository export to ui
* Ignore irrelevant files from config store directory
* write metadata stores to file since a baos could teardown the server memory
* Migrate store name for git lfs files (#1504 )
Changes the directory name for the git LFS blob store by
removing the repository id from the store name.
This is necessary for im- and exports of lfs blob stores,
because the original name had the repository id as a part
of it and therefore the old store would not be found when
the repository is imported with another id.
Existing blob files will be moved to the new store location
by an update step.
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com >
* Introduce util for migrations (#1505 )
With this util it is more simple to rename
or delete stores.
* Rename files in export
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com >
2021-01-28 11:40:35 +01:00
Eduard Heimbuch
4fb42de0ca
Fix unit test
2021-01-26 14:32:03 +01:00
Eduard Heimbuch
d737c3aa9f
Fix unit test
2021-01-26 12:55:01 +01:00
Sebastian Sdorra
c1aa851c72
Migrate plugins
2021-01-14 11:55:27 +01:00
Florian Scholdei
214cf527d4
Feature/harmonize translation keys ( #1478 )
...
Harmonize translation keys
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com >
2020-12-16 11:24:13 +01:00
René Pfeuffer
e62a598aa2
Fix initialization bug if master set as default branch
...
Fixes issue https://github.com/scm-manager/scm-manager/issues/1467
where initialization fails when master is set as default branch.
2020-12-07 15:14:01 +01:00
René Pfeuffer
eaf59f91c4
Harmonize logging string for repositories
2020-12-04 11:48:32 +01:00
Eduard Heimbuch
60cdc6f8cf
Merge branch 'develop' into feature/import_git_from_url
2020-12-02 14:39:45 +01:00
Eduard Heimbuch
7db33d2e65
Mind review findings
2020-12-02 10:47:48 +01:00
Konstantin Schaper
967de2160c
fix sonarqube warnings
2020-12-02 10:11:53 +01:00
Konstantin Schaper
2fa4972883
fix git tag command unit test
2020-12-02 09:39:17 +01:00
René Pfeuffer
121e7bd638
Fix minor issues
2020-12-01 18:19:23 +01:00
Konstantin Schaper
9ec8b4efac
fix review findings
2020-12-01 15:16:55 +01:00
Konstantin Schaper
3b3b8749b1
fix sonarlint issue
2020-12-01 09:13:47 +01:00
René Pfeuffer
8cd2c3f493
Use injector
2020-11-30 17:54:56 +01:00
René Pfeuffer
12fb2db0da
Expose fact that git implements tag command
2020-11-30 16:47:28 +01:00
Konstantin Schaper
8986e3d378
Merge branch 'develop' into feature/manage-tags
...
# Conflicts:
# scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/repository/spi/HgRepositoryServiceProvider.java
2020-11-30 14:18:05 +01:00
Konstantin Schaper
ebc1120182
Merge branch 'feature/manage-tags' of github.com:scm-manager/scm-manager into feature/manage-tags
2020-11-29 20:10:14 +01:00
Konstantin Schaper
0f7df6d8a8
fix sonarqube finding
2020-11-29 20:09:59 +01:00
René Pfeuffer
8ca64c3440
Fix signature check for git tags
2020-11-27 13:35:54 +01:00
Eduard Heimbuch
275ca49f71
Mark old import handler api as deprecated
2020-11-27 13:30:01 +01:00
Konstantin Schaper
6652a039dd
fix unit tests
2020-11-27 12:40:02 +01:00
Eduard Heimbuch
76cf2d801a
Merge branch 'develop' into feature/import_git_from_url
2020-11-26 14:01:19 +01:00
Konstantin Schaper
280f3e005e
work on getting signatures running
2020-11-26 13:08:10 +01:00
Eduard Heimbuch
a7c4d41e4e
improve error handling on repository import if the credentials were wrong or missing
2020-11-26 12:57:40 +01:00
Konstantin Schaper
b64d34afa4
add hook events to tag command and update unit tests
2020-11-26 11:15:26 +01:00
René Pfeuffer
181806f84b
Read last commit date for git branches
2020-11-26 08:31:14 +01:00
Eduard Heimbuch
e87df7c359
Enable repository import with credentials
2020-11-25 17:15:31 +01:00
Konstantin Schaper
d0feb7c22c
implement hg tag command and add rest endpoints
2020-11-25 11:29:06 +01:00
Konstantin Schaper
0c5ab90852
work in progress
2020-11-24 22:07:24 +01:00
Eduard Heimbuch
308b95d8c7
Upgrade repository import api
2020-11-24 10:39:38 +01:00
René Pfeuffer
69a3a8a2da
Convert update dto classes to interfaces
2020-11-19 13:19:49 +01:00
René Pfeuffer
bab4a56e22
Make dtos for schema docs unusable
2020-11-19 07:48:21 +01:00
Florian Scholdei
3384707517
Add examples to scm-plugins resources and create DTO adapted to schemata
2020-11-18 17:12:04 +01:00
René Pfeuffer
01a5dbd091
Show messages from native scm protocol
2020-11-12 11:41:04 +01:00
René Pfeuffer
fcd6003a4f
Adhere to qit quiet flag
2020-11-11 14:46:53 +01:00
René Pfeuffer
4b15468e67
Merge remote-tracking branch 'origin/develop' into bugfix/rest-download
2020-11-03 10:23:00 +01:00
René Pfeuffer
836e48c895
Remove deprecated api calls
2020-11-03 09:58:55 +01:00
Sebastian Sdorra
9fe065f796
Merge pull request #1399 from scm-manager/feature/default_branch
...
Make default branch for git configurable
2020-11-03 08:23:03 +01:00
Konstantin Schaper
578e028d5b
Merge branch 'develop' into bugfix/rest-download
2020-11-02 13:28:44 +01:00
Konstantin Schaper
22e0944377
fix review findings
2020-11-02 13:27:18 +01:00
René Pfeuffer
91d1e7a46d
Fix validation
2020-10-30 14:24:31 +01:00
René Pfeuffer
5eea6e430e
Remove code redundancies
2020-10-30 14:24:31 +01:00
René Pfeuffer
6195e4a290
Cleanup
2020-10-30 14:24:31 +01:00
René Pfeuffer
94b65e0e3a
Cleanup order of class components
2020-10-30 14:24:31 +01:00
René Pfeuffer
c3baf274d1
Set default branch for repository on init
2020-10-30 14:24:31 +01:00
René Pfeuffer
8429b62cc3
Clean up class
2020-10-30 14:24:31 +01:00
René Pfeuffer
854940a514
Fix unit test
2020-10-30 14:24:31 +01:00