All projects under the Pylons Projects, including this one, follow the guidelines established at How to Contribute and Coding Style and Standards.
You can contribute to this project in several ways.
Git branches and their purpose and status at the time of this writing are listed below.
Older branches are not actively maintained. In general, two stable branches and one or two development branches are actively maintained.
Note: This section needs better instructions.
Run tox
from within your checkout. This will run the tests across all supported systems and attempt to build the docs.
To run the tests for Python 2.x only:
$ tox py2-cover
To build the docs for Python 3.x only:
$ tox py3-docs
See the tox.ini
file for details.
Note: These instructions might not work for Windows users. Suggestions to improve the process for Windows users are welcome by submitting an issue or a pull request.
Fork the repo on GitHub by clicking the [Fork] button.
Clone your fork into a workspace on your local machine.
git clone git@github.com:<username>/webob.git
Add a git remote “upstream” for the cloned fork.
git remote add upstream git@github.com:Pylons/webob.git
Set an environment variable to your virtual environment.
# Mac and Linux $ export VENV=~/hack-on-webob/env # Windows set VENV=c:\hack-on-webob\env
Try to build the docs in your workspace.
# Mac and Linux $ make clean html SPHINXBUILD=$VENV/bin/sphinx-build # Windows c:\> make clean html SPHINXBUILD=%VENV%\bin\sphinx-build
If successful, then you can make changes to the documentation. You can load the built documentation in the /_build/html/
directory in a web browser.
From this point forward, follow the typical git workflow. Start by pulling from the upstream to get the most current changes.
git pull upstream master
Make a branch, make changes to the docs, and rebuild them as indicated in step 5. To speed up the build process, you can omit clean
from the above command to rebuild only those pages that depend on the files you have changed.
Once you are satisfied with your changes and the documentation builds successfully without errors or warnings, then git commit and push them to your “origin” repository on GitHub.
git commit -m "commit message" git push -u origin --all # first time only, subsequent can be just 'git push'.
Create a pull request.
Repeat the process starting from Step 6.