1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Clean up YAML string formatting

This commit is contained in:
jeremystretch
2021-04-30 16:08:50 -04:00
parent c9c8108a53
commit 3bba1089ed
4 changed files with 35 additions and 29 deletions

View File

@ -5,7 +5,7 @@ labels: ["type: bug"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: >
**NOTE:** This form is only for reporting _reproducible bugs_ in a current NetBox **NOTE:** This form is only for reporting _reproducible bugs_ in a current NetBox
installation. If you're having trouble with installation or just looking for installation. If you're having trouble with installation or just looking for
assistance with using NetBox, please visit our assistance with using NetBox, please visit our
@ -13,7 +13,7 @@ body:
- type: input - type: input
attributes: attributes:
label: NetBox version label: NetBox version
description: | description: >
What version of NetBox are you currently running? (If you don't have access to the most What version of NetBox are you currently running? (If you don't have access to the most
recent NetBox release, consider testing on our [demo instance](https://demo.netbox.dev/) recent NetBox release, consider testing on our [demo instance](https://demo.netbox.dev/)
before opening a bug report to see if your issue has already been addressed.) before opening a bug report to see if your issue has already been addressed.)
@ -23,7 +23,7 @@ body:
- type: dropdown - type: dropdown
attributes: attributes:
label: Python version label: Python version
description: "What version of Python are you currently running?" description: What version of Python are you currently running?
options: options:
- 3.6 - 3.6
- 3.7 - 3.7
@ -34,7 +34,7 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Steps to Reproduce label: Steps to Reproduce
description: | description: >
Describe in detail the exact steps that someone else can take to Describe in detail the exact steps that someone else can take to
reproduce this bug using the current stable release of NetBox. Begin with the reproduce this bug using the current stable release of NetBox. Begin with the
creation of any necessary database objects and call out every operation being creation of any necessary database objects and call out every operation being
@ -50,14 +50,14 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Expected Behavior label: Expected Behavior
description: "What did you expect to happen?" description: What did you expect to happen?
placeholder: "A new widget should have been created with the specified attributes" placeholder: A new widget should have been created with the specified attributes
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Observed Behavior label: Observed Behavior
description: "What happened instead?" description: What happened instead?
placeholder: "A TypeError exception was raised" placeholder: A TypeError exception was raised
validations: validations:
required: true required: true

View File

@ -30,6 +30,6 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Proposed Changes label: Proposed Changes
description: "Describe the proposed changes and why they are necessary" description: Describe the proposed changes and why they are necessary.
validations: validations:
required: true required: true

View File

@ -5,14 +5,15 @@ labels: ["type: feature"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: "**NOTE:** This form is only for submitting well-formed proposals to extend or value: >
modify NetBox in some way. If you're trying to solve a problem but can't figure out how, **NOTE:** This form is only for submitting well-formed proposals to extend or modify
or if you still need time to work on the details of a proposed new feature, please start NetBox in some way. If you're trying to solve a problem but can't figure out how, or if
a [discussion](https://github.com/netbox-community/netbox/discussions) instead." you still need time to work on the details of a proposed new feature, please start a
[discussion](https://github.com/netbox-community/netbox/discussions) instead.
- type: input - type: input
attributes: attributes:
label: NetBox version label: NetBox version
description: "What version of NetBox are you currently running?" description: What version of NetBox are you currently running?
placeholder: v2.10.4 placeholder: v2.10.4
validations: validations:
required: true required: true
@ -28,26 +29,29 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Proposed functionality label: Proposed functionality
description: "Describe in detail the new feature or behavior you'd like to propose. description: >
Include any specific changes to work flows, data models, or the user interface." Describe in detail the new feature or behavior you'd like to propose. Include any specific
changes to work flows, data models, or the user interface.
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Use case label: Use case
description: "Explain how adding this functionality would benefit NetBox users. What description: >
need does it address?" Explain how adding this functionality would benefit NetBox users. What need does it address?
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Database changes label: Database changes
description: "Note any changes to the database schema necessary to support the new description: >
feature. For example, does the proposal require adding a new model or field? (Not Note any changes to the database schema necessary to support the new feature. For example,
all new features require database changes.)" does the proposal require adding a new model or field? (Not all new features require database
changes.)
- type: textarea - type: textarea
attributes: attributes:
label: External dependencies label: External dependencies
description: "List any new dependencies on external libraries or services that this description: >
new feature would introduce. For example, does the proposal require the installation List any new dependencies on external libraries or services that this new feature would
of a new Python package? (Not all new features introduce new dependencies.)" introduce. For example, does the proposal require the installation of a new Python package?
(Not all new features introduce new dependencies.)

View File

@ -5,18 +5,20 @@ labels: ["type: housekeeping"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: "**NOTE:** This template is for use by maintainers only. Please do not submit value: >
an issue using this template unless you have been specifically asked to do so." **NOTE:** This template is for use by maintainers only. Please do not submit
an issue using this template unless you have been specifically asked to do so.
- type: textarea - type: textarea
attributes: attributes:
label: Proposed Changes label: Proposed Changes
description: "Describe in detail the new feature or behavior you'd like to propose. description: >
Include any specific changes to work flows, data models, or the user interface." Describe in detail the new feature or behavior you'd like to propose.
Include any specific changes to work flows, data models, or the user interface.
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Justification label: Justification
description: "Please provide justification for the proposed change(s)." description: Please provide justification for the proposed change(s).
validations: validations:
required: true required: true