Skip to content

Commit 92c7fff

Browse files
theEvilReaperTheMeinerLPrenovate[bot]Joltras
authored
Prepare next release (#21)
* Add license file * Migrate config renovate.json # Conflicts: # renovate.json * Add GitHub Actions workflows for PR and main branch builds * Add merge request template * Add templates for different kind of issues * Update repositories section in the publishing task * Add publish workflow * Overhaul publishData section * Downgrade version constraint * Remove publishdata usage * Update pr template * Add library plugin from micronaut * Bump version * Update dependency gradle to v8.13 * Update plugin io.micronaut.library to v4.5.2 * Update plugin io.micronaut.platform.catalog to v4.5.2 * Refactor models to use UUIDs for identifiers and implement custom UUID generation * Rename model suffix to entity (#12) * Rename classes from model to entity * Update model class usage * Update codeowners file (#13) * Update codeowners file * Update CODEOWNERS --------- Co-authored-by: Phillipp Glanz <6745190+TheMeinerLP@users.noreply.github.com> * Rename package to onelitefeather (#14) * Update dependency gradle to v8.14 (#18) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency com.github.f4b6a3:uuid-creator to v6.1.1 (#15) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update plugin io.micronaut.platform.catalog to v4.5.3 (#17) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update plugin io.micronaut.library to v4.5.3 (#16) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency gradle to v8.14.2 (#19) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update imports and more * Update FontEntity definition (#20) * Update gradle validation action * Bump version * Update group identifier * Switch to onelitefeather in the group definition --------- Co-authored-by: Phillipp Glanz <p.glanz@madfix.me> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joltras <72395471+Joltras@users.noreply.github.com> Co-authored-by: Phillipp Glanz <6745190+TheMeinerLP@users.noreply.github.com>
1 parent e8250ac commit 92c7fff

38 files changed

Lines changed: 819 additions & 459 deletions

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* @OneLiteFeatherNET/vulpes-maintainer
2+
/.github/CODEOWNERS @OneLiteFeatherNET/core-team
3+
/.github/CODEOWNERS @OneLiteFeatherNET/vulpes-maintainer
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Bug Report"
2+
description: "Report a bug"
3+
title: "[Bug] "
4+
labels:
5+
- bug
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: "Describe the bug"
10+
description: |
11+
A clear and concise description of what the bug is.
12+
If you have a screenshot of the bug, please attach it below.
13+
validations:
14+
required: true
15+
- type: textarea
16+
attributes:
17+
label: "Steps to reproduce the bug"
18+
description: "Tell us exactly how to reproduce the bug you are experiencing."
19+
placeholder: |
20+
1. ...
21+
2. ...
22+
3. ...
23+
validations:
24+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: GitHub Discussions
4+
url: https://github.com/OneLiteFeatherNET/vulpes-model/discussions
5+
about: If you have any questions or concerns (if you dont want to use Discord), please post them in our GitHub Discussions.
6+
- name: OneLiteFeather Discord
7+
url: https://discord.onelitefeather.net/
8+
about: Please join our Discord server if you have any questions or concerns.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "Feature request"
2+
description: "Suggest a new feature or enhancement"
3+
title: "Feature: "
4+
labels: [ "feature" ]
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Describe the feature
9+
description: |
10+
A clear and concise description of what the feature is.
11+
If you have a screenshot of the feature, please attach it below.
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: Why is this feature important to you?
17+
description: Tell us why you think this feature is important to you
18+
validations:
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: Additional context
23+
description: Add any other context or screenshots about the feature request here

.github/pull_request_template.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Proposed changes
2+
3+
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
4+
If it fixes a bug or resolves a feature request, be sure to link to that issue.
5+
6+
## Types of changes
7+
8+
What types of changes does your code introduce to this project?
9+
_Put an `x` in the boxes that apply_
10+
11+
- [ ] Bugfix (non-breaking change which fixes an issue)
12+
- [ ] New feature (non-breaking change which adds functionality)
13+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+
- [ ] Documentation Update (if none of the other choices apply)
15+
16+
## Checklist
17+
18+
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
19+
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
20+
merging your code._
21+
22+
- [ ] I have read the CONTRIBUTING.md
23+
- [ ] I have added tests that prove my fix is effective or that my feature works
24+
- [ ] I have added necessary documentation (if appropriate)
25+
26+
## Further comments
27+
28+
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you
29+
did and what alternatives you considered, etc...

.github/workflows/build-pr.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build PR
2+
on: [pull_request]
3+
jobs:
4+
build_pr:
5+
if: github.repository_owner == 'OneLiteFeatherNET'
6+
name: Build Pull Request Branch
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, windows-latest, macos-latest]
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
- name: Setup Java
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: temurin
18+
java-version: 21
19+
- name: Build on ${{ matrix.os }}
20+
run: ./gradlew clean build
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Close invalid PRs
2+
3+
on:
4+
pull_request_target:
5+
types: [ opened ]
6+
7+
jobs:
8+
run:
9+
if: ${{ github.repository != github.event.pull_request.head.repo.full_name && github.head_ref == 'develop' }}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: superbrothers/close-pull-request@v3
13+
with:
14+
comment: "Please do not open pull requests from the `develop` branch, create a new branch instead."

.github/workflows/main-build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Main Branch Build
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
build_and_test:
10+
if: github.repository_owner == 'OneLiteFeatherNET'
11+
name: Build and Test
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
steps:
17+
- name: Checkout Repository
18+
uses: actions/checkout@v4
19+
- name: Validate Gradle Wrapper
20+
uses: gradle/actions/wrapper-validation@v4
21+
- name: Setup Java
22+
uses: actions/setup-java@v4
23+
with:
24+
distribution: temurin
25+
java-version: 21
26+
- name: Build on ${{ matrix.os }}
27+
run: ./gradlew test

.github/workflows/publish.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish JAR
2+
3+
on:
4+
push:
5+
tags:
6+
- '**'
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up JDK 21
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: 'temurin'
19+
java-version: '21'
20+
21+
- name: Build with Gradle
22+
run: ./gradlew build
23+
24+
- name: Publish to Maven
25+
run: ./gradlew publish
26+
env:
27+
ONELITEFEATHER_MAVEN_USERNAME: ${{ secrets.ONELITEFEATHER_MAVEN_USERNAME }}
28+
ONELITEFEATHER_MAVEN_PASSWORD: ${{ secrets.ONELITEFEATHER_MAVEN_PASSWORD }}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: draft release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
- develop
8+
pull_request:
9+
types: [opened, reopened, synchronize]
10+
pull_request_target:
11+
types: [opened, reopened, synchronize]
12+
permissions:
13+
contents: read
14+
jobs:
15+
update_release_draft:
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: release-drafter/release-drafter@v6
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)