summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2019-05-11 08:07:35 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-05-11 08:07:35 +0100
commitc18d7c5fcbdb391b94cb1f9c866e3417adb0ccff (patch)
tree65777273d55379a9bd838ab519e28fe8ab87c493
parent0d64531f66309f013c1718d86ee907a058eca134 (diff)
Update CONTRIBUTING.md, mostly from Nicolas CARPi.
-rw-r--r--.github/CONTRIBUTING.md79
-rw-r--r--CONTRIBUTING33
2 files changed, 79 insertions, 33 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
new file mode 100644
index 00000000..27532a90
--- /dev/null
+++ b/.github/CONTRIBUTING.md
@@ -0,0 +1,79 @@
+# What should I do before opening an issue?
+
+Before opening an issue, please ensure that:
+
+- TERM inside tmux is screen, screen-256color, tmux or tmux-256color. Check
+ by running echo $TERM inside tmux.
+
+- You can reproduce the problem with the latest tmux release, or a build from
+ Git master.
+
+- Your question or issue is not covered in the manual (run man tmux).
+
+- Nobody else has opened the same issue recently.
+
+# What should I include in an isue?
+
+Please include the output of:
+
+~~~bash
+uname -sp && tmux -V && echo $TERM
+~~~
+
+Also include:
+
+- Your platform (Linux, OS X, or whatever).
+
+- A brief description of the problem with steps to reproduce.
+
+- A minimal tmux config, if you can't reproduce without a config.
+
+- Your terminal, and $TERM inside and outside of tmux.
+
+- Logs from tmux (see below).
+
+- At most one or two screenshots, if helpful.
+
+# How do I test without a .tmux.conf?
+
+Run a separate tmux server with -f/dev/null to skip loading .tmux.conf:
+
+~~~bash
+tmux -Ltest kill-server
+tmux -Ltest -f/dev/null new
+~~~
+
+# How do I get logs from tmux?
+
+Add -vv to tmux to create three log files in the current directory. If you can
+reproduce without a configuration file:
+
+~~~bash
+tmux -Ltest kill-server
+tmux -vv -Ltest -f/dev/null new
+~~~
+
+Or if you need your configuration:
+
+~~~base
+tmux kill-server
+tmux -vv new
+~~~
+
+The log files are:
+
+- tmux-server*.log: server log file.
+
+- tmux-client*.log: client log file.
+
+- tmux-out*.log: output log file.
+
+To run tmux without a config and get logs, run:
+
+~~~bash
+tmux -Ltest kill-server
+tmux -vv -Ltest -f/dev/null new
+~~~
+
+Then reproduce the problem, exit tmux, and attach the `tmux-server-*.log` file
+from the current directory to the issue.
diff --git a/CONTRIBUTING b/CONTRIBUTING
deleted file mode 100644
index a804ba41..00000000
--- a/CONTRIBUTING
+++ /dev/null
@@ -1,33 +0,0 @@
-When reporting issues:
-
-YOU MUST INCLUDE THE TMUX VERSION
-
-DO NOT OPEN AN ISSUE THAT DOES NOT MENTION THE TMUX VERSION
-
-Please also include:
-
-- your platform (Linux, OS X, or whatever);
-- a brief description of the problem with steps to reproduce;
-- a minimal tmux config, if you can't reproduce without a config;
-- your terminal, and $TERM inside and outside of tmux;
-- logs from tmux (see below);
-- at most one or two screenshots, if helpful.
-
-This should include at least the output of:
-
- $ uname -sp && tmux -V && echo $TERM
-
-Please do not report bugs (crashes, incorrect behaviour) without reproducing on
-a tmux built from the latest code in Git.
-
-Note that TERM inside tmux must be a variant of screen or tmux (for example:
-screen or screen-256color, tmux or tmux-256color). Please ensure this is the
-case before opening an issue.
-
-To run tmux without a config and get logs, run:
-
- tmux -Ltest kill-server
- tmux -vv -Ltest -f/dev/null new
-
-Then reproduce the problem, exit tmux, and attach the tmux-server-*.log file
-from the current directory to the issue.