Commit Graph

1281 Commits

Author SHA1 Message Date
Rene Pfeuffer
aa1452ab85 Let git implement DIFF_RESULT command 2019-08-16 15:56:15 +02:00
Sebastian Sdorra
f10b653a1d Fix thrown exceptions 2019-07-31 13:37:12 +02:00
Sebastian Sdorra
00fa943e51 fix SonarQube issues 2019-07-31 13:24:31 +02:00
Sebastian Sdorra
e3787fd764 simplify Differ api and use the new api in GitDiffCommand 2019-07-30 08:06:10 +02:00
Sebastian Sdorra
07068880bb implemented parsing of git diff hunks 2019-07-29 16:42:49 +02:00
Sebastian Sdorra
01379caa08 implement first diff details 2019-07-29 12:54:58 +02:00
Rene Pfeuffer
bc37ccef57 Make protocol auth filter available for legacy paths 2019-07-26 15:07:40 +02:00
Eduard Heimbuch
bea14e9055 Merged in feature/redirect_issuetracker_links (pull request #283)
Feature/redirect issuetracker links
2019-07-08 14:17:24 +00:00
Eduard Heimbuch
4e5d2d3302 fix redirect url / use hal links in legacy plugin 2019-07-08 12:59:37 +02:00
Sebastian Sdorra
2cdcf78c91 Merged in feature/redirect_migrated_repositories (pull request #277)
Feature redirect migrated repositories
2019-07-08 09:38:17 +00:00
Eduard Heimbuch
35683543a7 cleanup 2019-07-05 11:35:40 +02:00
Eduard Heimbuch
22d323367f add Tests for LegacyRepositoryService 2019-07-05 10:57:21 +02:00
Eduard Heimbuch
b14c3444bd add ErrorHandling and show ErrorNotification 2019-07-05 10:08:27 +02:00
Eduard Heimbuch
27d4d9ba3a Merged in bugfix/repoid_svn_migration (pull request #280)
Bugfix set repository in svn configuration after migration
2019-07-05 06:28:10 +00:00
Eduard Heimbuch
97c10a867c merged 2019-07-05 08:03:55 +02:00
Eduard Heimbuch
b10804b11c Merged in feature/migrate_lfs (pull request #275)
Migrate git LFS blob directory
2019-07-04 12:24:45 +00:00
Eduard Heimbuch
4f1ac2af09 move redirect logic to legacy plugin / bind Extensionpoint in Main.js 2019-07-04 12:13:45 +02:00
Rene Pfeuffer
69b26f0f29 Add hint that exception can be ignored 2019-07-04 11:46:25 +02:00
Eduard Heimbuch
7211d657f2 call new LegacyRepository-Endpoint on Main.js 2019-07-03 15:06:46 +02:00
Rene Pfeuffer
431902ff91 Rename classes 2019-07-03 13:32:59 +02:00
Eduard Heimbuch
d1b167677b add LegacyPlugin Endpoint to get the repository name + namespace 2019-07-03 13:21:34 +02:00
Rene Pfeuffer
61b51f0063 Fix configuration path 2019-07-03 13:06:11 +02:00
Rene Pfeuffer
226322d05e Use dao to prevent authentication issues 2019-07-03 12:41:46 +02:00
René Pfeuffer
ab62b121d7 Store repository id in svn config for each repository
This is needed after migration from v1 to v2 and is done in
SvnV1UpdateStep.java.
2019-07-03 08:16:08 +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
3e653713c1 Do not redirect for deleted repositories 2019-07-02 11:28:27 +02:00
René Pfeuffer
c9861f6a04 Refactor code for readability 2019-07-02 11:14:44 +02:00
René Pfeuffer
f631dc1724 Redirect protocol requests for migrated repositories
- Make old repository name and id available to plugins (MigrationDAO)
- Build Map with paths of migrated repositories to new location
- Implement redirect (RepositoryLegacyProtocolRedirectFilter)
2019-07-02 10:46:26 +02:00
René Pfeuffer
7db3350439 Migrate git LFS blob directory 2019-07-01 14:17:32 +02:00
Sebastian Sdorra
bc4d6bfa74 merge with 2.0.0-m3 2019-06-26 09:27:52 +02:00
Eduard Heimbuch
802dfd73ca Merged in feature/updatestep_api_for_plugins (pull request #273)
Feature/updatestep api for plugins
2019-06-25 12:25:05 +00:00
Eduard Heimbuch
fc8169cef0 merged 2019-06-25 13:57:30 +02:00
Sebastian Sdorra
80febf9424 added modules, classloading and view packages to sonia.scm.lifecycle 2019-06-25 09:49:52 +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
Florian Scholdei
a9e89313bc clarified ButtonGroup vs ButtonAddons 2019-06-20 14:57:00 +02:00
Florian Scholdei
6046e20908 express functionality of component by name 2019-06-20 13:40:12 +02:00
Sebastian Sdorra
b7af4fa902 shutdown jgit workqueue, when context is destroyed 2019-06-19 11:41:36 +02:00
Sebastian Sdorra
ece1a2b34a update jgit to v5.4.0.201906121030-r-scm1 2019-06-19 11:40:36 +02:00
Sebastian Sdorra
bfd22aa507 Merged in bugfix/refresh_repo_db_after_upgrade (pull request #264)
Refresh repository dao after repository.xml file was renamed
2019-06-07 12:34:10 +00:00
René Pfeuffer
1288724d6a Remove test without implementation 2019-06-06 13:46:17 +02:00
René Pfeuffer
c39c14bbd1 Remove no longer needed LfsStoreRemoveListener
With v2 the LFS store resides inside the repository directory that is
purged completely on deletion. Therefore an explicit deletion of the
LFS folder is no longer necessary.
2019-06-06 13:31:40 +02:00
Sebastian Sdorra
26a8fc4b9c update node to 10.16.0 and yarn to 1.16.0 2019-06-06 11:08:12 +02:00
René Pfeuffer
6244713970 Move constant to interface 2019-06-03 13:47:05 +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
ad51a6fa27 Add cd after init to get into new repository directory 2019-04-29 11:08:05 +02:00
Sebastian Sdorra
75eb11627e Merged in feature/search (pull request #231)
feature/search
2019-04-24 11:51:57 +00:00
Sebastian Sdorra
37a53c295b move getQueryStringFromLocation to ui-components 2019-04-18 11:42:09 +02:00
Sebastian Sdorra
dd39c6b535 fixed missing checkout call for GitBranchCommand 2019-04-17 13:51:13 +02:00
René Pfeuffer
e649a66423 Fix unit test 2019-04-11 13:52:23 +02:00