Commit Graph

2219 Commits

Author SHA1 Message Date
Till-André Diegeler
7858316a63 Bugfix for go-git client issue 2025-08-19 15:19:06 +02:00
René Pfeuffer
59a9d4939a Prepare for next development iteration 2025-04-03 11:23:37 +02:00
CES Marvin
a696f8f017 Release version 2.46.5 2025-01-17 13:55:11 +00:00
René Pfeuffer
9d2001895e Prepare for next development iteration 2025-01-17 13:50:25 +01:00
CES Marvin
c023ebf3ff Release version 2.46.4 2024-06-24 08:59:07 +00:00
Laura Gorzitze
74ec91a95c Prepare for next development iteration 2024-06-21 09:53:02 +02:00
CES Marvin
87a727b587 Release version 2.46.3 2024-05-29 12:02:24 +00:00
René Pfeuffer
ea4a148d86 Fix determination of default branch for git config on push 2024-05-29 10:40:28 +02:00
René Pfeuffer
e79ad2b1b8 Prepare for next development iteration 2024-05-29 10:34:19 +02:00
CES Marvin
b7eaad4c3d Release version 2.46.2 2024-03-05 08:40:39 +00:00
Laura Gorzitze
98a6fd185e Prepare for next development iteration 2024-03-04 14:45:54 +01:00
CES Marvin
8c143c2fd8 Release version 2.46.1 2023-09-01 09:15:02 +00:00
CES Marvin
41b7ef7435 Release version 2.46.0 2023-08-24 09:19:53 +00:00
Eduard Heimbuch
7a352295ab Set git default branch on first push to not-initialized repository
Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-08-15 12:06:11 +02:00
Eduard Heimbuch
33e8d30b62 Throw NoChangesMadeException for empty commits in SVN repositories
Committed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2023-08-07 23:17:25 +02:00
Eduard Heimbuch
891c56b21d Bump scm core version to next snapshot 2023-07-27 11:42:41 +02:00
CES Marvin
6c4d30b6cd Prepare for next development iteration 2023-07-18 13:14:33 +00:00
CES Marvin
640f136365 Release version 2.45.1 2023-07-18 13:10:55 +00:00
CES Marvin
a756ed3d99 Prepare for next development iteration 2023-07-17 13:40:55 +00:00
CES Marvin
53a5a6ad9e Release version 2.45.0 2023-07-17 13:28:04 +00:00
Eduard Heimbuch
0e7a3ec53b Improve general performance
- Adjust logging
- Optimize cache speed
- Cleanup classes

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>

Reviewed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-06-28 14:18:18 +02:00
René Pfeuffer
168a3afebe Prepare for next development iteration 2023-06-23 11:49:58 +02:00
René Pfeuffer
28a14aa8f9 Merge branch 'main' into develop 2023-06-23 11:46:40 +02:00
CES Marvin
b30b9d2110 Release version 2.44.2 2023-06-23 07:54:34 +00:00
Eduard Heimbuch
e4d846b0d4 Improve repo exception logging 2023-06-15 12:43:06 +02:00
CES Marvin
4a7f6a77d8 Prepare for next development iteration 2023-06-13 15:58:14 +00:00
CES Marvin
d5073ac6f5 Release version 2.44.1 2023-06-13 14:35:26 +00:00
CES Marvin
ebd62d5591 Prepare for next development iteration 2023-06-08 13:47:46 +00:00
CES Marvin
ac7e83ccee Release version 2.44.0 2023-06-08 12:29:55 +00:00
René Pfeuffer
9f9aebf1d5 Prepare for next development iteration 2023-05-19 13:52:09 +02:00
CES Marvin
617f48878a Release version 2.43.1 2023-05-12 11:28:00 +00:00
Rene Pfeuffer
92390ce0d2 Fix default branch in git mirror command
The git mirror command did not set the default branch correctly in all cases. If the source repository contained a 'master' branch, no default branch was set. This led to an error in the refresh process, when globally another branch has been configured as dafault (when not changed, this is 'main'), because the working copy should be created with the main branch checked out. Because no default was specified, the globally configured default (by default 'main') had been taken and that branch does not exist in the mirror.

So all subsequent mirror updates failed with a message like this one:

could not find branch with id main in repository with id ...

With this fix, the default branch is always set in the SCM-Manager configuration for the repository and therefore cannot be missing in subsequent updates.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-05-12 13:12:40 +02:00
CES Marvin
0d80b68661 Prepare for next development iteration 2023-04-12 14:09:45 +00:00
CES Marvin
5458e0c7ec Release version 2.43.0 2023-04-12 13:14:19 +00:00
Eduard Heimbuch
c6df84557b Refactor general configuration
Use standard configuration store api for general configuration. This is best practice and also required for the audit log to work properly.

Besides that we still need to load the general configuration manually for the instance injection binding in ScmServletModules. Since the instance injection does not resolve the bindings regularly we need also still need to update the injectable scm config using the "load" hack in the resource.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-04-12 12:37:52 +02:00
Eduard Heimbuch
aa78cb6f03 Cleanup hg permissions 2023-04-11 09:02:09 +02:00
Konstantin Schaper
7e83d34fc0 Improve committer accuracy
Changes made by the SCM-Manager, like those through the editor and pull requests, now more accurately define the committer on the underlying changeset.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-04-06 10:16:41 +02:00
Rene Pfeuffer
8eb2687e10 Fix branch and tag name validation
The validation for branch and tag names has been
too limited. This led to errors in the frontend for
branches, that had been created using the
cli tools for git or hg but have not been seen as
valid by SCM-Manager.

To fix this, the patterns to validate branch and
tag names are relaxed and relate to the git
rules (https://git-scm.com/docs/git-check-ref-format).
Because these rules could not be expressed
using regular expressions alone, in addition
possible exceptions will be handled in the
git branch and tag commands.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-04-05 11:45:15 +02:00
Eduard Heimbuch
026ffa18fd Replace static mercurial permission handling
Replace our own hg permission handling with the default hg permission which is controlled by the `web` config
2023-04-03 09:47:15 +02:00
Konstantin Schaper
d257c8616c Display images in diffs
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-03-22 11:17:22 +01:00
Rene Pfeuffer
68110ee6b3 Retry failing integration tests
This uses 'RetryingTest' from junit jupiter to retry integration tests that are known to fail from time to time. We explicitly mark single tests in contrast to set a global retry to be able to trace those, whenever this is intended.

To do so, we have to update to the latest version of JUnit. Unfortunately, this brought a new behaviour for the @TempDir annotation: In contrast to the former behaviour where for one test all annotated parameters got the same directory, in the new version the parameters get different directories assigned. This led to the need of some consolidation between @BeforeEach methods and the related tests.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-03-22 06:24:33 +01:00
René Pfeuffer
1122f781a1 Prepare for next development iteration 2023-03-13 08:32:29 +01:00
René Pfeuffer
34410ce6c9 Merge branch 'main' into develop 2023-03-13 08:29:36 +01:00
CES Marvin
143431cfe0 Release version 2.42.3 2023-03-13 06:13:04 +00:00
Eduard Heimbuch
2f0b46f615 Remove dependency locks 2023-03-10 13:48:55 +01:00
Rene Pfeuffer
f3027ba9f8 Update resteasy to 4.5.9.Final
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-03-10 08:29:34 +01:00
Eduard Heimbuch
56265be9a2 Add initial audit log API
Introduce audit log API which logs all creations,
modifications and deletions of annotated entities
and everything which is stored inside a
ConfigurationStore. Without the related Audit
Log Plugin installed this API does nothing.
2023-03-09 11:25:33 +01:00
CES Marvin
da2c723056 Prepare for next development iteration 2023-03-02 15:42:11 +00:00
CES Marvin
9f712aec5d Release version 2.42.2 2023-03-02 14:52:49 +00:00
Rene Pfeuffer
cb8c951cb8 Set the HEAD in Git pull command
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-23 12:38:26 +01:00