Просмотр исходного кода

:construction_worker: Added .github dir and build workflow for rewrite branch

Signed-off-by: Alessadro Parisi <alessandro.parisi406@gmail.com>
Alessadro Parisi 2 лет назад
Родитель
Сommit
6c2ecae962

+ 13 - 0
.github/FUNDING.yml

@@ -0,0 +1,13 @@
+# These are supported funding model platforms
+
+github: palexdev
+patreon: # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
+custom: [ 'https://www.paypal.com/paypalme/alxpar404/2' ]

+ 47 - 0
.github/ISSUE_TEMPLATE/bug_report.md

@@ -0,0 +1,47 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**DISCLAIMER**
+
+- Please, before reporting a bug make sure you have read the javadocs. If, by reading the issue, I realize you skipped
+  this step it is very likely I will close the issue without even answering, marking it as 'invalid'! MaterialFX
+  documentation is gold, make use of it!
+- Some people seem to not realize that MaterialFX has a demo, basically a workbech for MaterialFX controls, and that it
+  is a very valuable resource since there are a LOT of examples on how to use them.
+  If your issue is about "not knowing how to do this and that" please before asking check the demo maybe the answer is
+  already there.
+- Often the issues are about controls customization. Please before reporting the issue make sure to check the CSS
+  files (both
+  in [materialfx](https://github.com/palexdev/MaterialFX/tree/main/materialfx/src/main/resources/io/github/palexdev/materialfx/css)
+  and [demo](https://github.com/palexdev/MaterialFX/tree/main/demo/src/main/resources/io/github/palexdev/materialfx/demo/css)
+  modules) as the answer may already be there.
+  **Now that you have read the disclaimer you can remove it and proceed with the issue report**
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**[MRE](https://bit.ly/3k5gTJf)(Minimal Reproducible Example)**
+
+- This is almost mandatory, if I can't reproduce the issue then it doesn't exist
+- The preferred way to submit a MRE would be to zip it and attach it here
+- If possible the MRE should make use of Gradle(preferred) or Maven to quickly setup the project
+
+**To Reproduce**
+Steps to reproduce the behavior:
+
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.

+ 20 - 0
.github/ISSUE_TEMPLATE/feature_request.md

@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.

+ 24 - 0
.github/ISSUE_TEMPLATE/general.md

@@ -0,0 +1,24 @@
+---
+name: General
+about: This is for anything else that is not a bug or a feature request
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**DISCLAIMER**
+
+- Please, before reporting this issue make sure you have read the javadocs. If, by reading the issue, I realize you
+  skipped this step it is very likely I will close the issue without even answering, marking it as 'invalid'! MaterialFX
+  documentation is gold, make use of it!
+- Some people seem to not realize that MaterialFX has a demo, basically a workbech for MaterialFX controls, and that it
+  is a very valuable resource since there are a LOT of examples on how to use them.
+  If your issue is about "not knowing how to do this and that" please before asking check the demo maybe the answer is
+  already there.
+- Often the issues are about controls customization. Please before reporting the issue make sure to check the CSS
+  files (both
+  in [materialfx](https://github.com/palexdev/MaterialFX/tree/main/materialfx/src/main/resources/io/github/palexdev/materialfx/css)
+  and [demo](https://github.com/palexdev/MaterialFX/tree/main/demo/src/main/resources/io/github/palexdev/materialfx/demo/css)
+  modules) as the answer may already be there.
+  **Now that you have read the disclaimer you can remove it and proceed with the issue report**

+ 27 - 0
.github/stale.yml

@@ -0,0 +1,27 @@
+# Number of days of inactivity before an issue becomes stale
+daysUntilStale: 28
+# Number of days of inactivity before a stale issue is closed
+daysUntilClose: 7
+# Issues with these labels will never be considered stale
+exemptLabels:
+  - bug
+  - css
+  - documentation
+  - enhancement
+  - help wanted
+  - pinned
+  - question
+  - roadmap
+  - staging
+  - to-evaluate
+  - wip
+# Label to use when marking an issue as stale
+staleLabel: stale
+# Comment to post when marking an issue as stale. Set to `false` to disable
+markComment: >
+  This issue has been automatically marked as stale because it has not had
+  recent activity. It will be closed if no further activity occurs. Thank you
+  for your contributions.
+# Comment to post when closing a stale issue. Set to `false` to disable
+closeComment: >
+  Closed for inactivity.

+ 26 - 0
.github/workflows/gradle.yml

@@ -0,0 +1,26 @@
+# This workflow will build a Java project with Gradle
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
+
+name: Build rewrite
+
+on:
+  push:
+    branches: [ rewrite ]
+  pull_request:
+    branches: [ rewrite ]
+
+jobs:
+  build:
+
+    runs-on: windows-latest
+
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up JDK 17
+        uses: actions/setup-java@v1
+        with:
+          java-version: 17.0.2
+      - name: Grant execute permission for gradlew
+        run: chmod +x gradlew
+      - name: Build with Gradle
+        run: ./gradlew build -x test