Skip to content

Commit e946267

Browse files
committed
initialize repository
1 parent 5bcacba commit e946267

33 files changed

Lines changed: 1127 additions & 1 deletion

.devcontainer/devcontainer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"image": "maven:3-eclipse-temurin-25",
3+
"postAttachCommand": "mvn compile",
4+
"shutdownAction": "stopContainer",
5+
"customizations": {
6+
"vscode": {
7+
"extensions": [
8+
"vscjava.vscode-java-dependency",
9+
"vscjava.vscode-java-debug",
10+
"vscjava.vscode-java-test",
11+
"vscjava.vscode-maven",
12+
"redhat.java"
13+
]
14+
}
15+
}
16+
}

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Bug Report
2+
description: Report a bug
3+
labels: [bug]
4+
assignees: []
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Before opening a bug report please check that your issue was not already discussed in the following:
10+
11+
* [Issues](https://github.com/KatsuteDev/Civitai-Java-API/issues?q=is%3Aissue+is%3Aopen+label%3Abug%2C%22critical+issue%22)
12+
* [Documentation](https://docs.katsute.dev/civitai)
13+
14+
Please also check that:
15+
16+
* This is actually a bug and not a feature.
17+
* You are running the latest version.
18+
19+
- type: input
20+
attributes:
21+
label: Operating System
22+
validations:
23+
required: true
24+
25+
- type: dropdown
26+
attributes:
27+
label: Java Runtime
28+
options:
29+
- Java
30+
- Android
31+
- Other
32+
validations:
33+
required: true
34+
35+
- type: input
36+
attributes:
37+
label: Java Version
38+
validations:
39+
required: true
40+
41+
- type: input
42+
attributes:
43+
label: Release Version
44+
description: |
45+
Do not write 'latest'.
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
attributes:
51+
label: Issue
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
attributes:
57+
label: How to replicate
58+
description: |
59+
Include steps to reproduce this issue.
60+
validations:
61+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Documentation Issue
2+
description: Report a documentation issue
3+
labels: [bug, documentation]
4+
assignees: []
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Before opening a documentation report please check that your issue was not already discussed in the following:
10+
11+
* [Issues](https://github.com/KatsuteDev/Civitai-Java-API/issues?q=is%3Aissue+is%3Aopen+label%3Abug%2C%22critical+issue%22+label%3Adocumentation)
12+
13+
Please also check that:
14+
15+
* This is actually an issue and not intended behavior.
16+
* The issue is from the latest documentation.
17+
18+
- type: input
19+
attributes:
20+
label: Location
21+
description: |
22+
Link to the documentation issue or name of the class.
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
attributes:
28+
label: Issue
29+
validations:
30+
required: true

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Feature Request
2+
description: Suggest a new feature
3+
labels: [feature request]
4+
assignees: []
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Before opening a feature request please check that your idea was not already discussed in the following:
10+
11+
* [Issues](https://github.com/KatsuteDev/Civitai-Java-API/issues?q=is%3Aissue+is%3Aopen+label%3A%22feature+request%22)
12+
13+
Please also check that:
14+
15+
* This feature makes sense for the project.
16+
* This feature does not already exist.
17+
* You are running the latest version.
18+
19+
- type: textarea
20+
attributes:
21+
label: Feature
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
attributes:
27+
label: Reason
28+
description: |
29+
Explain why you think this feature should be added.
30+
validations:
31+
required: true

.github/dependabot.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
labels: [dependencies]
6+
assignees: [Katsute]
7+
schedule:
8+
interval: monthly
9+
time: "00:00"
10+
timezone: US/Eastern
11+
open-pull-requests-limit: 10
12+
- package-ecosystem: maven
13+
directory: /
14+
labels: [dependencies]
15+
assignees: [Katsute]
16+
schedule:
17+
interval: monthly
18+
time: "00:00"
19+
timezone: US/Eastern
20+
open-pull-requests-limit: 10
21+
groups:
22+
junit:
23+
patterns: [org.junit.jupiter:*]
24+
ignore:
25+
- dependency-name: "org.junit.jupiter:*" # 6.0.0 requires Java 17 which is above minimum 8 support
26+
update-types: [version-update:semver-major]

.github/pull_request_template.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!-- PLEASE READ BEFORE SUBMITTING PR
2+
3+
Before opening a PR please make sure that:
4+
5+
* No similar PR exists.
6+
* No sensitive information is exposed.
7+
* Code follows the general style of the repository.
8+
* Relevant comments are added.
9+
10+
!!! Important !!!
11+
12+
* Does not include AI generated code, such as GitHub Copilot or ChatGPT.
13+
14+
-->
15+
16+
### Relevant Issues
17+
*List any closed and/or relevant issues*
18+
19+
*
20+
21+
### Changes Made
22+
*List any changes made.*
23+
24+
*

.github/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
changelog:
2+
categories:
3+
- title: Breaking Change
4+
labels:
5+
- breaking change
6+
- title: Deprecated
7+
labels:
8+
- deprecated
9+
- title: Removed
10+
labels:
11+
- removed
12+
- title: Security
13+
labels:
14+
- security
15+
- title: New Features
16+
labels:
17+
- enhancements
18+
- experimental
19+
- feature
20+
- feature request
21+
- title: Fixes
22+
labels:
23+
- bug
24+
- critical bug
25+
- critical issue
26+
- title: Documentation
27+
labels:
28+
- documentation
29+
- title: Optimizations
30+
labels:
31+
- optimization
32+
- title: Dependencies
33+
labels:
34+
- dependencies

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Java CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
types: [opened, reopened, synchronize]
8+
merge_group:
9+
types: [checks_requested]
10+
11+
jobs:
12+
java_ci:
13+
name: Java CI
14+
uses: KatsuteDev/Workflows/.github/workflows/java.ci.yml@main
15+
with:
16+
package: true
17+
secrets: inherit

.github/workflows/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: Dependabot[bot]
2+
on: [pull_request_target]
3+
4+
jobs:
5+
dependabot:
6+
name: Dependabot[bot]
7+
uses: KatsuteDev/workflows/.github/workflows/dependabot.yml@main

0 commit comments

Comments
 (0)