From ad94ed5e13a92c4c59264176d3ec02798909ce0e Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Wed, 8 Dec 2021 19:32:28 +0000 Subject: [PATCH] Fix Configuration section in bug report template (#4181) * Fix Configuration section in bug report template Change the placeholder content to actually match the `to md` output, and add `--pretty` * Don't omit data in placeholder configuration table * Remove blank line in bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 28 +++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1b012772a..b4ec36529 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -38,22 +38,20 @@ body: id: config attributes: label: Configuration - description: "Please run `> version | pivot key value | to md` and paste the output to show OS, features, etc" + description: "Please run `version | pivot key value | to md --pretty` and paste the output to show OS, features, etc." placeholder: | - > version | pivot key value | to md - ╭───┬────────────────────┬───────────────────────────────────────────────────────────────────────╮ - │ # │ key │ value │ - ├───┼────────────────────┼───────────────────────────────────────────────────────────────────────┤ - │ 0 │ version │ 0.24.1 │ - │ 1 │ build_os │ macos-x86_64 │ - │ 2 │ rust_version │ rustc 1.48.0 │ - │ 3 │ cargo_version │ cargo 1.48.0 │ - │ 4 │ pkg_version │ 0.24.1 │ - │ 5 │ build_time │ 2020-12-18 09:54:09 │ - │ 6 │ build_rust_channel │ release │ - │ 7 │ features │ ctrlc, default, directories, dirs, git, ichwh, rich-benchmark, │ - │ │ │ rustyline, term, uuid, which, zip │ - ╰───┴────────────────────┴───────────────────────────────────────────────────────────────────────╯ + > version | pivot key value | to md --pretty + | key | value | + | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | + | version | 0.40.0 | + | build_os | linux-x86_64 | + | rust_version | rustc 1.56.1 | + | cargo_version | cargo 1.56.0 | + | pkg_version | 0.40.0 | + | build_time | 1980-01-01 00:00:00 +00:00 | + | build_rust_channel | release | + | features | clipboard-cli, ctrlc, dataframe, default, rustyline, term, trash, uuid, which, zip | + | installed_plugins | binaryview, chart bar, chart line, fetch, from bson, from sqlite, inc, match, post, ps, query json, s3, selector, start, sys, textview, to bson, to sqlite, tree, xpath | validations: required: false - type: textarea