|
@@ -7,7 +7,7 @@ feels wrong or incomplete.
|
|
|
## Reporting Issues
|
|
|
|
|
|
When reporting [issues](https://github.com/dotcloud/docker/issues)
|
|
|
-on Github please include your host OS ( Ubuntu 12.04, Fedora 19, etc... )
|
|
|
+on GitHub please include your host OS ( Ubuntu 12.04, Fedora 19, etc... )
|
|
|
and the output of `docker version` along with the output of `docker info` if possible.
|
|
|
This information will help us review and fix your issue faster.
|
|
|
|
|
@@ -45,7 +45,7 @@ else is working on the same thing.
|
|
|
|
|
|
### Create issues...
|
|
|
|
|
|
-Any significant improvement should be documented as [a github
|
|
|
+Any significant improvement should be documented as [a GitHub
|
|
|
issue](https://github.com/dotcloud/docker/issues) before anybody
|
|
|
starts working on it.
|
|
|
|
|
@@ -146,19 +146,13 @@ then you just add a line to every git commit message:
|
|
|
using your real name (sorry, no pseudonyms or anonymous contributions.)
|
|
|
|
|
|
One way to automate this, is customise your get ``commit.template`` by adding
|
|
|
-the following to your ``.git/hooks/prepare-commit-msg`` script (needs
|
|
|
-``chmod 755 .git/hooks/prepare-commit-msg`` ) in the docker checkout:
|
|
|
+a ``prepare-commit-msg`` hook to your docker checkout:
|
|
|
|
|
|
```
|
|
|
- #!/bin/sh
|
|
|
- # Auto sign all commits to allow them to be used by the Docker project.
|
|
|
- # see https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md#sign-your-work
|
|
|
- #
|
|
|
- GH_USER=$(git config --get github.user)
|
|
|
- SOB=$(git var GIT_AUTHOR_IDENT | sed -n "s/^\(.*>\).*$/Docker-DCO-1.1-Signed-off-by: \1 \(github: $GH_USER\)/p")
|
|
|
- grep -qs "^$SOB" "$1" || echo "\n$SOB" >> "$1"
|
|
|
+curl -o .git/hooks/prepare-commit-msg https://raw.github.com/dotcloud/docker/master/contrib/prepare-commit-msg.hook && chmod +x .git/hooks/prepare-commit-msg
|
|
|
+``
|
|
|
|
|
|
-```
|
|
|
+* Note: the above script expects to find your GitHub user name in ``git config --get github.user``
|
|
|
|
|
|
If you have any questions, please refer to the FAQ in the [docs](http://docs.docker.io)
|
|
|
|