Debian Codegraph @

CONTRIBUTING

raw
1 So you want to contribute with libthumbor? Welcome onboard!
2
3 There are a few things you'll need in order to properly start hacking on it.
4
5 First step is to fork it at http://help.github.com/fork-a-repo/ and create your own clone of libthumbor.
6
7 ## Dependencies
8
9 We seriously advise you to use virtualenv (http://pypi.python.org/pypi/virtualenv) since it will keep your environment clean of libthumbor's dependencies and you can choose when to "turn them on".
10
11 You'll also need python >= 2.6 and < 3.0.
12
13 After that, just issue a `make setup` command and you'll be ready to start hacking.
14
15 ## Running the Tests
16
17 Running the tests is as easy as:
18
19 make test
20
21 ## Pull Requests
22
23 After hacking and testing your contribution, it is time to make a pull request. Make sure that your code is already integrated with the master branch of libthumbor before asking for a pull request.
24
25 To add thumbor's remote as a valid remote for your repository:
26
27 git remote add libthumbor git://github.com/thumbor/libthumbor.git
28
29 To merge thumbor's master with your fork:
30
31 git pull libthumbor master
32
33 If there was anything to merge, just run your tests again. If they pass, send a pull request (http://help.github.com/send-pull-requests/).