Browse Source

Engage users to report bugs

Leo 8 years ago
parent
commit
f0bc2bda0c
4 changed files with 7 additions and 3 deletions
  1. 2 1
      CHANGELOG.md
  2. 1 1
      opam
  3. 2 0
      src/command_def.ml
  4. 2 1
      src/file_com.ml

+ 2 - 1
CHANGELOG.md

@@ -51,7 +51,8 @@ This version introduce major changes in the tmp and rc file.
       cd7fdc0c022aa36b39f02813c4ebe54a533f0041 and
       bd712c97c788922aabdda15f75e78cb05882c53f).
  + Code clean up (especially indentation, thanks to ocp-indent), messages
-   improvement.
+   improvement (for instance to make it clearer, give more accurate tips or
+   engage users, thanks to lnch.ml service).
  + Allow to set parameters with environment variable, such as `OC_RC, `OC_VERB`,
    `OC_NOCOLOR`. This is added to the previous variable `OC_TMP`. See #20.
  + Add unit tests and clean them up.

+ 1 - 1
opam

@@ -4,7 +4,7 @@ version: "0.3.0"
 maintainer: "Leo <leowzukw@oclaunch.eu.org>"
 authors: "Leo <leowzukw@oclaunch.eu.org>"
 homepage: "http://www.oclaunch.eu.org"
-bug-reports: "https://gitlab.com/WzukW/oclaunch/issues/new"
+bug-reports: "http://lnch.ml/bug"
 license: "CeCILL"
 dev-repo: "git@gitlab.com:WzukW/oclaunch.git"
 build: [

+ 2 - 0
src/command_def.ml

@@ -342,6 +342,8 @@ let run ~version ~build_info () =
     | exception message ->
       "Exception: " ^ (Exn.to_string message)
       |> Messages.warning;
+      Messages.tips
+        "This is probably a bug, please report it (http://lnch.ml/bug).";
       `Exit 20
   in
 

+ 2 - 1
src/file_com.ml

@@ -47,7 +47,8 @@ let welcome_msg =
    Use 'help' subcommand to get help (it works both after the name of the \
    software and with another subcommand). For instance run\n\
    `oclaunch help add`\n\
-   For further help, see https://oclaunch.eu.org.\
+   For further help, see https://oclaunch.eu.org. Report any bug at \
+   http://lnch.ml/bug\
    \n\
    \n\
    Feedback is welcome at feedback@oclaunch.eu.org.\n\