Skip to content

Commit 66a1754

Browse files
authored
Initial commit
0 parents  commit 66a1754

File tree

7 files changed

+1170
-0
lines changed

7 files changed

+1170
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Bug report
2+
description: Found a bug? Report it here!
3+
title: '[Bug] '
4+
body:
5+
- type: checkboxes
6+
id: checklist
7+
attributes:
8+
label: Checklist
9+
description: Please make sure all of the following applies to your issue.
10+
options:
11+
- label: I've checked issues to see if my bug has been reported yet.
12+
required: true
13+
- label: I'm reporting a Plugin software bug, not a user.
14+
required: true
15+
- label: I've provided as much info/evidence as I can.
16+
required: true
17+
- type: input
18+
id: version
19+
attributes:
20+
label: Version
21+
description: What Plugin version did you use when you encountered the bug?
22+
placeholder: 1.0.0, 1.0.1, etc.
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: bug-desc
27+
attributes:
28+
label: Bug description
29+
description: Please provide a clear and concise description of what the bug is.
30+
placeholder: e.g. "When running u!help, I get an error in the console saying 'list index out of range'."
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: bug-repro
35+
attributes:
36+
label: Reproduction steps
37+
description: What should we do to reproduce the bug?
38+
placeholder: e.g. 1. Run u!help 2. Click on any extension 3. See error
39+
validations:
40+
required: true
41+
- type: textarea
42+
id: bug-expected
43+
attributes:
44+
label: Expected behavior
45+
description: What should've happened instead?
46+
validations:
47+
required: true
48+
- type: input
49+
id: plugins
50+
attributes:
51+
label: Plugins
52+
description: What other plugins were you using at the time?
53+
placeholder: RaidGuard, Revolt Support, etc.
54+
- type: checkboxes
55+
id: modified
56+
attributes:
57+
label: Modified instance
58+
description: Are you using a modified version of the Plugin?
59+
options:
60+
- label: Yes, I'm using a modified version of the Plugin.
61+
required: false
62+
- type: input
63+
id: modified-repo
64+
attributes:
65+
label: Modified Plugin repository
66+
description: If you're using a modified version of the plugin, please provide its repository here. This is only required if you've selected the checkbox above.
67+
- type: textarea
68+
id: screenshots
69+
attributes:
70+
label: Screenshots
71+
description: If you have screenshots of the bug, please attach them here.

.github/workflows/pylint.yml

Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
name: Pylint
2+
3+
on: [push]
4+
5+
jobs:
6+
build-linux:
7+
name: "Linux (Optimized)"
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.12", "3.13"]
12+
steps:
13+
- name: Download Plugin
14+
uses: actions/checkout@v4
15+
- name: Download Unifier
16+
uses: actions/checkout@v4
17+
with:
18+
repository: UnifierHQ/unifier
19+
path: unifier
20+
- name: Download dependency reader
21+
uses: actions/checkout@v4
22+
with:
23+
repository: UnifierHQ/plugin-dependency-reader
24+
path: reader
25+
- name: Copy Unifier files
26+
run: |
27+
mkdir utils
28+
cp -r unifier/utils/* utils
29+
cp unifier/requirements.txt requirements_unifier.txt
30+
- name: Set up Python ${{ matrix.python-version }}
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: ${{ matrix.python-version }}
34+
- name: Read Plugin requirements
35+
run: |
36+
python reader/reader.py
37+
- name: Install dependencies
38+
run: |
39+
python -m pip install --upgrade pip
40+
pip install -r requirements_unifier.txt
41+
pip install -r requirements.txt
42+
pip install pylint
43+
- name: Pylint analysis
44+
run: |
45+
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
46+
47+
build-linux-balanced:
48+
name: "Linux (Balanced)"
49+
runs-on: ubuntu-latest
50+
strategy:
51+
matrix:
52+
python-version: ["3.12", "3.13"]
53+
steps:
54+
- name: Download Plugin
55+
uses: actions/checkout@v4
56+
- name: Download Unifier
57+
uses: actions/checkout@v4
58+
with:
59+
repository: UnifierHQ/unifier
60+
path: unifier
61+
- name: Download dependency reader
62+
uses: actions/checkout@v4
63+
with:
64+
repository: UnifierHQ/plugin-dependency-reader
65+
path: reader
66+
- name: Copy Unifier files
67+
run: |
68+
mkdir utils
69+
cp -r unifier/utils/* utils
70+
cp unifier/requirements_balanced.txt requirements_unifier.txt
71+
- name: Set up Python ${{ matrix.python-version }}
72+
uses: actions/setup-python@v5
73+
with:
74+
python-version: ${{ matrix.python-version }}
75+
- name: Read Plugin requirements
76+
run: |
77+
python reader/reader.py
78+
- name: Install dependencies
79+
run: |
80+
python -m pip install --upgrade pip
81+
pip install -r requirements_unifier.txt
82+
pip install -r requirements.txt
83+
pip install pylint
84+
- name: Pylint analysis
85+
run: |
86+
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
87+
88+
build-linux-stable:
89+
name: "Linux (Stable)"
90+
runs-on: ubuntu-latest
91+
strategy:
92+
matrix:
93+
python-version: ["3.12", "3.13"]
94+
steps:
95+
- name: Download Plugin
96+
uses: actions/checkout@v4
97+
- name: Download Unifier
98+
uses: actions/checkout@v4
99+
with:
100+
repository: UnifierHQ/unifier
101+
path: unifier
102+
- name: Download dependency reader
103+
uses: actions/checkout@v4
104+
with:
105+
repository: UnifierHQ/plugin-dependency-reader
106+
path: reader
107+
- name: Copy Unifier files
108+
run: |
109+
mkdir utils
110+
cp -r unifier/utils/* utils
111+
cp unifier/requirements_stable.txt requirements_unifier.txt
112+
- name: Set up Python ${{ matrix.python-version }}
113+
uses: actions/setup-python@v5
114+
with:
115+
python-version: ${{ matrix.python-version }}
116+
- name: Read Plugin requirements
117+
run: |
118+
python reader/reader.py
119+
- name: Install dependencies
120+
run: |
121+
python -m pip install --upgrade pip
122+
pip install -r requirements_unifier.txt
123+
pip install -r requirements.txt
124+
pip install pylint
125+
- name: Pylint analysis
126+
run: |
127+
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
128+
129+
build-windows:
130+
name: "Windows (Optimized)"
131+
runs-on: windows-latest
132+
strategy:
133+
matrix:
134+
python-version: ["3.12"]
135+
steps:
136+
- name: Download Plugin
137+
uses: actions/checkout@v4
138+
- name: Download Unifier
139+
uses: actions/checkout@v4
140+
with:
141+
repository: UnifierHQ/unifier
142+
path: unifier
143+
- name: Download dependency reader
144+
uses: actions/checkout@v4
145+
with:
146+
repository: UnifierHQ/plugin-dependency-reader
147+
path: reader
148+
- name: Copy Unifier files
149+
run: |
150+
New-Item -Path utils -ItemType Directory
151+
Copy-item -Force -Recurse unifier/utils/* -Destination utils/
152+
Copy-item -Force unifier/requirements.txt -Destination requirements_unifier.txt
153+
- name: Set up Python ${{ matrix.python-version }}
154+
uses: actions/setup-python@v5
155+
with:
156+
python-version: ${{ matrix.python-version }}
157+
- name: Read Plugin requirements
158+
run: |
159+
python reader/reader.py
160+
- name: Install dependencies
161+
run: |
162+
python -m pip install --upgrade pip
163+
pip install -r requirements_unifier.txt
164+
pip install -r requirements.txt
165+
pip install pylint
166+
- name: Pylint analysis
167+
run: |
168+
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
169+
170+
build-windows-balanced:
171+
name: "Windows (Balanced)"
172+
runs-on: windows-latest
173+
strategy:
174+
matrix:
175+
python-version: ["3.12"]
176+
steps:
177+
- name: Download Plugin
178+
uses: actions/checkout@v4
179+
- name: Download Unifier
180+
uses: actions/checkout@v4
181+
with:
182+
repository: UnifierHQ/unifier
183+
path: unifier
184+
- name: Download dependency reader
185+
uses: actions/checkout@v4
186+
with:
187+
repository: UnifierHQ/plugin-dependency-reader
188+
path: reader
189+
- name: Copy Unifier files
190+
run: |
191+
New-Item -Path utils -ItemType Directory
192+
Copy-item -Force -Recurse unifier/utils/* -Destination utils/
193+
Copy-item -Force unifier/requirements_balanced.txt -Destination requirements_unifier.txt
194+
- name: Set up Python ${{ matrix.python-version }}
195+
uses: actions/setup-python@v5
196+
with:
197+
python-version: ${{ matrix.python-version }}
198+
- name: Read Plugin requirements
199+
run: |
200+
python reader/reader.py
201+
- name: Install dependencies
202+
run: |
203+
python -m pip install --upgrade pip
204+
pip install -r requirements_unifier.txt
205+
pip install -r requirements.txt
206+
pip install pylint
207+
- name: Pylint analysis
208+
run: |
209+
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
210+
211+
build-windows-stable:
212+
name: "Windows (Stable)"
213+
runs-on: windows-latest
214+
strategy:
215+
matrix:
216+
python-version: ["3.12", "3.13"]
217+
steps:
218+
- name: Download Plugin
219+
uses: actions/checkout@v4
220+
- name: Download Unifier
221+
uses: actions/checkout@v4
222+
with:
223+
repository: UnifierHQ/unifier
224+
path: unifier
225+
- name: Download dependency reader
226+
uses: actions/checkout@v4
227+
with:
228+
repository: UnifierHQ/plugin-dependency-reader
229+
path: reader
230+
- name: Copy Unifier files
231+
run: |
232+
New-Item -Path utils -ItemType Directory
233+
Copy-item -Force -Recurse unifier/utils/* -Destination utils/
234+
Copy-item -Force unifier/requirements_stable.txt -Destination requirements_unifier.txt
235+
- name: Set up Python ${{ matrix.python-version }}
236+
uses: actions/setup-python@v5
237+
with:
238+
python-version: ${{ matrix.python-version }}
239+
- name: Read Plugin requirements
240+
run: |
241+
python reader/reader.py
242+
- name: Install dependencies
243+
run: |
244+
python -m pip install --upgrade pip
245+
pip install -r requirements_unifier.txt
246+
pip install -r requirements.txt
247+
pip install pylint
248+
- name: Pylint analysis
249+
run: |
250+
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')

0 commit comments

Comments
 (0)