Commit Graph

876 Commits

Author SHA1 Message Date
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
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
Rene Pfeuffer
431902ff91 Rename classes 2019-07-03 13:32:59 +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
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
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
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
René Pfeuffer
6244713970 Move constant to interface 2019-06-03 13:47:05 +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
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
René Pfeuffer
fbdbe4956f Fix permissions for repository git configuration 2019-04-11 12:09:06 +02:00
Florian Scholdei
6e9af40b44 changed horizontal line structure which means that no unnecessary line is displayed if the delete button is missing 2019-04-04 16:56:35 +02:00
Florian Scholdei
7442712cd7 merge 2019-04-01 15:33:51 +02:00
Florian Scholdei
5420884f5a added hg and git branch manual 2019-04-01 13:47:41 +02:00
Florian Scholdei
bb5e3c9c58 added gitbranchinformation binding 2019-04-01 09:52:39 +02:00
René Pfeuffer
f8a59a4d0f Use new IntegrateChangesFromWorkdirException in merge command 2019-03-29 16:13:29 +01:00
René Pfeuffer
2e93a9efec Implement peer review comments 2019-03-29 15:39:44 +01:00
René Pfeuffer
89de300137 Add minimal error handling 2019-03-29 13:39:55 +01:00
René Pfeuffer
9833bfd34d Merge with 2.0.0-m3 2019-03-29 11:54:17 +01:00
René Pfeuffer
00b27b5488 Close repositories after usage 2019-03-29 11:47:44 +01:00
René Pfeuffer
2a19313df5 Remove unknown val 2019-03-29 11:06:10 +01:00
René Pfeuffer
ee219f2d59 Remove unnecessary interface 2019-03-29 10:36:55 +01:00
René Pfeuffer
1162536e21 Simplify workdir factory 2019-03-29 10:02:38 +01:00
René Pfeuffer
93cec3d282 Add parameter for parent of new branch 2019-03-28 16:15:31 +01:00
René Pfeuffer
df9e16c485 Clean up generics 2019-03-28 14:10:43 +01:00
René Pfeuffer
cc4bd6ddd1 Use bearer tokens to authenticate hg hook callbacks 2019-03-28 08:40:56 +01:00
René Pfeuffer
b65e84249d Use clone and push to create branches
Generalize workdir creation for git and hg and create branches in
clones instead of the scm repository, so that hooks will be fired
correctly once the changes are pushed back.

Missing:

- Evaluation of the git response from the push command
- configuration of the hg environment and the authentication, so that
  the scmhooks.py script can be triggeret correctly and can callback
  the scm manager
2019-03-27 10:08:20 +01:00
René Pfeuffer
3c7930d1a9 Add "production" branch command
There already was a branch command for test purposes. This was adapted
for production use with git and hg.
2019-03-26 09:16:33 +01:00
René Pfeuffer
b14eadb13d Add missing mockito config file 2019-03-25 16:44:05 +01:00
René Pfeuffer
39ae41327a Add missing mockito config file 2019-03-25 16:44:05 +01:00
René Pfeuffer
b36f1ca3e4 Mark default branch for git 2019-03-25 12:08:44 +01:00
René Pfeuffer
4ec7006108 Enhance branch object with default flag 2019-03-25 11:28:29 +01:00
René Pfeuffer
1ad2ea61f5 Remove not implemented config options 2019-03-14 13:42:13 +01:00
René Pfeuffer
960780946b Fix repo config for user without permission
Disable fields and remove submit buttons when user has not permission,
aka no config links.
2019-03-14 11:14:09 +01:00
René Pfeuffer
451b25a95f Merge with 2.0.0-m3 2019-03-14 10:48:57 +01:00
René Pfeuffer
be83f87b14 Remove dead code 2019-03-12 15:10:59 +01:00
René Pfeuffer
6ebbfa97a3 Start entity types with a capital char 2019-03-12 15:10:43 +01:00