-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51ce641
commit 64d18bf
Showing
20 changed files
with
617 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "\U0001F41E Bug Report" | ||
labels: ["kind/bug", "status/triage"] | ||
description: "Rank Torrent Name (RTN) not working the way it is documented?" | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to file a complete bug report. | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: | | ||
Please describe what happened, with as much pertinent information as you can. Feel free to use markdown syntax. | ||
Also, ensure that the issue is not already fixed in the latest release. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Workarounds | ||
description: | | ||
Is there a mitigation or workaround that allows users to avoid the issue today? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Attach Error Logs | ||
description: | | ||
Please attach logs or error messages that can help in debugging the issue. | ||
render: 'bash session' | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: "\U0001F381 Feature Request" | ||
labels: ["kind/feature", "status/triage"] | ||
description: "Did you find bugs, errors, or anything that isn't straightforward in the documentation?" | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to file a complete bug report. | ||
Before submitting your issue, please search [issues](https://github.com/dreulavelle/rank-torrent-name/issues) to ensure this is not a duplicate. | ||
If the issue is trivial, why not submit a pull request instead? | ||
- type: dropdown | ||
attributes: | ||
label: Issue Kind | ||
description: | | ||
What best describes this issue? | ||
options: | ||
- "New Feature Request" | ||
- "Change in current behaviour" | ||
- "Other" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: | | ||
Please describe the issue, with as much pertinent information as you can. Feel free to use markdown syntax. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Impact | ||
description: | | ||
Please describe the motivation for this issue. Describe, as best you can, how this improves or impacts the users of RTN and why this is important. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Workarounds | ||
description: | | ||
Is there a mitigation, workaround, or another application that allows users to achieve the same functionality today? | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: "\U0001F41E Bug Report" | ||
labels: ["kind/maintainer", "status/triage"] | ||
description: "Want to help in the development of Rank Torrent Name (RTN)?" | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to file a complete bug report. | ||
- type: dropdown | ||
attributes: | ||
label: Experience | ||
description: | | ||
Do you have experience in Python? | ||
options: | ||
- "Yes" | ||
- "No" | ||
- "Willing to learn" | ||
- "I bring experience in another area" | ||
- "Other" | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
attributes: | ||
label: Operating System | ||
description: | | ||
What Operating System are you using? | ||
options: | ||
- "Windows" | ||
- "macOS" | ||
- "Linux" | ||
- "Other" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: | | ||
What can you do to help in the development of RTN? Feel free to use markdown syntax. | ||
Do you have experience in testing, documentation, or any other area that can help in development? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: What can you do? | ||
description: | | ||
Please describe what you can do to help in the development of RTN. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: '💬 Discussions' | ||
url: https://github.com/dreulavelle/rank-torrent-name/discussions | ||
about: | | ||
Ask questions about using Rank Torrent Name (RTN), features and roadmap, or get support and feedback for your usage of RTN. | ||
- name: '💬 Discord Server' | ||
url: https://discord.gg/38SFhtN8ph | ||
about: | | ||
Chat with the community and RTN maintainers about both the usage of and development of the project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Pull Request Check List | ||
|
||
Resolves: #issue-number-here | ||
|
||
- [ ] Added **tests** for changed code. | ||
- [ ] Updated **documentation** for changed code. | ||
|
||
<!-- If you have *any* questions to *any* of the points above, just **submit and ask**! This checklist is here to *help* you, not to deter you from contributing! --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Run Battery of Checks | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, 3.10, 3.11, 3.12] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pip install poetry | ||
poetry install | ||
- name: Lint with Ruff | ||
run: poetry run ruff check ./RTN | ||
- name: Check imports with isort | ||
run: poetry run isort --check-only ./RTN | ||
- name: Type check | ||
run: poetry run pyright | ||
- name: Run Tests | ||
run: poetry run pytest | ||
- name: Coverage Report | ||
run: | | ||
poetry run coverage run -m pytest | ||
poetry run coverage xml | ||
poetry run coverage report -m | ||
- name: Upload coverage report to Codecov | ||
uses: codecov/codecov-action@v4.0.1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- RTN | ||
paths-ignore: | ||
- '**/*.md' | ||
- '**/*.txt' | ||
- '**/*.json' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'python' ] | ||
# For more customization, see: https://docs.github.com/en/code-security/secure-coding/configuring-code-scanning | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
# Optional. Specify a category to distinguish between multiple analyses | ||
# for the same tool and ref. If you don't use `category` in your workflow, | ||
# GitHub will generate a default category name for you | ||
category: "rtn" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Publish Python Package to PyPI | ||
name: Publish RTN to PyPI | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## Performance Benchmarking | ||
|
||
We use `pyperf` for performance benchmarking to ensure that changes do not adversely affect the performance of RTN. If you're making changes that might impact performance, please run the benchmarks with: | ||
|
||
```bash | ||
make benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ | |
"ParsedData", | ||
"BaseRankingModel", | ||
"DefaultRanking", | ||
"SettingsModel" | ||
"SettingsModel", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.