Skip to content

Commit

Permalink
Update issue templates on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed May 24, 2024
1 parent e87bce9 commit 631cf17
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 74 deletions.
81 changes: 44 additions & 37 deletions .github/ISSUE_TEMPLATE/ask_question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ body:
validations:
required: true

- type: textarea
id: current-behavior
attributes:
label: Current Behavior
description: Describe what is actually happening.
placeholder: "What is actually happening"
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
Expand All @@ -37,57 +28,73 @@ body:
validations:
required: true

- type: input
id: tai-e-version
- type: textarea
id: current-behavior
attributes:
label: Tai-e Version
description: Specify the version or commit-hash of Tai-e you're using.
placeholder: "Tai-e version or commit-hash"
label: Current Behavior
description: Describe what is actually happening.
placeholder: "What is actually happening"
validations:
required: true

- type: textarea
id: tai-e-arguments
attributes:
label: Tai-e Arguments
description: List the arguments or settings used. Especially the analysis you are running, e.g., `-a pta=cs:ci;only-app:false -a ir-dumper`.
placeholder: |
Example:
-pp
-cp src/test/resources/pta
-a pta=cs:ci;only-app:false
-a ir-dumper
description: |
Please provide the running arguments of Tai-e.
_Note:_ You can paste the `output/options.yml` and `output/tai-e-plan.yml` files into the placeholders below.
value: |
<details>
<summary>Click here to see Tai-e Options</summary>
<!-- Please leave one blank line below for enabling the code block rendering. -->
```yaml
{{The content of 'output/options.yml' file}}
```
</details>
<details>
<summary>Click here to see Tai-e Analysis Plan</summary>
<!-- Please leave one blank line below for enabling the code block rendering. -->
```yaml
{{The content of 'output/tai-e-plan.yml' file}}
```
</details>
validations:
required: true

- type: input
id: jdk-version
- type: textarea
id: tai-e-log
attributes:
label: JDK Version
description: Specify the version of Java Development Kit (JDK) you are using. You can find this by running `java -version` in your terminal.
placeholder: "JDK version (e.g., Temurin 17.0.6+10)"
validations:
required: false
label: Tai-e Log
description: |
Provide the Tai-e log output which contains important information, such as JVM/OS, Tai-e version (git commit).
_Note:_ You can paste the `output/tai-e.log` file into the placeholder below. If it is too long, you can attach it as a file.
value: |
<details>
<summary>Click here to see Tai-e Log</summary>
<!-- Please leave one blank line below for enabling the code block rendering. -->
- type: input
id: os-info
attributes:
label: System Environment
description: Specify the operating system you are using, e.g., `Windows 10 x64`, `macOS 13.4.1 (Apple silicon)`, `Ubuntu 22.04 x64`, etc.
placeholder: Your operating system.
```
{{The content of 'output/tai-e.log' file}}
```
</details>
validations:
required: false
required: true

- type: textarea
id: additional-info
attributes:
label: Additional Information
description: Provide any additional information or context about the bug. Such as the complete analyzed program (and/or its `.tir`), the taint configuration (`taint-config.yml`), the log of Tai-e (`tai-e.log`), etc.
description: |
Provide any additional information or context about the bug.
Such as the complete analyzed program (and/or its `.tir`), the taint configuration (`taint-config.yml`), etc.
placeholder: |
Any other relevant information, e.g.,
the complete analyzed program (and/or its `.tir`),
the taint configuration (`taint-config.yml`),
the log of Tai-e (`tai-e.log`),
the code you modified/added in Tai-e,
etc.
validations:
required: false
81 changes: 44 additions & 37 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ body:
validations:
required: true

- type: textarea
id: current-behavior
attributes:
label: Current Behavior
description: Describe what is actually happening.
placeholder: "What is actually happening"
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
Expand All @@ -38,57 +29,73 @@ body:
validations:
required: true

- type: input
id: tai-e-version
- type: textarea
id: current-behavior
attributes:
label: Tai-e Version
description: Specify the version or commit-hash of Tai-e you're using.
placeholder: "Tai-e version or commit-hash"
label: Current Behavior
description: Describe what is actually happening.
placeholder: "What is actually happening"
validations:
required: true

- type: textarea
id: tai-e-arguments
attributes:
label: Tai-e Arguments
description: List the arguments or settings used. Especially the analysis you are running, e.g., `-a pta=cs:ci;only-app:false -a ir-dumper`.
placeholder: |
Example:
-pp
-cp src/test/resources/pta
-a pta=cs:ci;only-app:false
-a ir-dumper
description: |
Please provide the running arguments of Tai-e.
_Note:_ You can paste the `output/options.yml` and `output/tai-e-plan.yml` files into the placeholders below.
value: |
<details>
<summary>Click here to see Tai-e Options</summary>
<!-- Please leave one blank line below for enabling the code block rendering. -->
```yaml
{{The content of 'output/options.yml' file}}
```
</details>
<details>
<summary>Click here to see Tai-e Analysis Plan</summary>
<!-- Please leave one blank line below for enabling the code block rendering. -->
```yaml
{{The content of 'output/tai-e-plan.yml' file}}
```
</details>
validations:
required: true

- type: input
id: jdk-version
- type: textarea
id: tai-e-log
attributes:
label: JDK Version
description: Specify the version of Java Development Kit (JDK) you are using. You can find this by running `java -version` in your terminal.
placeholder: "JDK version (e.g., Temurin 17.0.6+10)"
validations:
required: false
label: Tai-e Log
description: |
Provide the Tai-e log output which contains important information, such as JVM/OS, Tai-e version (git commit).
_Note:_ You can paste the `output/tai-e.log` file into the placeholder below. If it is too long, you can attach it as a file.
value: |
<details>
<summary>Click here to see Tai-e Log</summary>
<!-- Please leave one blank line below for enabling the code block rendering. -->
- type: input
id: os-info
attributes:
label: System Environment
description: Specify the operating system you are using, e.g., `Windows 10 x64`, `macOS 13.4.1 (Apple silicon)`, `Ubuntu 22.04 x64`, etc.
placeholder: Your operating system.
```
{{The content of 'output/tai-e.log' file}}
```
</details>
validations:
required: false
required: true

- type: textarea
id: additional-info
attributes:
label: Additional Information
description: Provide any additional information or context about the bug. Such as the complete analyzed program (and/or its `.tir`), the taint configuration (`taint-config.yml`), the log of Tai-e (`tai-e.log`), etc.
description: |
Provide any additional information or context about the bug.
Such as the complete analyzed program (and/or its `.tir`), the taint configuration (`taint-config.yml`), etc.
placeholder: |
Any other relevant information, e.g.,
the complete analyzed program (and/or its `.tir`),
the taint configuration (`taint-config.yml`),
the log of Tai-e (`tai-e.log`),
the code you modified/added in Tai-e,
etc.
validations:
required: false

0 comments on commit 631cf17

Please sign in to comment.