Sebastian Sdorra
4acedc1a8d
merge with develop branch
2020-06-30 16:46:15 +02:00
Sebastian Sdorra
0720878a19
make scmhooks compatible between python 2 and 3
2020-06-30 16:40:34 +02:00
Sebastian Sdorra
3a4896091b
make scmhooks compatible with python 2 and 3
2020-06-30 16:40:01 +02:00
René Pfeuffer
528432c2be
Fix versions
2020-06-30 07:48:36 +02:00
Sebastian Sdorra
fe2111559a
fixed hg clone on python 3
2020-06-29 16:13:05 +02:00
Sebastian Sdorra
f301d174d3
remove old python scripts which are not used in v2
2020-06-29 15:25:00 +02:00
Sebastian Sdorra
813b8db3ca
update javahg to version 0.15-scm1
2020-06-29 15:15:03 +02:00
CES Marvin
c5f2502e6f
prepare for next development iteration
2020-06-23 16:22:47 +00:00
CES Marvin
e5c7b4eda4
release version 2.1.1
2020-06-23 15:34:23 +00:00
René Pfeuffer
b2f68a2004
Merge remote-tracking branch 'origin/support/2.1.x' into develop
...
# Conflicts:
# CHANGELOG.md
2020-06-23 17:26:34 +02:00
René Pfeuffer
086a471161
Fix migration of non-bare git repositories
...
During the migration of git repositories from v1 to v2, we have to
create an "scmm" config section with the repository id of the current
repository. If this does not happen, further write requests to this
repository will fail, because the hooks cannot determine the id.
However, the migration failed to write this configuration for non-bare
repositories. Therefore this fix checks beforehand, whether a '.git'
folder exists in the date directory. If this is the case, we assume that
this is a non-bare repository and write the config file inside this
folder.
2020-06-23 11:47:52 +02:00
René Pfeuffer
e4ca2c2490
Prepare support version
2020-06-23 11:01:46 +02:00
René Pfeuffer
5dda141064
Unregister svn hook when handler is closed
2020-06-22 15:06:09 +02:00
CES Marvin
22881dd381
prepare for next development iteration
2020-06-18 11:31:16 +00:00
CES Marvin
b037053ec5
release version 2.1.0
2020-06-18 10:54:38 +00:00
René Pfeuffer
3e5ee53dc2
Adapt test to change from 52a09a9
2020-06-17 11:16:04 +02:00
eheimbuch
7ca781bc1c
Merge branch 'develop' into bugfix/diff_with_CR
2020-06-17 09:17:45 +02:00
Eduard Heimbuch
7c1a256780
upgrade to newest javahg version
...
The command in javahg.py is used there from registrar and no longer from cmdUtil.
edf07669ed/src/main/resources/javahg.py (lines-51)
2020-06-16 16:12:35 +02:00
René Pfeuffer
b3040678c5
Fix versions in package.json files
2020-06-16 10:58:37 +02:00
René Pfeuffer
bd4fc86db1
Only use LF for line breaks in diffs
...
Git uses LF for line breaks in diffs, not CR or other delimiters. When
we are using other delimiters for diving diff output into lines, too,
we can get errors because diff lines can contain CRs. When we try to
split such lines, we get exceptions because these lines cannot be parsed
2020-06-15 17:05:46 +02:00
Sebastian Sdorra
acc3306450
rename trailer to contributor
2020-06-10 11:08:11 +02:00
René Pfeuffer
fdf6991b16
Simplify API
2020-06-08 13:10:36 +02:00
René Pfeuffer
cf02192315
Extract committer as trailer in git
2020-06-08 12:21:17 +02:00
René Pfeuffer
3f2dee6530
Update versions in package.json files
2020-06-05 07:47:55 +02:00
CES Marvin
a3e4c1ddf4
prepare for next development iteration
2020-06-04 09:41:11 +00:00
CES Marvin
4ae098e3b6
release version 2.0.0
2020-06-04 09:03:17 +00:00
Sebastian Sdorra
ef8317d30b
Revert "added support for python3"
...
This reverts commit c924d73115 .
2020-06-04 09:53:26 +02:00
Sebastian Sdorra
c924d73115
added support for python3
2020-06-04 07:18:42 +02:00
René Pfeuffer
8528c0cfc1
Fix sonar issues
2020-06-02 21:48:28 +02:00
René Pfeuffer
a32bd01c45
Fix peer review issues
2020-06-02 21:32:06 +02:00
René Pfeuffer
3a68e5ff2b
Rename class
2020-06-02 21:31:44 +02:00
René Pfeuffer
77d6784386
Remove unnecessary interfaces
2020-06-02 21:31:44 +02:00
René Pfeuffer
7e945afc43
Keep ParentAndClone inside working copy factories
2020-06-02 21:31:44 +02:00
René Pfeuffer
d6b618f0ec
Remove superfluous exception class
2020-06-02 21:31:44 +02:00
René Pfeuffer
3c808bf171
Use existing RepositoryProvider
2020-06-02 21:31:44 +02:00
René Pfeuffer
28824c37d3
Cleanup svn on reclaim
2020-06-02 21:31:44 +02:00
René Pfeuffer
b40861534c
Extract classes
2020-06-02 21:31:44 +02:00
René Pfeuffer
4c73f27389
Make reclaimer and initializer top level classes
2020-06-02 21:31:44 +02:00
René Pfeuffer
62a47d016f
Document SimpleGitWorkingCopyFactory
2020-06-02 21:31:44 +02:00
René Pfeuffer
f74b7626eb
New package for working copy related classes
2020-06-02 21:31:44 +02:00
René Pfeuffer
e968aa17ef
Cleanup
2020-06-02 21:31:44 +02:00
René Pfeuffer
1163ce9002
For the time being we are happy to delete files, not directories
2020-06-02 21:31:44 +02:00
René Pfeuffer
e8247cbfe1
Clean up hg repo on reclaim
2020-06-02 21:31:44 +02:00
René Pfeuffer
fcdd2243c3
Cleanup
2020-06-02 21:31:43 +02:00
René Pfeuffer
8bd17a03d7
Use better names
...
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +02:00
René Pfeuffer
5f96244b9b
Add shutdown
2020-06-02 21:31:43 +02:00
René Pfeuffer
e5f4ad72d6
Add test for git reclaim of workdir
2020-06-02 21:31:43 +02:00
René Pfeuffer
7e89a0c1c0
Update repositories in reclaim
2020-06-02 21:31:43 +02:00
René Pfeuffer
5b034f8d02
Introduce cache layer for workdirs
2020-06-02 21:31:43 +02:00
Eduard Heimbuch
97cac87563
merge with develop
2020-05-20 12:13:47 +02:00