Commit Graph

396 Commits

Author SHA1 Message Date
Eduard Heimbuch
4b024c650c implement squash to mergeCommand 2019-11-04 15:16:37 +01:00
Sebastian Sdorra
e4c8783c61 return null if commit was not merged into requested branch 2019-11-04 11:46:27 +01:00
Eduard Heimbuch
4f17bc6b1c refactor backend for modifyCommand / add sourceExtension for plugins 2019-10-30 12:59:54 +01:00
Eduard Heimbuch
a3d5e9669e add test for gitLogCommand 2019-10-26 17:59:37 +02:00
Eduard Heimbuch
949a8fe4f1 merge 2.0.0-m3 2019-10-25 12:33:16 +02:00
Eduard Heimbuch
a938fd8682 enhance logcommand 2019-10-25 12:31:18 +02:00
Sebastian Sdorra
8a6f862d3d Merged in feature/lfs_over_ssh (pull request #336)
Feature LFS over ssh
2019-10-22 12:01:38 +00:00
Rene Pfeuffer
a93380b867 Differentiate types for central and cloned repository 2019-10-21 14:10:50 +02:00
Rene Pfeuffer
36d2723c50 Add unit test 2019-10-21 11:11:44 +02:00
Rene Pfeuffer
647464618a Fix time format 2019-10-21 10:24:53 +02:00
Rene Pfeuffer
2a501a9dbb Simplify test 2019-10-19 16:31:54 +02:00
Rene Pfeuffer
f9ecae129e Add unit test 2019-10-19 15:55:07 +02:00
Eduard Heimbuch
f90b8a987a merge 2.0.0 2019-10-17 08:34:23 +02:00
Rene Pfeuffer
4cb79ffe5a Detect proper merge and prevent empty commits 2019-10-16 14:59:38 +02:00
Eduard Heimbuch
668007e084 change unit test 2019-10-15 13:09:51 +02:00
Eduard Heimbuch
ef7d958ba1 fix / change unit test 2019-10-15 13:05:26 +02:00
Eduard Heimbuch
a3c5f97a23 merged 2019-10-11 11:22:24 +02:00
Rene Pfeuffer
a81049eea3 Register own git config 2019-10-09 10:57:58 +02:00
Rene Pfeuffer
7af882fe8e Insert some logging 2019-10-08 16:19:30 +02:00
Rene Pfeuffer
ffcb96820e Merge with 2.0.0-m3 2019-10-08 10:49:15 +02:00
Rene Pfeuffer
24e18b4414 Use no-op filter as default for lfs 2019-10-07 18:45:12 +02:00
René Pfeuffer
100c73c336 Add missing test repository 2019-10-06 19:41:23 +02:00
René Pfeuffer
3ac267c2ab Add missing test repository 2019-10-06 16:57:45 +02:00
René Pfeuffer
3dea971e10 Checkout target branch while cloning repository
This will prevent the checkout of a wrong initial branch and therefore
safe some unnecessary io
2019-10-06 16:29:50 +02:00
René Pfeuffer
9120d492ab LFS upload POC 2019-10-04 19:46:16 +02:00
Sebastian Sdorra
151049657a Merged in bugfix/postpone_writing_to_stream (pull request #322)
Postpone writing to output stream in diff command
2019-10-01 12:52:25 +00:00
Sebastian Sdorra
273b5fd2c6 Merged in feature/cat_with_lfs (pull request #324)
cat with lfs
2019-10-01 12:12:04 +00:00
Rene Pfeuffer
1b797e7de4 Fix unit test 2019-09-25 14:25:44 +02:00
Rene Pfeuffer
3d27938e80 Postpone writing to output stream in diff command
Without this, the gzip filter would write the first bytes to the
response output stream, before the diff command is triggered and
potential exceptions may be thrown. When exceptions are thrown too late,
filters like the GZip filter may already have sent bytes to the response
stream. Afterwards this cannot be undone and the response created by an
exception mapper may not be valid anymore.
2019-09-25 12:15:30 +02:00
René Pfeuffer
7e5e45b488 Detect and load lfs files 2019-09-24 20:50:54 +02:00
René Pfeuffer
1c922d637e Ignore '\ No newline at end of file' in diff 2019-09-23 17:25:01 +02:00
Rene Pfeuffer
87a4fa8b74 Remove leading slashes when changing files in git 2019-09-11 10:51:26 +02:00
Rene Pfeuffer
0ab8f52e7f Check whether directory already exists as a file 2019-09-10 10:50:56 +02:00
Rene Pfeuffer
5e4496e166 Implement git modify command 2019-09-09 17:14:29 +02:00
Rene Pfeuffer
5e2d63183c Merge with base branch 2019-09-04 13:35:40 +02:00
Rene Pfeuffer
5f037762c7 Verify that branch is a branch 2019-09-04 13:24:59 +02:00
Rene Pfeuffer
c37ed20303 Implement delete for git 2019-09-04 10:31:01 +02:00
Rene Pfeuffer
379c58d3a9 Add parameter to check current revision to prevent conflicts 2019-09-03 10:36:23 +02:00
Rene Pfeuffer
695457e949 Make branch optional in modify command
Due to the fact that the default branch is configured in HEAD, it will
be checked out by default by the clone in GitModifyCommand. Therefore
we won't have to do anything to "select" the default branch if no other
branch is specified.
2019-09-03 08:32:07 +02:00
Rene Pfeuffer
8a7b50a079 Throw exception when no changes were made 2019-08-29 17:57:29 +02:00
Rene Pfeuffer
f02dec5cc6 Add flag to optionally overwrite files with create 2019-08-29 17:22:50 +02:00
Rene Pfeuffer
ae8b519a92 Merge with api changes 2019-08-29 09:45:17 +02:00
René Pfeuffer
aae9ba6a59 Commit and push changes 2019-08-28 16:23:33 +02:00
René Pfeuffer
406620bd9d First steps to implement create in modify command 2019-08-28 15:07:14 +02:00
René Pfeuffer
4f21756d00 Extract class to provide temporary work directories 2019-08-27 16:56:44 +02:00
Sebastian Sdorra
f10b653a1d Fix thrown exceptions 2019-07-31 13:37:12 +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
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
1288724d6a Remove test without implementation 2019-06-06 13:46:17 +02:00