summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@acm.org>2015-04-18 12:50:38 -0700
committerTim Kientzle <kientzle@acm.org>2015-04-18 12:50:38 -0700
commitd41eed94c20f2315d93644b1df08b0b82c6184da (patch)
tree5cec6dd538224e8dba49a41300591539f8196752
parent91230518acc3a3a617d15f6562439310d874f0ee (diff)
downloadlibarchive-d41eed94c20f2315d93644b1df08b0b82c6184da.tar.gz
Expand CONTRIBUTING
-rw-r--r--CONTRIBUTING.md51
1 files changed, 39 insertions, 12 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8d4e36ac..f20fafea 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,14 +9,26 @@ If you encounter any problems with libarchive,
All bug reports should include the following information. You can copy the text below directly into the issue tracker to get started:
```
-Version of libarchive:
-How you obtained it: (build from source, pre-packaged binary, etc)
-Operating system and version:
-If you built from source, what compiler and/or IDE are you using:
+Basic Information
+ Version of libarchive:
+ How you obtained it: (build from source, pre-packaged binary, etc)
+ Operating system and version:
+ What compiler and/or IDE you are using (include version):
+
+If you are using a pre-packaged binary
+ Exact package name and version: (for example, libarchive13-3.1.2-11)
+ Repository you obtained it from:
Description of the problem you are seeing:
+ What did you do?
+ What did you expect to happen?
+ What actually happen?
+ What log files or erorr messages were produced?
How the libarchive developers can reproduce your problem:
+ What other software was involved?
+ What other files were involved?
+ How can we obtain any of the above?
```
## Test Failures
@@ -29,33 +41,48 @@ If you see any test failures, please include the information above and also:
Please paste the .log files you will find there directly into your report.
+
## Problems using libarchive in a program
If you are trying to write a program using libarchive, please include the information above and also:
-```
-It will help us if we can actually run the program.
+* It will help us if we can actually run the program. This is easiest if you can provide source to a short program that illustrates your problem.
+
+* If you have a sufficiently short program that shows the problem, you can either paste it into the report or [put it into a gist](https://gist.github.com).
-If you have a sufficiently short program that shows the problem, you can either paste it into the report or [put it into a gist](https://gist.github.com).
-```
## Libarchive produced incorrect output
-Please try to make the corrupted output available to us. You can upload it into a fresh github repository and provide a link in your issue report.
+Please try to make the output file available to us. Unless it is very large, you can upload it into a fresh github repository and provide a link in your issue report.
+
## Libarchive failed to read a particular input file
-Note: If you can provide a very short input file that reproduces the problem, we can usually add that to our test suite. This will ensure that the bug does not reappear in the future.
+Note: If you can provide a **very small** input file that reproduces the problem, we can add that to our test suite. This will ensure that the bug does not reappear in the future.
+
+If the input file is large and/or proprietary, please post an issue first, then follow-up with an email to libarchive-discuss@googlegroups.com so one of the libarchive developers can follow up with you. In your email, please include a link to the issue report.
-If the input file is very large and/or proprietary, please post an issue first, then follow-up with an email to libarchive-discuss@group.google.com so one of the libarchive developers can follow up with you. In your email, please include a link to the issue report.
+## Documentation improvements
+
+We are always interested in improving the libarchive documentation. Please tell us about any errors you find, including:
+
+* Typos or errors in the manpages provided with libarchive source.
+
+* Mistakes in the [libarchive Wiki](https://github.com/libarchive/libarchive/wiki)
+
+* Problems with the PDF or Wiki files that are automatically generated from the manpages.
# Code Submissions
We welcome all code submissions. But of course, some code submissions are easier for us to respond to than others. The best code submissions:
-* Address a single issue. There have been many cases where a simple fix to an obvious problem did not get handled for months because the patch that was provided also included an unrelated change that affected a controversial area of the code.
+* Address a single issue. There have been many cases where a simple fix to an obvious problem did not get handled for months because the patch that was provided also included an unrelated change affecting a controversial area of the code.
+
+* Follow existing libarchive code style and conventions. Libarchive generally follows [BSD KNF](https://www.freebsd.org/cgi/man.cgi?query=style&sektion=9) for formatting code.
+
+* Do not make gratuitous changes to existing whitespace, capitalization, or spelling.
* Include detailed instructions for reproducing the problem you're fixing. We do try to verify that a submission actually fixes a real problem. If we can't reproduce the problem, it will take us longer to evaluate the fix. For this reason, we encourage you to file an issue report first with details on reproducing the problem, then refer to that issue in your pull request.