kopia lustrzana https://github.com/sepandhaghighi/samila
Issue/bug template updated to the modern one (#203)
* change : bug/issue template chnaged to modern version. * log : changes logged. * update : version_check updated.pull/204/head
rodzic
ae76d83af1
commit
56f1647551
|
@ -1,13 +0,0 @@
|
|||
#### Description
|
||||
|
||||
#### Steps/Code to Reproduce
|
||||
|
||||
#### Expected Behavior
|
||||
|
||||
#### Actual Behavior
|
||||
|
||||
#### Operating System
|
||||
|
||||
#### Python Version
|
||||
|
||||
#### Samila Version (Use : `samila.__version__`)
|
|
@ -0,0 +1,103 @@
|
|||
name: Bug Report
|
||||
description: File a bug report
|
||||
title: "[Bug]: "
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for your time to fill out this bug report!
|
||||
- type: input
|
||||
id: contact
|
||||
attributes:
|
||||
label: Contact details
|
||||
description: How can we get in touch with you if we need more info?
|
||||
placeholder: ex. email@example.com
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: What happened?
|
||||
description: Provide a clear and concise description of what the bug is.
|
||||
placeholder: Tell us a description of the bug.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: step-to-reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: Provide details of how to reproduce the bug.
|
||||
placeholder: ex. 1. Go to '...'
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: What did you expect to happen?
|
||||
placeholder: ex. I expected '...' to happen
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual-behavior
|
||||
attributes:
|
||||
label: Actual behavior
|
||||
description: What did actually happen?
|
||||
placeholder: ex. Instead '...' happened
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: operating-system
|
||||
attributes:
|
||||
label: Operating system
|
||||
description: Which operating system are you using?
|
||||
options:
|
||||
- Windows
|
||||
- macOS
|
||||
- Linux
|
||||
default: 0
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: python-version
|
||||
attributes:
|
||||
label: Python version
|
||||
description: Which version of Python are you using?
|
||||
options:
|
||||
- Python 3.12
|
||||
- Python 3.11
|
||||
- Python 3.10
|
||||
- Python 3.9
|
||||
- Python 3.8
|
||||
- Python 3.7
|
||||
- Python 3.6
|
||||
- Python 3.5
|
||||
default: 1
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: samila-version
|
||||
attributes:
|
||||
label: Samila version
|
||||
description: Which version of Samila are you using?
|
||||
options:
|
||||
- Samila 1.1
|
||||
- Samila 1.0
|
||||
- Samila 0.9
|
||||
- Samila 0.8
|
||||
- Samila 0.7
|
||||
- Samila 0.6
|
||||
- Samila 0.5
|
||||
- Samila 0.4
|
||||
- Samila 0.3
|
||||
- Samila 0.2
|
||||
- Samila 0.1
|
||||
default: 0
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Relevant log output
|
||||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
||||
render: shell
|
|
@ -0,0 +1,5 @@
|
|||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discord
|
||||
url: https://discord.com/invite/94bz5QGZWb
|
||||
about: Ask questions and discuss with other Samila community members
|
|
@ -0,0 +1,32 @@
|
|||
name: Feature Request
|
||||
description: Suggest a feature for this project
|
||||
title: "[Feature]: "
|
||||
body:
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Describe the feature you want to add
|
||||
placeholder: I'd like to be able to [...]
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: possible-solution
|
||||
attributes:
|
||||
label: Describe your proposed solution
|
||||
placeholder: I think this could be done by [...]
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Describe alternatives you've considered, if relevant
|
||||
placeholder: Another way to do this would be [...]
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: aditional-context
|
||||
attributes:
|
||||
label: Additional context
|
||||
placeholder: Add any other context or screenshots about the feature request here.
|
||||
validations:
|
||||
required: false
|
|
@ -6,9 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- `feature_request.yml` template
|
||||
- `config.yml` for issue template
|
||||
- `get_cmap` function
|
||||
- `Gateway` enum
|
||||
### Changed
|
||||
- Bug report template modified
|
||||
- `func_seed` parameter added to GenerativeImage `__init__`
|
||||
- minor edits in `functions.py`
|
||||
- `DEFAULT_CMAP` renamed to `DEFAULT_CMAP_NAME`
|
||||
|
|
|
@ -20,10 +20,19 @@ CHANGELOG_ITEMS = [
|
|||
PARAMS_ITEMS = ['SAMILA_VERSION = "{0}"']
|
||||
|
||||
META_ITEMS = ['% set version = "{0}" %']
|
||||
ISSUE_TEMPLATE_ITEMS = ["- Samila {0}"]
|
||||
|
||||
FILES = {
|
||||
"setup.py": SETUP_ITEMS, "README.md": README_ITEMS, "CHANGELOG.md": CHANGELOG_ITEMS, os.path.join(
|
||||
"samila", "params.py"): PARAMS_ITEMS, os.path.join("otherfiles", "meta.yaml"): META_ITEMS}
|
||||
"setup.py": SETUP_ITEMS,
|
||||
"README.md": README_ITEMS,
|
||||
"CHANGELOG.md": CHANGELOG_ITEMS,
|
||||
os.path.join("samila", "params.py"): PARAMS_ITEMS,
|
||||
os.path.join("otherfiles", "meta.yaml"): META_ITEMS,
|
||||
os.path.join(
|
||||
".github",
|
||||
"ISSUE_TEMPLATE",
|
||||
"bug_report.yml"): ISSUE_TEMPLATE_ITEMS,
|
||||
}
|
||||
|
||||
TEST_NUMBER = len(FILES)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue