Skip to content

Commit e2441d5

Browse files
committed
Change to new library template.
1 parent 41fd971 commit e2441d5

File tree

462 files changed

+112923
-144315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

462 files changed

+112923
-144315
lines changed

.classpath

-17
This file was deleted.

.gitattributes

-2
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Bug Report"
2+
description: "Report a bug with the library template."
3+
title: "Describe the bug"
4+
labels: ["bug"]
5+
body:
6+
- type: textarea
7+
id: bug_description
8+
attributes:
9+
label: "Describe the bug"
10+
placeholder: "Provide a clear description of the bug."
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: steps_to_reproduce
15+
attributes:
16+
label: "Steps to reproduce"
17+
placeholder: "List the steps to reproduce the issue."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected_behavior
22+
attributes:
23+
label: "Expected behavior"
24+
placeholder: "Describe what you expected to happen."
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: actual_behavior
29+
attributes:
30+
label: "Actual behavior"
31+
placeholder: "Describe what actually happened."
32+
validations:
33+
required: true
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Feature Request"
2+
description: "Request a new feature or enhancement."
3+
title: "Describe the feature"
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: enhancement_description
8+
attributes:
9+
label: "Describe the feature or enhancement"
10+
placeholder: "Provide a clear description of the requested feature."
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: use_case
15+
attributes:
16+
label: "What is the use case?"
17+
placeholder: "Explain the problem this feature will solve."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: alternatives
22+
attributes:
23+
label: "Alternatives considered"
24+
placeholder: "List any alternative solutions you’ve considered."
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "🙋‍♀️ Processing Library Template Feedback"
2+
description: "Provide feedback on your experience using the Processing library template."
3+
title: "Summarize your feedback"
4+
labels: ["feedback"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for trying this version of the Processing library template. Your answers will help us improve this template for you and others. Thanks in advance for your feedback!
10+
- type: textarea
11+
id: experience
12+
attributes:
13+
label: "Were you able to successfully create a library with this template? What has been your general experience with this template?"
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: benefits
18+
attributes:
19+
label: "What are the benefits of using this template?"
20+
- type: textarea
21+
id: improvements
22+
attributes:
23+
label: "What could be improved with this template?"
24+
- type: textarea
25+
id: other_templates
26+
attributes:
27+
label: "Have you tried other Processing library templates? If so, which ones?"
28+
- type: textarea
29+
id: other_experience
30+
attributes:
31+
label: "What was your experience with the other templates?"

.github/workflows/deploy_website.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: deploy_website
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
deploy:
11+
concurrency: ci-${{ github.ref }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout sources
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
22+
- name: Install dependencies
23+
run: pip install mkdocs-material
24+
25+
- name: Build website
26+
run: mkdocs build
27+
28+
- name: Deploy website
29+
uses: JamesIves/github-pages-deploy-action@v4
30+
with:
31+
folder: site
32+
branch: gh-pages
33+
clean-exclude: pr-preview
34+
force: false

.github/workflows/pr_preview.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy PR preview
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- reopened
7+
- synchronize
8+
- closed
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
13+
jobs:
14+
deploy-preview:
15+
concurrency: preview-${{ github.ref }}
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout sources
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: 3.x
25+
26+
- name: Install dependencies
27+
run: pip install mkdocs-material
28+
29+
- name: Build website
30+
if: github.event.action != 'closed'
31+
run: mkdocs build
32+
33+
- name: Deploy preview
34+
uses: rossjrw/pr-preview-action@v1
35+
with:
36+
source-dir: site
37+
preview-branch: gh-pages
38+
umbrella-dir: pr-preview

.github/workflows/release.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
permissions: write-all
11+
runs-on: ubuntu-latest
12+
env:
13+
TAG_NAME: ${{ github.event.inputs.tag }}
14+
steps:
15+
- name: Checkout sources
16+
uses: actions/checkout@v4
17+
- name: Setup Java
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'temurin'
21+
java-version: 17
22+
- name: Setup Gradle
23+
uses: gradle/actions/setup-gradle@v3
24+
with:
25+
gradle-version: 8.5
26+
- name: Build with Gradle
27+
id: build
28+
run: gradle buildReleaseArtifacts
29+
- name: Release
30+
uses: softprops/action-gh-release@v2
31+
with:
32+
files: |
33+
release/*.txt
34+
release/*.zip
35+
release/*.pdex

.gitignore

+65-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,70 @@
1-
/doc/
2-
/distribution/*/reference/
1+
.gradle
2+
build/
3+
libs/
4+
release/
5+
!gradle/wrapper/gradle-wrapper.jar
6+
!**/src/main/**/build/
7+
!**/src/test/**/build/
38

4-
*.idea
9+
### IntelliJ IDEA ###
10+
.idea
11+
.idea/modules.xml
12+
.idea/jarRepositories.xml
13+
.idea/compiler.xml
14+
.idea/libraries/
15+
*.iws
16+
*.iml
17+
*.ipr
18+
out/
19+
!**/src/main/**/out/
20+
!**/src/test/**/out/
21+
22+
### Eclipse ###
23+
.apt_generated
24+
.classpath
25+
.factorypath
26+
.project
27+
.settings
28+
.springBeans
29+
.sts4-cache
30+
bin/
31+
!**/src/main/**/bin/
32+
!**/src/test/**/bin/
33+
34+
### NetBeans ###
35+
/nbproject/private/
36+
/nbbuild/
37+
/dist/
38+
/nbdist/
39+
/.nb-gradle/
40+
41+
### VS Code ###
42+
.vscode/
43+
44+
### Mac OS ###
45+
.DS_Store
46+
47+
# Compiled class file
48+
*.class
49+
50+
# Log file
551
*.log
6-
*.tmp
52+
53+
# BlueJ files
754
*.ctxt
55+
56+
# Mobile Tools for Java (J2ME)
857
.mtj.tmp/
58+
59+
# Package Files #
60+
*.jar
61+
*.war
62+
*.nar
63+
*.ear
64+
*.zip
65+
*.tar.gz
66+
*.rar
67+
68+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
969
hs_err_pid*
10-
/bin/
70+
replay_pid*

.project

-28
This file was deleted.

.settings/org.eclipse.core.resources.prefs

-2
This file was deleted.

0 commit comments

Comments
 (0)