Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lewmilburn committed Jun 26, 2024
0 parents commit 852bc12
Show file tree
Hide file tree
Showing 13 changed files with 624 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
description: Create a report to help us improve our software.
title: Bug report
labels: bug
assignees: "LewMilburn"
body:
- type: textarea
attributes:
label: "Please describe the bug"
description: "Please provide a clear and concise description of what the bug is."
- type: textarea
attributes:
label: "Steps to reproduce the behavior"
description: "What steps can we take to make the same bug or issue happen in our testing environment? What did you do before the issue happened?"
- type: textarea
attributes:
label: "Expected behavior"
description: "What did you expect to happen instead of the issue you're reporting?"
- type: textarea
attributes:
label: "Server information:"
value: "Minecraft Version: [e.g. 1.20.4] - Server Implementation: [e.g. Bukkit, Spigot, Paper, etc.] - Essence Version: [e.g. 1.1.0]"
- type: textarea
attributes:
label: "Please enter a link to your logs"
description: "Links to logs are extremely helpful. We recommend using https://mclo.gs/"
- type: textarea
attributes:
label: "Anything else?"
description: "Please enter any additional information here:"
---
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
description: Request or suggest a new feature.
title: Feature request
labels: enhancement
assignees: "LewMilburn"
body:
- type: textarea
attributes:
label: "What feature would you like to request?"
- type: textarea
attributes:
label: "Are you able to help implement the feature?"
- type: textarea
attributes:
label: "Is your feature request related to an existing bug or issue?"
- type: textarea
attributes:
label: "Please enter any additional comments below."
---
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "maven" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
39 changes: 39 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request,
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
# Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable
# packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency review'
on:
pull_request:
branches: [ "main" ]

# If using a dependency submission action in this workflow this permission will need to be set to:
#
# permissions:
# contents: write
#
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api
permissions:
contents: read
# Write permissions for pull-requests are required for using the `comment-summary-in-pr` option, comment out if you aren't using this option
pull-requests: write

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
with:
comment-summary-in-pr: always
# fail-on-severity: moderate
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
# retry-on-snapshot-warnings: true
36 changes: 36 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy JavaDoc
permissions:
contents: write
pages: write
pull-requests: write

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository 📡
uses: actions/checkout@v2

- name: Set up JDK 17 🔧
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'

- name: Build with Maven 🏗️
run: mvn -B package --file pom.xml

- name: Deploy JavaDoc 🚀
uses: MathieuSoysal/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 17
target-folder: .
project: maven
34 changes: 34 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Maven Build

on:
push:
branches:
- "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository 📡
uses: actions/checkout@v4

- name: Set up JDK 21 🔧
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Build with Maven 🏗️
run: mvn -B package --file pom.xml

- name: Extract Version from pom.xml 📄
id: extract_version
run: echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV

- name: Upload Plugin jar 📁
uses: actions/upload-artifact@v4
with:
name: jailhouse-${{ env.VERSION }}.jar
path: /home/runner/work/Jailhouse/Jailhouse/target/jailhouse-${{ env.VERSION }}.jar

113 changes: 113 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# User-specific stuff
.idea/

*.iml
*.ipr
*.iws

# IntelliJ
out/

# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

target/

pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next

release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
.flattened-pom.xml

# Common working directory
run/
Loading

0 comments on commit 852bc12

Please sign in to comment.