From 1676a4adce0ba2ca5afb07cacbc68ec163ad6396 Mon Sep 17 00:00:00 2001 From: Simon Cox Date: Tue, 4 Oct 2022 19:05:47 +1100 Subject: [PATCH 1/3] YAML template for new code request --- .github/ISSUE_TEMPLATE/new-unit-code.yaml | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/new-unit-code.yaml diff --git a/.github/ISSUE_TEMPLATE/new-unit-code.yaml b/.github/ISSUE_TEMPLATE/new-unit-code.yaml new file mode 100644 index 0000000..4f2a817 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-unit-code.yaml @@ -0,0 +1,70 @@ +--- +name: New code request form +description: A request for a new code to be added to UCUM. +title: '[Request for]:' +labels: new_code_request +assignees: '' +body: +- type: markdown + attributes: + value: '## Thanks for suggesting a new code + +Please provide + +1. the proposed code + +2. a definition and a literature reference which provides a scientific definition. + +3. the definition value for the proposed unit using an existing unit for this quantity (preferably the SI unit) + +If the conversion factor and offset are not known, or direct conversion to an SI unit is not possible, then please provide justification for why the proposed code is a true unit of measure and which community or discipline uses it. + +Note the scope of UCUM is science, healthcare, engineering, and business (not including currencies). Units outside this context are discouraged. + +Please include the unit code in the issue title.' +- type: input + id: code + attributes: + label: new code + description: label with no punctuation except `-` and `_`. May be enclosed in [brackets] if it is a 'conventional' unit. Annotation elements should be enclode in {braces}. + placeholder: code + validations: + required: true +- type: textarea + id: definition + attributes: + label: definition + description: textual definition + placeholder: definition + validations: + required: true +- type: input + id: sourceURI + attributes: + label: source of definition (URI) + description: URI for the source of the definition + placeholder: URI +- type: textarea + id: source + attributes: + label: source of definition (citation) + description: citation for the source of the definition + placeholder: citation +- type: input + id: definition-value + attributes: + label: definition value + description: the size of the unit expressed using the reference unit for this quantity kind - e.g. 1 atm = 101325 Pa + placeholder: definition value +- type: textarea + id: scopeNote + attributes: + label: usage- or scope-note + description: scope note + placeholder: note +- type: textarea + id: comment + attributes: + label: additional information + description: comment + placeholder: comment From 0d37c773225f9e1a9f64c06197d6a1b32fe85663 Mon Sep 17 00:00:00 2001 From: Simon Cox Date: Wed, 5 Oct 2022 09:41:18 +1100 Subject: [PATCH 2/3] Move YAML to different branch --- .github/ISSUE_TEMPLATE/new-unit-code.yaml | 70 ----------------------- 1 file changed, 70 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/new-unit-code.yaml diff --git a/.github/ISSUE_TEMPLATE/new-unit-code.yaml b/.github/ISSUE_TEMPLATE/new-unit-code.yaml deleted file mode 100644 index 4f2a817..0000000 --- a/.github/ISSUE_TEMPLATE/new-unit-code.yaml +++ /dev/null @@ -1,70 +0,0 @@ ---- -name: New code request form -description: A request for a new code to be added to UCUM. -title: '[Request for]:' -labels: new_code_request -assignees: '' -body: -- type: markdown - attributes: - value: '## Thanks for suggesting a new code - -Please provide - -1. the proposed code - -2. a definition and a literature reference which provides a scientific definition. - -3. the definition value for the proposed unit using an existing unit for this quantity (preferably the SI unit) - -If the conversion factor and offset are not known, or direct conversion to an SI unit is not possible, then please provide justification for why the proposed code is a true unit of measure and which community or discipline uses it. - -Note the scope of UCUM is science, healthcare, engineering, and business (not including currencies). Units outside this context are discouraged. - -Please include the unit code in the issue title.' -- type: input - id: code - attributes: - label: new code - description: label with no punctuation except `-` and `_`. May be enclosed in [brackets] if it is a 'conventional' unit. Annotation elements should be enclode in {braces}. - placeholder: code - validations: - required: true -- type: textarea - id: definition - attributes: - label: definition - description: textual definition - placeholder: definition - validations: - required: true -- type: input - id: sourceURI - attributes: - label: source of definition (URI) - description: URI for the source of the definition - placeholder: URI -- type: textarea - id: source - attributes: - label: source of definition (citation) - description: citation for the source of the definition - placeholder: citation -- type: input - id: definition-value - attributes: - label: definition value - description: the size of the unit expressed using the reference unit for this quantity kind - e.g. 1 atm = 101325 Pa - placeholder: definition value -- type: textarea - id: scopeNote - attributes: - label: usage- or scope-note - description: scope note - placeholder: note -- type: textarea - id: comment - attributes: - label: additional information - description: comment - placeholder: comment From d98c0a92063cd34df9de987489f2eb5bfae825a0 Mon Sep 17 00:00:00 2001 From: Simon Cox Date: Wed, 5 Oct 2022 09:43:48 +1100 Subject: [PATCH 3/3] YAML template for new unit proposals --- .github/ISSUE_TEMPLATE/new-unit-code.yaml | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/new-unit-code.yaml diff --git a/.github/ISSUE_TEMPLATE/new-unit-code.yaml b/.github/ISSUE_TEMPLATE/new-unit-code.yaml new file mode 100644 index 0000000..4f2a817 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-unit-code.yaml @@ -0,0 +1,70 @@ +--- +name: New code request form +description: A request for a new code to be added to UCUM. +title: '[Request for]:' +labels: new_code_request +assignees: '' +body: +- type: markdown + attributes: + value: '## Thanks for suggesting a new code + +Please provide + +1. the proposed code + +2. a definition and a literature reference which provides a scientific definition. + +3. the definition value for the proposed unit using an existing unit for this quantity (preferably the SI unit) + +If the conversion factor and offset are not known, or direct conversion to an SI unit is not possible, then please provide justification for why the proposed code is a true unit of measure and which community or discipline uses it. + +Note the scope of UCUM is science, healthcare, engineering, and business (not including currencies). Units outside this context are discouraged. + +Please include the unit code in the issue title.' +- type: input + id: code + attributes: + label: new code + description: label with no punctuation except `-` and `_`. May be enclosed in [brackets] if it is a 'conventional' unit. Annotation elements should be enclode in {braces}. + placeholder: code + validations: + required: true +- type: textarea + id: definition + attributes: + label: definition + description: textual definition + placeholder: definition + validations: + required: true +- type: input + id: sourceURI + attributes: + label: source of definition (URI) + description: URI for the source of the definition + placeholder: URI +- type: textarea + id: source + attributes: + label: source of definition (citation) + description: citation for the source of the definition + placeholder: citation +- type: input + id: definition-value + attributes: + label: definition value + description: the size of the unit expressed using the reference unit for this quantity kind - e.g. 1 atm = 101325 Pa + placeholder: definition value +- type: textarea + id: scopeNote + attributes: + label: usage- or scope-note + description: scope note + placeholder: note +- type: textarea + id: comment + attributes: + label: additional information + description: comment + placeholder: comment