mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 05:54:49 +00:00
Update contributing info, add PMD/Spotless to github actions builds
This commit is contained in:
1 parent
2152473edb
commit
6d7e5037d9
3 files changed
+15
-9
No files matched your search
+10
-8
@@ -1,18 +1,20 @@
|
||||
Hey there. Looks like you want to contribute with an issue. Great. Here's what you have to do:
|
||||
* Have a look through the [Botania FAQ](http://botaniamod.net/faq.php), to see if your issue has been solved already;
|
||||
* Read through the steps on [Bug Reporting 101](http://vazkii.us/br101/) (You may skip this if you're already familiar with reporting issues, but it's good for newcomers);
|
||||
* Have a look through the [Botania FAQ](https://botaniamod.net/faq.php), to see if your issue has been solved already;
|
||||
* Read through the steps on [Bug Reporting 101](https://vazkii.net/br101/) (You may skip this if you're already familiar with reporting issues, but it's good for newcomers);
|
||||
* Note the following points:
|
||||
* Issues regarding "Bukkit+Forge" servers that are not reproducible with forge only are **not accepted**;
|
||||
* Issues regarding "Bukkit+Forge" servers that are not reproducible with Forge only are **not accepted**;
|
||||
* Issues regarding outdated versions of the mod, especially for older versions of Minecraft, are **not accepted**;
|
||||
* Unless you manually update every mod on the pack to the latest, issues regarding any public modpack that is not officially maintained or supported by the botania developers (the ones in the modpack section of the website are not) are **not accepted**;
|
||||
* Unless you manually update every mod on the pack to the latest, issues regarding any public modpack that is not officially maintained or supported by the Botania developers (the ones in the modpack section of the website are not) are **not accepted**;
|
||||
* Duplicate issues or issues that have been solved already (use the search feature!) will be closed without asking.
|
||||
* Do not tag your issues' names. "Something Broke" is prefered to "[Bug] Something Broke" because there's a proper label system in place.
|
||||
* Suggestions are **not** accepted here. Post them on the forums or reddit instead. If there's any still open they're old ones before this rule was added.
|
||||
|
||||
The following "bugs" are not accepted:
|
||||
* 1.12 or older version issues
|
||||
* Only the latest version of the mod is supported.
|
||||
* Intended Behaviour
|
||||
* Double tall flowers need be harvested with shears to not clutter the inventory
|
||||
* Not a botania problem/Not fixable
|
||||
* Not a Botania problem/Not fixable
|
||||
* Mana Bursts get destroyed on plugin servers by lag-clearing plugins (add botania:mana_burst to the blacklist)
|
||||
* Force Relays destroy blocks when used very fast (Can't fix due to the nature of the block)
|
||||
* Terrasteel crafting won't start (make sure your checkerboard is correct, there's Livingrock under the plate)
|
||||
@@ -23,6 +25,6 @@ The following "bugs" are not accepted:
|
||||
|
||||
If you want to make a Pull Request keep these in mind:
|
||||
* Do NOT use the github editor. Test your damn PRs before you submit them.
|
||||
* I'm very strict when it comes to syntax. Make sure your PR's syntax matches the syntax of the rest of the code. That includes spacing after if/for/(etc), proper bracket usage, camel casing and copyleft headers on new classes.
|
||||
* If your pull request edits very small chunks of code and isn't flawless I'll close it as it'll probably take less time to fix it myself rather than pull yours and change the code.
|
||||
|
||||
* We are strict when it comes to syntax. Make sure your PR's syntax matches the syntax of the rest of the code. That includes spacing after if/for/(etc), proper bracket usage, camel casing and copyleft headers on new classes.
|
||||
* Run the `checkSyntax` Gradle tasks before submitting your PR to identify bad formatting. You can use the `spotlessJavaApply` task to fix some of those issues, like license headers.
|
||||
* If your pull request edits very small chunks of code and isn't flawless we might close it as it'll probably take less time to fix it ourselves rather than pull yours and change the code.
|
||||
@@ -19,4 +19,4 @@ jobs:
|
||||
path: ~/.gradle/caches
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }}
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build --no-daemon
|
||||
run: ./gradlew pmdMain spotlessJavaCheck build --no-daemon
|
||||
@@ -123,6 +123,10 @@ pmd {
|
||||
ruleSets = ["java-braces"]
|
||||
}
|
||||
|
||||
task checkSyntax {
|
||||
dependsOn spotlessJavaCheck, pmdMain
|
||||
}
|
||||
|
||||
if (System.getenv().BUILD_NUMBER != null) {
|
||||
//adds the build number to the end of the version string if on a build server
|
||||
version += ".${System.getenv().BUILD_NUMBER}"
|
||||
|
||||
Reference in new issue
Block a user