summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDemi Marie Obenour <demi@invisiblethingslab.com>2021-06-17 14:07:55 -0400
committerPanu Matilainen <pmatilai@redhat.com>2021-08-20 11:44:09 +0300
commit44e0e0989b0a4312e5cc5b66833738db3874b1fa (patch)
tree930aed074f7d20ee735c2e6f254b3b2ebf6107eb
parent3040fdab7756b0e2dcdd3fc3e8cbd5cce3a80709 (diff)
downloadrpm-44e0e0989b0a4312e5cc5b66833738db3874b1fa.tar.gz
Add CONTRIBUTING.md
(cherry picked from commit 7af8691e58967e5027b1b52691a01e03a0ee28a9)
-rw-r--r--CONTRIBUTING.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 000000000..b9acf94b3
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,18 @@
+# Submitting Patches
+
+Patches should be submitted via GitHub pull requests (PRs). Each PR should be a
+single atomic change, meaning that it should be merged or rejected as a unit.
+It is okay for a PR to contain multiple commits if later commits are dependent
+on earlier ones. If earlier commits do not depend on later ones, they
+(should/should not) be submitted separately.
+
+# Code Style
+
+RPM uses 8-space tabs. Indentation is 4 spaces, with each group of 8 or more
+leading spaces replaced by a tab.
+
+In VIM, this can be achieved with
+
+```vim
+set shiftwidth=4 tabstop=8 softtabstop=4
+```