Initial commit
Some checks failed
Gradle Build / build (push) Has been cancelled

This commit is contained in:
CaiXiang
2024-11-30 18:36:13 +08:00
commit aa56926258
2134 changed files with 232943 additions and 0 deletions

5
.gitlab/CODEOWNERS Normal file
View File

@@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: The openTCS Authors
# SPDX-License-Identifier: CC0-1.0
# Reviews should be done by these.
* @mgrzenia @stwalter

View 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"]

View 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"

View 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

View 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

View 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

View 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
View File

@@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"assigneesFromCodeOwners": true,
"assigneesSampleSize": 1,
"dependencyDashboardApproval": true
}

View File

@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: The openTCS Authors
SPDX-License-Identifier: CC0-1.0