Commit 7612ce2029de1eac698ebc2ba617c4fbd738127f
1 parent
ae500259
Github's contributing and issue template files
Showing
3 changed files
with
48 additions
and
19 deletions
CONTRIBUTING.md
0 → 100644
| 1 | +How Do I Submit A Good Bug Report? | ||
| 2 | +---------------------------------- | ||
| 3 | + | ||
| 4 | +Please, don't send direct emails to Stéphane Raimbault unless you want | ||
| 5 | +commercial support. | ||
| 6 | + | ||
| 7 | +Take care to read the documentation at http://libmodbus.org/documentation/. | ||
| 8 | + | ||
| 9 | +- *Be sure it's a bug before creating an issue*, in doubt, post a message on | ||
| 10 | + https://groups.google.com/forum/#!forum/libmodbus or send an email to | ||
| 11 | + libmodbus@googlegroups.com | ||
| 12 | + | ||
| 13 | +- *Use a clear and decriptive title* for the issue to identify | ||
| 14 | + | ||
| 15 | +- *Which version of libmodbus are you using?* you can obtain this information | ||
| 16 | +from your package manager or by running `pkg-config --modversion libmodbus`. | ||
| 17 | +You can provide the sha1 of the commit if you have fetched the code with `git`. | ||
| 18 | + | ||
| 19 | +- *Which operating system are you using?* | ||
| 20 | + | ||
| 21 | +- *Describe the exact steps which reproduce the problem* in as many details as | ||
| 22 | +possible. For example, the software/equipement which runs the Modbus server, how | ||
| 23 | +the clients are connected (TCP, RTU, ASCII) and the source code you are using. | ||
| 24 | + | ||
| 25 | +- *Enable the debug mode*, libmodbus provides a function to display the content | ||
| 26 | +of the Modbus messages and it's very convenient to analyze issues | ||
| 27 | +(http://libmodbus.org/docs/latest/modbus_set_debug.html). | ||
| 28 | + | ||
| 29 | +Good bug reports provide right and quick fixes! |
ISSUE_TEMPLATE.md
0 → 100644
| 1 | +### libmodbus version | ||
| 2 | + | ||
| 3 | +### Operating system | ||
| 4 | + | ||
| 5 | +### Description of the Modbus network (server, client, links, etc) | ||
| 6 | + | ||
| 7 | +### Expected behavior | ||
| 8 | + | ||
| 9 | +### Actual behavior | ||
| 10 | + | ||
| 11 | +### Steps to reproduce the behavior (commands or source code) | ||
| 12 | + | ||
| 13 | +### libmodbus output with debug mode enabled |
README.md
| @@ -59,13 +59,14 @@ automake libtool`. | @@ -59,13 +59,14 @@ automake libtool`. | ||
| 59 | Documentation | 59 | Documentation |
| 60 | ------------- | 60 | ------------- |
| 61 | 61 | ||
| 62 | +The documentation is available [online](http://libmodbus.org/documentation) or | ||
| 63 | +as manual pages after installation. | ||
| 64 | + | ||
| 62 | The documentation is based on | 65 | The documentation is based on |
| 63 | [AsciiDoc](http://www.methods.co.nz/asciidoc/). Only man pages are built | 66 | [AsciiDoc](http://www.methods.co.nz/asciidoc/). Only man pages are built |
| 64 | by default with `make` command, you can run `make htmldoc` in *docs* directory | 67 | by default with `make` command, you can run `make htmldoc` in *docs* directory |
| 65 | to generate HTML files. | 68 | to generate HTML files. |
| 66 | 69 | ||
| 67 | -The documentation is also available [online](http://libmodbus.org/documentation). | ||
| 68 | - | ||
| 69 | Testing | 70 | Testing |
| 70 | ------- | 71 | ------- |
| 71 | 72 | ||
| @@ -83,21 +84,7 @@ By default, all TCP unit tests will be executed (see --help for options). | @@ -83,21 +84,7 @@ By default, all TCP unit tests will be executed (see --help for options). | ||
| 83 | 84 | ||
| 84 | It's also possible to run the unit tests with `make check`. | 85 | It's also possible to run the unit tests with `make check`. |
| 85 | 86 | ||
| 86 | -Report a Bug | ||
| 87 | ------------- | ||
| 88 | - | ||
| 89 | -Before reporting a bug, take care to read the documentation (RTFM!) and to | ||
| 90 | -provide enough information: | ||
| 91 | - | ||
| 92 | -1. libmodbus version | ||
| 93 | -2. OS/environment/architecture | ||
| 94 | -3. libmodbus backend (TCP, RTU, IPv6) | ||
| 95 | -3. Modbus messages when running in debug mode (`man modbus_set_debug`) | ||
| 96 | - | ||
| 97 | -To report your problem, you can: | ||
| 98 | - | ||
| 99 | -* fill a bug report on the issue tracker <http://github.com/stephane/libmodbus/issues>. | ||
| 100 | -* or send an email to the libmodbus mailing list [libmodbus@googlegroups.com](https://groups.google.com/forum/#!forum/libmodbus). | 87 | +To report a bug or to contribute |
| 88 | +-------------------------------- | ||
| 101 | 89 | ||
| 102 | -If your prefer live talk when your're looking for help or to offer contribution, | ||
| 103 | -there is also a channel called #libmodbus on Freenode. | 90 | +See [CONTRIBUTING](CONTRIBUTING.md) document. |
| 104 | \ No newline at end of file | 91 | \ No newline at end of file |