Skip to content

Commit 988efe8

Browse files
author
LocalIdentity
committed
Merge branch 'dev'
2 parents 46f9810 + 8b3ec35 commit 988efe8

File tree

99 files changed

+18714
-17399
lines changed

Some content is hidden

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

99 files changed

+18714
-17399
lines changed

.github/ISSUE_TEMPLATE/accuracy_bug_report.yaml

Lines changed: 6 additions & 5 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:
@@ -56,9 +57,9 @@ body:
5657
- type: textarea
5758
id: build_code
5859
attributes:
59-
label: Character build code
60+
label: PoB for PoE1 build code
6061
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.
61-
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.
6263
render: shell
6364
validations:
6465
required: false

.github/ISSUE_TEMPLATE/application_bug_report.yaml

Lines changed: 6 additions & 5 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:
@@ -65,9 +66,9 @@ body:
6566
- type: textarea
6667
id: build_code
6768
attributes:
68-
label: Character build code
69+
label: PoB for PoE1 build code
6970
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.
70-
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.
7172
render: shell
7273
validations:
7374
required: false

.github/ISSUE_TEMPLATE/behaviour_bug_report.yaml

Lines changed: 6 additions & 5 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:
@@ -71,9 +72,9 @@ body:
7172
- type: textarea
7273
id: build_code
7374
attributes:
74-
label: Character build code
75+
label: PoB for PoE1 build code
7576
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.
76-
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.
7778
render: shell
7879
validations:
7980
required: true

.github/ISSUE_TEMPLATE/calculation_bug_report.yaml

Lines changed: 6 additions & 5 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:
@@ -71,9 +72,9 @@ body:
7172
- type: textarea
7273
id: build_code
7374
attributes:
74-
label: Character build code
75+
label: PoB for PoE1 build code
7576
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.
76-
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.
7778
render: shell
7879
validations:
7980
required: true

.github/ISSUE_TEMPLATE/crash_report.yaml

Lines changed: 6 additions & 5 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:
@@ -70,10 +71,10 @@ body:
7071
- type: textarea
7172
id: build_code
7273
attributes:
73-
label: Character build code
74+
label: PoB for PoE1 build code
7475
description: Provide a build code if the crash/graphical issue is caused by a certain build.
7576
placeholder: |
76-
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.
7778
In the case where Path of Building crashes/doesn't work on startup or when you open a build.
7879
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.
7980
render: shell

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
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:

.github/workflows/builddocker.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build and publish busted tests docker image
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
build-and-push-image:
6+
runs-on: ubuntu-latest
7+
permissions:
8+
contents: read
9+
packages: write
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
- name: Log in to the Container registry
14+
uses: docker/login-action@v3
15+
with:
16+
registry: ghcr.io
17+
username: ${{ github.repository_owner }}
18+
password: ${{ secrets.GITHUB_TOKEN }}
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
- name: Generate docker image metadata
22+
uses: docker/metadata-action@v5
23+
id: meta
24+
with:
25+
images: |
26+
ghcr.io/${{ github.repository_owner }}/pathofbuilding-tests
27+
labels: |
28+
org.opencontainers.image.description=A docker image packaged with the correct versions of tools to run PathOfBuilding busted tests. Includes emmylua debugger files. Refer to https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/dev/CONTRIBUTING.md for usage instructions.
29+
org.opencontainers.image.licenses=https://opensource.org/licenses/MIT
30+
tags: |
31+
type=sha
32+
type=raw,value=latest
33+
- name: Build and push Docker image
34+
uses: docker/build-push-action@v5
35+
with:
36+
context: .
37+
push: true
38+
platforms: linux/amd64
39+
cache-from: type=gha
40+
cache-to: type=gha,mode=max
41+
tags: ${{ steps.meta.outputs.tags }}
42+
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/installer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
ref: 'master'
1616
ssh-key: '${{ secrets.POB_INSTALLER_KEY }}'
1717
- name: Create installer
18-
run: 'python3 make_release.py'
18+
run: 'python3 make_release.py --game-version 1'
1919
- name: Upload artifact
2020
run: >
2121
gh release upload ${{ github.event.release.tag_name }} (Get-ChildItem Dist -File).FullName --clobber -R ${{ github.repository }};

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ jobs:
3434
sed -i '1h;1d;$!H;$!d;G' temp_change.md;
3535
sed -i -re 's/\*\*Full Changelog\*\*: (.*)/\[Full Changelog\]\(\1\)\n/' temp_change.md;
3636
sed -i '/## New Contributors/,$d' temp_change.md;
37-
sed -i -re 's/^\*(.*)\sby\s@(.*)\sin\s(.*\/pull\/)(.*)/-\1 [\\#\4](\3\4) ([\2](https:\/\/github.com\/\2))/' temp_change.md;
37+
sed -i -re 's/^\*(.*)\sby\s@(.*)\sin\s(.*\/pull\/)(.*)\r/-\1 [\\#\4](\3\4) ([\2](https:\/\/github.com\/\2))/' temp_change.md;
3838
sed -i 's/\[Quotae/\[Quote_a/' temp_change.md;
3939
sed -i 's/\[learn2draw/\[Lexy/' temp_change.md;
4040
sed -i 's/\[Voronoff/\[Tom Clancy Is Dead/' temp_change.md;
4141
sed -i 's/\[PJacek/\[TPlant/' temp_change.md;
42+
sed -i 's/\[justjuangui/\[trompetin17/' temp_change.md;
4243
cp temp_change.md changelog_temp.txt;
4344
cat CHANGELOG.md | sed '1d' >> temp_change.md;
4445
printf "# Changelog\n\n## [v${{ github.event.inputs.releaseVersion }}](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tree/v${{ github.event.inputs.releaseVersion }}) ($(date +'%Y/%m/%d'))\n\n" | cat - temp_change.md > CHANGELOG.md;

.github/workflows/test.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,15 @@ on:
44
branches: [ dev ]
55
pull_request:
66
branches: [ dev ]
7+
workflow_dispatch:
78
jobs:
89
run_tests:
910
runs-on: ubuntu-latest
11+
container: ghcr.io/pathofbuildingcommunity/pathofbuilding-tests:latest
1012
steps:
1113
- name: Checkout
12-
uses: actions/checkout@v2
13-
- name: Install Lua/LuaJIT
14-
uses: leafo/[email protected]
15-
with:
16-
luaVersion: "luajit-2.0.5"
17-
- name: Install LuaRocks
18-
uses: leafo/[email protected]
19-
- name: Install busted
20-
run: luarocks install busted
21-
- name: Install cluacov
22-
run: luarocks install cluacov 0.1.2-1
23-
- name: Install coveralls integration
24-
run: luarocks install luacov-coveralls
14+
uses: actions/checkout@v4
2515
- name: Run tests
26-
run: busted --lua=/home/runner/work/PathOfBuilding/PathOfBuilding/.lua/bin/luajit
16+
run: busted --lua=luajit
2717
- name: Report coverage
2818
run: cd src; luacov-coveralls --repo-token=${{ secrets.github_token }} -e TestData -e Data -e runtime

0 commit comments

Comments
 (0)