Skip to content

Commit

Permalink
Make issue templates slightly nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed May 6, 2024
1 parent 391575a commit 493742d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
13 changes: 2 additions & 11 deletions .github/ISSUE_TEMPLATE/1_pypa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# NOTE we'd like a slightly longer description, but GH seems to impose some length limit (undocumented?, feels like 200 chars or something)
name: PyPA install
description: If you installed via pip (or other PyPA format tool), and encountered an issue while using the library. Use even if you believe it is not a package problem. Default template.
description: If you installed via pip (or other PyPA format tool), and encountered an issue with the library. Use even if you believe it is not a package problem. Default template.

body:

Expand All @@ -18,8 +18,6 @@ body:
options:
- label: I confirm to be using an **official package** of `pypdfium2` from `PyPI` or `GitHub/pypdfium2-team`.
required: true
- label: I have read and acknowledged the [response policy](https://github.com/pypdfium2-team/pypdfium2#contributions).
required: true

- type: textarea
attributes:
Expand All @@ -41,11 +39,4 @@ body:
python -m pip show pypdfium2
```
validations:
required: true

- type: checkboxes
attributes:
label: Validity
options:
- label: I confirm that I ran all commands, and pasted the whole output.
required: true
required: true
15 changes: 3 additions & 12 deletions .github/ISSUE_TEMPLATE/2_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: CC-BY-4.0

name: Conda install
description: If you installed via conda, and encountered an issue while using the library. Use even if you believe it is not a package problem.
description: If you installed via conda, and encountered an issue with the library. Use even if you believe it is not a package problem.

body:

Expand All @@ -23,8 +23,6 @@ body:
required: true
- label: I confirm to be working with the **conda env in question, and its proper python executable** (not system python).
required: true
- label: I have read and acknowledged the [response policy](https://github.com/pypdfium2-team/pypdfium2#contributions).
required: true

- type: textarea
attributes:
Expand All @@ -38,7 +36,7 @@ body:
label: Install Info
render: shell
description: |
To provide information about your install, please run the following commands and paste the output into the field below.
To provide information about your install, please run the following commands **with the right conda env and python executable**, and paste the output into the field below.
```shell
python -m pypdfium2 -v
which python
Expand All @@ -50,11 +48,4 @@ body:
conda config --show-sources
```
validations:
required: true

- type: checkboxes
attributes:
label: Validity
options:
- label: I confirm that I ran all commands in the conda env in question, with its proper python executable, and pasted the whole output.
required: true
required: true
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/3_other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ body:
required: true
- label: I confirm this is **not about an unofficial build of pypdfium2**. *We do not support third-party builds, and they are not eligible for a bug report.*
required: true
- label: I have read and acknowledged the [response policy](https://github.com/pypdfium2-team/pypdfium2#contributions).
required: true

- type: input
attributes:
Expand Down

0 comments on commit 493742d

Please sign in to comment.