This commit is contained in:
5
.gitlab/CODEOWNERS
Normal file
5
.gitlab/CODEOWNERS
Normal file
@@ -0,0 +1,5 @@
|
||||
# SPDX-FileCopyrightText: The openTCS Authors
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
# Reviews should be done by these.
|
||||
* @mgrzenia @stwalter
|
||||
18
.gitlab/docker/codequality/Dockerfile
Normal file
18
.gitlab/docker/codequality/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
# SPDX-FileCopyrightText: The openTCS Authors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
#
|
||||
# Remember to update version.yml when you change the image contents here!
|
||||
#
|
||||
FROM eclipse-temurin:21-jdk-jammy
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
bash \
|
||||
nodejs \
|
||||
npm \
|
||||
sed \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN npm install -g violations-command-line@1.25.3
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
6
.gitlab/docker/codequality/version.yml
Normal file
6
.gitlab/docker/codequality/version.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# SPDX-FileCopyrightText: The openTCS Authors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
variables:
|
||||
# Remember to update this whenever you change the image contents in Dockerfile!
|
||||
CODEQUALITY_IMAGE_TAG: "1.2.0"
|
||||
48
.gitlab/issue_templates/Defect.md
Normal file
48
.gitlab/issue_templates/Defect.md
Normal file
@@ -0,0 +1,48 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The openTCS Authors
|
||||
SPDX-License-Identifier: CC-BY-4.0
|
||||
-->
|
||||
|
||||
## Defect
|
||||
|
||||
<!-- A template to be used for reporting bugs/defects/problems -->
|
||||
|
||||
### Affected version
|
||||
|
||||
<!-- Name the affected version, i.e. "Release x.y.z" or "Revision <HASH>" -->
|
||||
|
||||
### Steps to reproduce
|
||||
|
||||
<!-- How can the incorrect behaviour be reproduced? -->
|
||||
|
||||
1. ...
|
||||
2. ...
|
||||
3. ...
|
||||
|
||||
### Expected behaviour
|
||||
|
||||
<!-- What would be the correct/expected behaviour? -->
|
||||
|
||||
...
|
||||
|
||||
### Actual behaviour
|
||||
|
||||
<!-- What behaviour can actually be observed instead of the correct behaviour? -->
|
||||
|
||||
...
|
||||
|
||||
### Additional information (logs, screenshots etc.)
|
||||
|
||||
<!-- Other data that can help with fixing the defect, e.g. logs, screenshots etc. -->
|
||||
|
||||
...
|
||||
|
||||
### Acceptance criteria
|
||||
|
||||
<!-- Important criteria for the issue to be considered resolved -->
|
||||
|
||||
* Actual behaviour corrected
|
||||
* New tests added or existing tests improved to help prevent future defects
|
||||
* Changelog entry added
|
||||
|
||||
/label ~defect
|
||||
32
.gitlab/issue_templates/Enhancement.md
Normal file
32
.gitlab/issue_templates/Enhancement.md
Normal file
@@ -0,0 +1,32 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The openTCS Authors
|
||||
SPDX-License-Identifier: CC-BY-4.0
|
||||
-->
|
||||
|
||||
## Enhancement
|
||||
|
||||
<!-- A template to be used for proposing enhancements to existing functionality -->
|
||||
|
||||
### Current behaviour
|
||||
|
||||
<!-- The behaviour to be improved (as it is now) -->
|
||||
|
||||
...
|
||||
|
||||
### Improved behaviour
|
||||
|
||||
<!-- What should be improved about the current behaviour, and how -->
|
||||
|
||||
...
|
||||
|
||||
### Acceptance criteria
|
||||
|
||||
<!-- Important criteria for the issue to be considered resolved -->
|
||||
|
||||
* Behaviour improved
|
||||
* New tests added or existing tests updated to help prevent defects of the changed code
|
||||
* User documentation covers changed behaviour
|
||||
* Developer documentation covers new feature
|
||||
* Changelog entry added
|
||||
|
||||
/label ~enhancement
|
||||
26
.gitlab/issue_templates/Feature.md
Normal file
26
.gitlab/issue_templates/Feature.md
Normal file
@@ -0,0 +1,26 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The openTCS Authors
|
||||
SPDX-License-Identifier: CC-BY-4.0
|
||||
-->
|
||||
|
||||
## New feature
|
||||
|
||||
<!-- A template to be used for proposing new functionality -->
|
||||
|
||||
### User story / use case
|
||||
|
||||
<!-- A description of the proposed functionality -->
|
||||
|
||||
...
|
||||
|
||||
### Acceptance criteria
|
||||
|
||||
<!-- Important criteria for the issue to be considered resolved -->
|
||||
|
||||
* New feature implemented
|
||||
* New tests added to help prevent defects of the new code
|
||||
* User documentation covers new feature
|
||||
* Developer documentation covers new feature
|
||||
* Changelog entry added
|
||||
|
||||
/label ~feature
|
||||
48
.gitlab/merge_request_templates/Default.md
Normal file
48
.gitlab/merge_request_templates/Default.md
Normal file
@@ -0,0 +1,48 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The openTCS Authors
|
||||
SPDX-License-Identifier: CC-BY-4.0
|
||||
-->
|
||||
|
||||
## Related issues
|
||||
|
||||
<!-- Issues that are closed by or related to this merge request, e.g. "Closes #x" -->
|
||||
|
||||
...
|
||||
|
||||
## To do
|
||||
|
||||
<!--
|
||||
Action items that need to be completed before merging.
|
||||
Adjust these as deemed appropriate.
|
||||
-->
|
||||
|
||||
- [ ] Implement code changes
|
||||
- [ ] Update documentation
|
||||
- [ ] Add changelog entry
|
||||
|
||||
## Proposed squash commit message
|
||||
|
||||
<!--
|
||||
A proposed message for the eventual squashed commit.
|
||||
Please stick to the following pattern:
|
||||
|
||||
- A short one-line summary (max. 50 characters).
|
||||
- A blank line.
|
||||
- A detailed explanation of the changes introduced by this merge request.
|
||||
Each line should not exceed 72 characters.
|
||||
*********1*********2*********3*********4*********5*********6*********7** (<-- Ruler for line width assistance)
|
||||
-->
|
||||
```
|
||||
A short one-line summary (max. 50 characters)
|
||||
|
||||
* A more detailed explanation of the changes introduced by this merge
|
||||
request.
|
||||
* Each line should not exceed 72 characters.
|
||||
|
||||
Co-authored-by: NAME <EMAIL>
|
||||
Reviewed-by: NAME <EMAIL>
|
||||
Acked-by: NAME <EMAIL>
|
||||
```
|
||||
<!--
|
||||
*********1*********2*********3*********4*********5*********6*********7** (<-- Ruler for line width assistance)
|
||||
-->
|
||||
9
.gitlab/renovate.json5
Normal file
9
.gitlab/renovate.json5
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"assigneesFromCodeOwners": true,
|
||||
"assigneesSampleSize": 1,
|
||||
"dependencyDashboardApproval": true
|
||||
}
|
||||
2
.gitlab/renovate.json5.license
Normal file
2
.gitlab/renovate.json5.license
Normal file
@@ -0,0 +1,2 @@
|
||||
SPDX-FileCopyrightText: The openTCS Authors
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
Reference in New Issue
Block a user