From f065bd63757275df27c8c9e4a79acd5206bc9e48 Mon Sep 17 00:00:00 2001 From: Jyotishman Das <107503099+rishi02102017@users.noreply.github.com> Date: Mon, 9 Nov 2026 18:59:09 +0000 Subject: [PATCH] [docs] Convert issue templates to issue forms #364 --- .github/ISSUE_TEMPLATE/scenedetect_app.md | 27 ------------ .github/ISSUE_TEMPLATE/scenedetect_app.yml | 43 +++++++++++++++++++ .github/ISSUE_TEMPLATE/scenedetect_package.md | 28 ------------ .../ISSUE_TEMPLATE/scenedetect_package.yml | 40 +++++++++++++++++ .github/ISSUE_TEMPLATE/scenedetect_request.md | 25 ----------- .../ISSUE_TEMPLATE/scenedetect_request.yml | 36 ++++++++++++++++ 6 files changed, 119 insertions(+), 80 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/scenedetect_app.md create mode 100644 .github/ISSUE_TEMPLATE/scenedetect_app.yml delete mode 100644 .github/ISSUE_TEMPLATE/scenedetect_package.md create mode 100644 .github/ISSUE_TEMPLATE/scenedetect_package.yml delete mode 100644 .github/ISSUE_TEMPLATE/scenedetect_request.md create mode 100644 .github/ISSUE_TEMPLATE/scenedetect_request.yml diff --git a/.github/ISSUE_TEMPLATE/scenedetect_app.md b/.github/ISSUE_TEMPLATE/scenedetect_app.md deleted file mode 100644 index 49658a85..00000000 --- a/.github/ISSUE_TEMPLATE/scenedetect_app.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Application Bug -about: Help us fix and improve PySceneDetect by reporting bugs or other issues. - ---- - -**Description:** - -Describe what the bug or issue is (e.g. crashes when setting X) and how it can be reproduced. - -**Command:** - -Place a full copy of the command line options you are using here, for example: - -`scenedetect -i some_video.mp4 -s some_video.stats.csv -o outdir detect-content --threshold 28 list-scenes save-images` - -**Output:** - -Copy the output of running the application here. Where possible, generate a debug log by adding `-v debug -l BUG_REPORT.txt` to the beginning of your command, and **attach `BUG_REPORT.txt` to your issue**. - -**Environment:** - -The operating system and how you installed PySceneDetect may be relevant to the issue. Please run `scenedetect version` and copy the output here, or provide other details on how PySceneDetect was installed. - -**Media/Files:** - -Attach or link to any files relevant to the issue, including videos (or YouTube links), scene files, stats files, and log output. diff --git a/.github/ISSUE_TEMPLATE/scenedetect_app.yml b/.github/ISSUE_TEMPLATE/scenedetect_app.yml new file mode 100644 index 00000000..421ca3b9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/scenedetect_app.yml @@ -0,0 +1,43 @@ +name: Application Bug +description: Help us fix and improve PySceneDetect by reporting bugs or other issues. +body: + - type: textarea + id: description + attributes: + label: Description + description: Describe what the bug or issue is (e.g. crashes when setting X) and how it can be reproduced. + validations: + required: true + - type: textarea + id: command + attributes: + label: Command + description: Place a full copy of the command line options you are using here. + placeholder: scenedetect -i some_video.mp4 -s some_video.stats.csv -o outdir detect-content --threshold 28 list-scenes save-images + render: shell + validations: + required: true + - type: textarea + id: output + attributes: + label: Output + description: >- + Copy the output of running the application here. Where possible, generate a debug log by adding + `-v debug -l BUG_REPORT.txt` to the beginning of your command, and **attach `BUG_REPORT.txt` to your issue**. + - type: textarea + id: environment + attributes: + label: Environment + description: >- + The operating system and how you installed PySceneDetect may be relevant to the issue. Please run + `scenedetect version` and copy the output here, or provide other details on how PySceneDetect was installed. + render: text + validations: + required: true + - type: textarea + id: media + attributes: + label: Media/Files + description: >- + Attach or link to any files relevant to the issue, including videos (or YouTube links), scene files, stats + files, and log output. diff --git a/.github/ISSUE_TEMPLATE/scenedetect_package.md b/.github/ISSUE_TEMPLATE/scenedetect_package.md deleted file mode 100644 index 3215afc0..00000000 --- a/.github/ISSUE_TEMPLATE/scenedetect_package.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Python API -about: Programmers using the `scenedetect` package. - ---- - -**Description:** - -Describe the issue (unexpected result, exception thrown, etc...) and any relevant output. - -**Example:** - -Include code samples that demonstrate the issue: - -```python -from scenedetect import detect, ContentDetector, split_video_ffmpeg - -scene_list = detect("my_video.mp4", ContentDetector()) -split_video_ffmpeg("my_video.mp4", scene_list) -``` - -**Environment:** - -Run `scenedetect version` and include the output. This will describe the environment/OS/platform and versions of dependencies you have installed. - -**Media/Files:** - -Attach or link to any files relevant to the issue, including videos (or YouTube links), scene files, stats files, and log output. diff --git a/.github/ISSUE_TEMPLATE/scenedetect_package.yml b/.github/ISSUE_TEMPLATE/scenedetect_package.yml new file mode 100644 index 00000000..b34a4040 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/scenedetect_package.yml @@ -0,0 +1,40 @@ +name: Python API +description: Programmers using the `scenedetect` package. +body: + - type: textarea + id: description + attributes: + label: Description + description: Describe the issue (unexpected result, exception thrown, etc...) and any relevant output. + validations: + required: true + - type: textarea + id: example + attributes: + label: Example + description: Include code samples that demonstrate the issue. + placeholder: | + from scenedetect import detect, ContentDetector, split_video_ffmpeg + + scene_list = detect("my_video.mp4", ContentDetector()) + split_video_ffmpeg("my_video.mp4", scene_list) + render: python + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: >- + Run `scenedetect version` and include the output. This will describe the environment/OS/platform and + versions of dependencies you have installed. + render: text + validations: + required: true + - type: textarea + id: media + attributes: + label: Media/Files + description: >- + Attach or link to any files relevant to the issue, including videos (or YouTube links), scene files, stats + files, and log output. diff --git a/.github/ISSUE_TEMPLATE/scenedetect_request.md b/.github/ISSUE_TEMPLATE/scenedetect_request.md deleted file mode 100644 index 0de1ff8e..00000000 --- a/.github/ISSUE_TEMPLATE/scenedetect_request.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: Feature or Enhancement -about: Submit an idea or feature request to make PySceneDetect better. - ---- - -**Problem/Use Case** - -Describe what problem you want to solve, or what use case you want to achieve. Ex. PySceneDetect doesn't work well in cases X or Y but if it could detect Z [...], PySceneDetect is slow because of X but could be faster if it did Y [...], or I need PySceneDetect to do X because of some condition Y [...]. - -**Solutions** - -Discuss any potential solutions here. - -**Proposed Implementation:** - -Description of what you want to happen, and how you think the feature/enhancement should be implemented. Ex. what command line options/arguments should be added to PySceneDetect, and examples of how you expect them to function. - -**Alternatives:** - -List any alternative solutions or related ideas you've considered. - -**Examples:** - -Attach or link to any relevant videos or images that are relevant. diff --git a/.github/ISSUE_TEMPLATE/scenedetect_request.yml b/.github/ISSUE_TEMPLATE/scenedetect_request.yml new file mode 100644 index 00000000..072eec85 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/scenedetect_request.yml @@ -0,0 +1,36 @@ +name: Feature or Enhancement +description: Submit an idea or feature request to make PySceneDetect better. +body: + - type: textarea + id: problem + attributes: + label: Problem/Use Case + description: >- + Describe what problem you want to solve, or what use case you want to achieve. Ex. PySceneDetect does not + work well in cases X or Y but if it could detect Z [...], PySceneDetect is slow because of X but could be + faster if it did Y [...], or I need PySceneDetect to do X because of some condition Y [...]. + validations: + required: true + - type: textarea + id: solutions + attributes: + label: Solutions + description: Discuss any potential solutions here. + - type: textarea + id: implementation + attributes: + label: Proposed Implementation + description: >- + Description of what you want to happen, and how you think the feature/enhancement should be implemented. + Ex. what command line options/arguments should be added to PySceneDetect, and examples of how you expect + them to function. + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: List any alternative solutions or related ideas you have considered. + - type: textarea + id: examples + attributes: + label: Examples + description: Attach or link to any relevant videos or images.