Просмотр исходного кода

github : add cmd line field to bug report (#11090)

* github : cmd line to bug report

* codeowners : (@ngxson) only watch dockerfile

* Apply suggestions from code review [no ci]

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* rm cmd in log output [no ci]

* rm 2 [no ci]

* no need backticks [no ci]

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
Xuan Son Nguyen 1 год назад
Родитель
Сommit
96be8c3264
3 измененных файлов с 23 добавлено и 3 удалено
  1. 11 1
      .github/ISSUE_TEMPLATE/010-bug-compilation.yml
  2. 11 1
      .github/ISSUE_TEMPLATE/019-bug-misc.yml
  3. 1 1
      CODEOWNERS

+ 11 - 1
.github/ISSUE_TEMPLATE/010-bug-compilation.yml

@@ -65,12 +65,22 @@ body:
         If possible, please do a git bisect and identify the exact commit that introduced the bug.
         If possible, please do a git bisect and identify the exact commit that introduced the bug.
     validations:
     validations:
       required: false
       required: false
+  - type: textarea
+    id: command
+    attributes:
+      label: Compile command
+      description: >
+        Please provide the exact command you used to compile llama.cpp. For example: `cmake -B ...`.
+        This will be automatically formatted into code, so no need for backticks.
+      render: shell
+    validations:
+      required: true
   - type: textarea
   - type: textarea
     id: logs
     id: logs
     attributes:
     attributes:
       label: Relevant log output
       label: Relevant log output
       description: >
       description: >
-          Please copy and paste any relevant log output, including the command that you entered and any generated text.
+          Please copy and paste any relevant log output, including any generated text.
           This will be automatically formatted into code, so no need for backticks.
           This will be automatically formatted into code, so no need for backticks.
       render: shell
       render: shell
     validations:
     validations:

+ 11 - 1
.github/ISSUE_TEMPLATE/019-bug-misc.yml

@@ -52,6 +52,16 @@ body:
         - Other (Please specify in the next section)
         - Other (Please specify in the next section)
     validations:
     validations:
       required: false
       required: false
+  - type: textarea
+    id: command
+    attributes:
+      label: Command line
+      description: >
+        Please provide the exact commands you entered, if applicable. For example: `llama-server -m ... -c ...`, `llama-cli -m ...`, etc.
+        This will be automatically formatted into code, so no need for backticks.
+      render: shell
+    validations:
+      required: false
   - type: textarea
   - type: textarea
     id: info
     id: info
     attributes:
     attributes:
@@ -74,7 +84,7 @@ body:
     attributes:
     attributes:
       label: Relevant log output
       label: Relevant log output
       description: >
       description: >
-          If applicable, please copy and paste any relevant log output, including the command that you entered and any generated text.
+          If applicable, please copy and paste any relevant log output, including any generated text.
           This will be automatically formatted into code, so no need for backticks.
           This will be automatically formatted into code, so no need for backticks.
       render: shell
       render: shell
     validations:
     validations:

+ 1 - 1
CODEOWNERS

@@ -1,5 +1,5 @@
 # collaborators can optionally add themselves here to indicate their availability for reviewing related PRs
 # collaborators can optionally add themselves here to indicate their availability for reviewing related PRs
 
 
 /ci/ @ggerganov
 /ci/ @ggerganov
-/.devops/ @ngxson
+/.devops/*.Dockerfile @ngxson
 /examples/server/ @ngxson
 /examples/server/ @ngxson