Skip to content

Commit ceeaf46

Browse files
committed
Merge remote-tracking branch 'fork/dev' into czarandy/dev
2 parents 732a6f3 + e92708c commit ceeaf46

588 files changed

Lines changed: 1784434 additions & 436132 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*.lua]
2+
trim_trailing_whitespace = false
3+
indent_style = tab
4+
max_line_length = 120

.github/ISSUE_TEMPLATE/accuracy_bug_report.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Accuracy bug report
2-
description: Create a bug report to help us fix incorrect wordings
2+
description: Create a bug report to help us fix incorrect wording in Path of Building for PoE1.
33
labels: ["bug:accuracy"]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for reporting an issue.
9-
Please try to fill in as much of the form below as you're able to. Some of the fields marked with an asterisk (*) are required.
8+
Thank you for reporting an issue with PoB-**PoE1**.
9+
[Issues with PoB-PoE2 go here.](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues)
10+
Please try to fill in as much of the form below as you're able to. Fields marked with an asterisk (*) are required.
1011
- type: checkboxes
1112
id: version
1213
attributes:
@@ -19,8 +20,20 @@ body:
1920
attributes:
2021
label: Check for duplicates
2122
options:
22-
- label: I've checked for duplicate issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues)
23+
- label: I've checked for duplicate open **and closed** issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues?q=is%3Aissue)
2324
required: true
25+
- type: dropdown
26+
id: platform
27+
attributes:
28+
label: What platform are you running Path of Building on?
29+
options:
30+
- Windows
31+
- Linux - Wine
32+
- Linux - PoB Frontend
33+
- MacOS
34+
default: 0
35+
validations:
36+
required: true
2437
- type: textarea
2538
id: expected
2639
attributes:
@@ -44,9 +57,9 @@ body:
4457
- type: textarea
4558
id: build_code
4659
attributes:
47-
label: Character build code
60+
label: PoB for PoE1 build code
4861
description: Always provide a build code that exhibits the bug you want to report, even if it is not specific to a particular build. This helps us greatly to reproduce bugs faster.
49-
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a shared build.
62+
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a PoB build.
5063
render: shell
5164
validations:
5265
required: false

.github/ISSUE_TEMPLATE/application_bug_report.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Application bug report
2-
description: Create a bug report to help us fix an issue in Path of Building
2+
description: Create a bug report to help us fix an issue in Path of Building for PoE1.
33
labels: [bug]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for reporting an issue.
9-
Please try to fill in as much of the form below as you're able to. Some of the fields marked with an asterisk (*) are required.
8+
Thank you for reporting an issue with PoB-**PoE1**.
9+
[Issues with PoB-PoE2 go here.](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues).
10+
Please try to fill in as much of the form below as you're able to. Fields marked with an asterisk (*) are required.
1011
- type: checkboxes
1112
id: version
1213
attributes:
@@ -19,8 +20,20 @@ body:
1920
attributes:
2021
label: Check for duplicates
2122
options:
22-
- label: I've checked for duplicate issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues)
23+
- label: I've checked for duplicate open **and closed** issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues?q=is%3Aissue)
2324
required: true
25+
- type: dropdown
26+
id: platform
27+
attributes:
28+
label: What platform are you running Path of Building on?
29+
options:
30+
- Windows
31+
- Linux - Wine
32+
- Linux - PoB Frontend
33+
- MacOS
34+
default: 0
35+
validations:
36+
required: true
2437
- type: textarea
2538
id: expected
2639
attributes:
@@ -53,9 +66,9 @@ body:
5366
- type: textarea
5467
id: build_code
5568
attributes:
56-
label: Character build code
69+
label: PoB for PoE1 build code
5770
description: Always provide a build code that exhibits the bug you want to report, even if it is not specific to a particular build. This helps us greatly to reproduce bugs faster.
58-
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a shared build.
71+
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a PoB build.
5972
render: shell
6073
validations:
6174
required: false

.github/ISSUE_TEMPLATE/behaviour_bug_report.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Behaviour bug report
2-
description: Create a bug report to help us fix incorrect behaviour or logic
2+
description: Create a bug report to help us fix incorrect behaviour or logic in Path of Building for PoE1.
33
labels: ["bug:behaviour"]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for reporting an issue.
9-
Please try to fill in as much of the form below as you're able to. Some of the fields marked with an asterisk (*) are required.
8+
Thank you for reporting an issue with PoB-**PoE1**.
9+
[Issues with PoB-PoE2 go here.](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues).
10+
Please try to fill in as much of the form below as you're able to. Fields marked with an asterisk (*) are required.
1011
- type: checkboxes
1112
id: version
1213
attributes:
@@ -19,7 +20,7 @@ body:
1920
attributes:
2021
label: Check for duplicates
2122
options:
22-
- label: I've checked for duplicate issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues)
23+
- label: I've checked for duplicate open **and closed** issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues?q=is%3Aissue)
2324
required: true
2425
- type: checkboxes
2526
id: validity
@@ -28,6 +29,18 @@ body:
2829
options:
2930
- label: I've checked that the behaviour is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
3031
required: true
32+
- type: dropdown
33+
id: platform
34+
attributes:
35+
label: What platform are you running Path of Building on?
36+
options:
37+
- Windows
38+
- Linux - Wine
39+
- Linux - PoB Frontend
40+
- MacOS
41+
default: 0
42+
validations:
43+
required: true
3144
- type: textarea
3245
id: expected
3346
attributes:
@@ -59,9 +72,9 @@ body:
5972
- type: textarea
6073
id: build_code
6174
attributes:
62-
label: Character build code
75+
label: PoB for PoE1 build code
6376
description: Always provide a build code that exhibits the bug you want to report, even if it is not specific to a particular build. This helps us greatly to reproduce bugs faster.
64-
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a shared build.
77+
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a PoB build.
6578
render: shell
6679
validations:
6780
required: true

.github/ISSUE_TEMPLATE/calculation_bug_report.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Calculation bug report
2-
description: Create a bug report to help us fix incorrect calculations
2+
description: Create a bug report to help us fix incorrect calculations in Path of Building for PoE1.
33
labels: ["bug:calculation"]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for reporting an issue.
9-
Please try to fill in as much of the form below as you're able to. Some of the fields marked with an asterisk (*) are required.
8+
Thank you for reporting an issue with PoB-**PoE1**.
9+
[Issues with PoB-PoE2 go here.](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues)
10+
Please try to fill in as much of the form below as you're able to. Fields marked with an asterisk (*) are required.
1011
- type: checkboxes
1112
id: version
1213
attributes:
@@ -19,7 +20,7 @@ body:
1920
attributes:
2021
label: Check for duplicates
2122
options:
22-
- label: I've checked for duplicate issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues)
23+
- label: I've checked for duplicate open **and closed** issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues?q=is%3Aissue)
2324
required: true
2425
- type: checkboxes
2526
id: validity
@@ -28,6 +29,18 @@ body:
2829
options:
2930
- label: I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
3031
required: true
32+
- type: dropdown
33+
id: platform
34+
attributes:
35+
label: What platform are you running Path of Building on?
36+
options:
37+
- Windows
38+
- Linux - Wine
39+
- Linux - PoB Frontend
40+
- MacOS
41+
default: 0
42+
validations:
43+
required: true
3144
- type: textarea
3245
id: expected
3346
attributes:
@@ -59,9 +72,9 @@ body:
5972
- type: textarea
6073
id: build_code
6174
attributes:
62-
label: Character build code
75+
label: PoB for PoE1 build code
6376
description: Always provide a build code that exhibits the bug you want to report, even if it is not specific to a particular build. This helps us greatly to reproduce bugs faster.
64-
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a shared build.
77+
placeholder: This can be either a code copied from the "Import/Export Build" tab or a link to a PoB build.
6578
render: shell
6679
validations:
6780
required: true

.github/ISSUE_TEMPLATE/crash_report.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Crash report
2-
description: Create a crash report to help us fix critical issues
2+
description: Create a crash report to help us fix critical issues in Path of Building for PoE1.
33
labels: [bug, crash]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for reporting a crash or severe graphical issue.
9-
Please try to fill in as much of the form below as you're able to. Some of the fields marked with an asterisk (*) are required.
8+
Thank you for reporting a crash or severe graphical issue in PoB-**PoE1**.
9+
[Issues with PoB-PoE2 go here.](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues)
10+
Please try to fill in as much of the form below as you're able to. Fields marked with an asterisk (*) are required.
1011
- type: checkboxes
1112
id: version
1213
attributes:
@@ -19,8 +20,20 @@ body:
1920
attributes:
2021
label: Check for duplicates
2122
options:
22-
- label: I've checked for duplicate issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues)
23+
- label: I've checked for duplicate open **and closed** issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues?q=is%3Aissue)
2324
required: true
25+
- type: dropdown
26+
id: platform
27+
attributes:
28+
label: What platform are you running Path of Building on?
29+
options:
30+
- Windows
31+
- Linux - Wine
32+
- Linux - PoB Frontend
33+
- MacOS
34+
default: 0
35+
validations:
36+
required: true
2437
- type: textarea
2538
id: context
2639
attributes:
@@ -58,10 +71,10 @@ body:
5871
- type: textarea
5972
id: build_code
6073
attributes:
61-
label: Character build code
74+
label: PoB for PoE1 build code
6275
description: Provide a build code if the crash/graphical issue is caused by a certain build.
6376
placeholder: |
64-
This can be either a code copied from the "Import/Export Build" tab or a link to a shared build.
77+
This can be either a code copied from the "Import/Export Build" tab or a link to a PoB build.
6578
In the case where Path of Building crashes/doesn't work on startup or when you open a build.
6679
Go to your builds folder (default %userprofile%/Documents/Path of Building/Builds) and copy the problematic build's .xml contents into a pastebin and supply the link.
6780
render: shell

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
name: Feature request
2-
description: Suggest an idea for this project
2+
description: Suggest an idea for Path of Building for PoE1.
33
labels: [enhancement]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for suggesting a feature.
9-
Please try to fill in as much of the form below as you're able to. Some of the fields marked with an asterisk (*) are required.
8+
Thank you for suggesting a feature for PoB-**PoE1**.
9+
[Feature requests for PoB-PoE2 go here.](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/issues).
10+
Please try to fill in as much of the form below as you're able to. Fields marked with an asterisk (*) are required.
1011
- type: checkboxes
1112
id: duplicates
1213
attributes:
1314
label: Check for duplicates
1415
options:
15-
- label: I've checked for duplicate issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues)
16+
- label: I've checked for duplicate open **and closed** issues by using the search function of the [issue tracker](https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues?q=is%3Aissue)
1617
required: true
18+
- type: dropdown
19+
id: platform
20+
attributes:
21+
label: What platform are you running Path of Building on?
22+
options:
23+
- Windows
24+
- Linux - Wine
25+
- Linux - PoB Frontend
26+
- MacOS
27+
default: 0
28+
validations:
29+
required: true
1730
- type: textarea
1831
id: problem
1932
attributes:

.github/workflows/backport.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Port changes to PoB2
2+
3+
on:
4+
pull_request_target:
5+
types: [closed]
6+
7+
env:
8+
LABEL_STRING: ${{ join(github.event.pull_request.labels.*.name, ',') }}
9+
10+
jobs:
11+
backport:
12+
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'pob2')
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Notify PathOfBuilding repo
16+
uses: peter-evans/repository-dispatch@v3
17+
with:
18+
token: ${{ secrets.WIRES77_PAT }}
19+
repository: ${{ github.repository_owner }}/PathOfBuilding-PoE2
20+
event-type: port-changes
21+
client-payload: '{"patch_url": "${{ github.event.pull_request.patch_url }}", "msg": "Apply changes from ${{ github.event.pull_request.html_url }}", "id": ${{ github.event.pull_request.number }}, "title": "${{ github.event.pull_request.title }}", "labels": "${{ env.LABEL_STRING }}", "name": "${{ github.event.pull_request.user.name }}", "user": "${{ github.event.pull_request.user.login }}"}'
22+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update code with code from PoB2
2+
3+
on:
4+
repository_dispatch:
5+
types:
6+
- port-changes
7+
8+
jobs:
9+
apply-patch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
with:
15+
ref: 'dev'
16+
- name: Apply patch
17+
run: |
18+
curl -L ${{ github.event.client_payload.patch_url }} | git apply -v --index
19+
- name: Create Pull Request
20+
uses: peter-evans/create-pull-request@v5
21+
with:
22+
title: "[pob2-port] ${{ github.event.client_payload.title }}"
23+
branch: pob2-pr-${{ github.event.client_payload.id }}
24+
body: |
25+
${{ github.event.client_payload.msg }}
26+
author: ${{ github.event.client_payload.name || github.event.client_payload.user }} <${{ github.event.client_payload.user }}@users.noreply.github.com>
27+
commit-message: ${{ github.event.client_payload.msg }}
28+
labels: ${{ github.event.client_payload.labels }}

0 commit comments

Comments
 (0)