From 86b5856f38ae3f40d1a28fdd24a7f900027275b4 Mon Sep 17 00:00:00 2001 From: maciek Date: Tue, 3 Dec 2024 21:02:51 +0100 Subject: [PATCH] fuck github part 2 --- .github/CONTRIBUTING.md | 17 --------- .github/ISSUE_TEMPLATE.md | 8 ---- .github/ISSUE_TEMPLATE/bug_report.md | 29 --------------- .github/ISSUE_TEMPLATE/feature_request.md | 10 ----- .github/workflows/check.yml | 21 ----------- .github/workflows/release.yml | 45 ----------------------- 6 files changed, 130 deletions(-) delete mode 100644 .github/CONTRIBUTING.md delete mode 100644 .github/ISSUE_TEMPLATE.md delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/workflows/check.yml delete mode 100644 .github/workflows/release.yml diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index e20e8e9df..000000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,17 +0,0 @@ -First of all, thank you for your efforts in contributing to TechReborn project - -In order to ease code review of your pull request, please, go through this checklist. - - * The code compiles. - * The code has been developer-tested. - * The code includes javadoc where appropriate. - * The code is tidy (indentation, line length, no commented-out code, no spelling mistakes, etc). - * Proper use of exceptions has been considered. It is fine to throw an exception during init. - * Proper side usage (client vs server) - * Logging is used appropriately. Please, do not spam log files - * Unused imports are eliminated. - * Warnings produced by the IDE are eliminated. - * Are there any leftover stubs or test routines in the code? - * Are there any hardcoded, development only things still in the code? - * Was performance considered? - * Corner cases well documented or any workarounds for a known limitation of the MC, Fabric, RC, etc used. diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b89fe05c4..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,8 +0,0 @@ -Thanks for reporting an issue! However, before you report an issue, please read the following: - - * We will not backport to an old version of minecraft. Do not suggest this - * Make sure you're using the latest version of TechReborn, RebornCore, and Fabric before reporting a bug! - * Don't argue with any TechReborn developers. What they say goes. Feel free to suggest a way to implement something, but if they say no, don't push it. - * If you want to suggest something please open an issue, and it will get tagged as a suggestion. - - Make sure to delete all this text before you report your issue. diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index eb81bd106..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**Steps to Reproduce** -Steps to reproduce the behavior: -- First Step -- Second Step - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Environment (please complete the following information with the version):** - - Minecraft: [e.g. 1.14] - - Mod Loader: [e.g. forge, fabric] - -**Logs** -Pastebin the log [e.g. `logs/latest.log`] and link it below: - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index c50623c2a..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- - -Please don't submit an issue for suggestions/enhancements, post them at https://github.com/TechReborn/TechReborn/discussions/categories/ideas instead. It will be read and voted on by the community. diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml deleted file mode 100644 index 6b2eac11b..000000000 --- a/.github/workflows/check.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Check -on: [push, pull_request] -jobs: - build: - strategy: - matrix: - java: [ 17-jdk, 19-jdk ] - runs-on: ubuntu-22.04 - container: - image: eclipse-temurin:${{ matrix.java }} - options: --user root - steps: - - uses: actions/checkout@v3 - - run: ./gradlew runDatagen --stacktrace - - run: ./gradlew build --stacktrace -x runDatagen - - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: Artifacts - path: build/libs/ \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 0d97b8131..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Release -on: - workflow_dispatch: - inputs: - channel: - description: 'Release channel' - required: true - default: 'release' - -permissions: - contents: write - -jobs: - build: - runs-on: ubuntu-22.04 - container: - image: eclipse-temurin:19-jdk - options: --user root - steps: - - run: apt update && apt install git -y - - run: git config --global --add safe.directory /__w/TechReborn/TechReborn - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: FabricMC/fabric-action-scripts@v2 - id: changelog - with: - context: changelog - workflow_id: release.yml - - run: ./gradlew build publish publishMods --stacktrace -x test - env: - RELEASE_CHANNEL: ${{ github.event.inputs.channel }} - MAVEN_URL: ${{ secrets.MAVEN_URL }} - MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CROWDIN_KEY: ${{ secrets.CROWDIN_KEY }} - CHANGELOG: ${{ steps.changelog.outputs.changelog }} - - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: Artifacts - path: build/libs/ \ No newline at end of file