Permalink
Switch branches/tags
allow-edit-title-and-description-of-activities enable-profile-photo feature/add-coveralls-to-circleci feature/labcodes-sponsor feature/schedule-event-header feature/tracks feature/update-user-data feature/user-profile-history fix-join-fighers-link fix-search-count fix-track-drag-and-drop luzfcb-upgrade-django master migration-to-heroku pyup-update-asn1crypto-0.22.0-to-0.23.0 pyup-update-asn1crypto-0.23.0-to-0.24.0 pyup-update-bcrypt-3.1.3-to-3.1.4 pyup-update-blessings-1.6-to-1.6.1 pyup-update-blessings-1.6.1-to-1.7 pyup-update-bpython-0.16-to-0.17.1 pyup-update-certifi-2017.7.27.1-to-2018.4.16 pyup-update-certifi-2018.4.16-to-2018.10.15 pyup-update-cffi-1.10.0-to-1.11.0 pyup-update-cffi-1.11.0-to-1.11.5 pyup-update-coverage-4.4.1-to-4.5.1 pyup-update-cryptography-2.0.3-to-2.1.1 pyup-update-cryptography-2.0.3-to-2.1.3 pyup-update-cryptography-2.1.3-to-2.2.2 pyup-update-cryptography-2.2.2-to-2.3.1 pyup-update-curtsies-0.2.11-to-0.3.0 pyup-update-decorator-4.1.2-to-4.2.1 pyup-update-django-1.11.4-to-1.11.5 pyup-update-django-1.11.5-to-1.11.7 pyup-update-django-1.11.7-to-2.0.4 pyup-update-django-1.11.12-to-2.1.2 pyup-update-django-allauth-0.33.0-to-0.34.0 pyup-update-django-allauth-0.34.0-to-0.35.0 pyup-update-django-allauth-0.35.0-to-0.38.0 pyup-update-django-anymail-0.11.1-to-1.0 pyup-update-django-anymail-1.0-to-1.2 pyup-update-django-anymail-1.2-to-2.2 pyup-update-django-anymail-2.2-to-4.3 pyup-update-django-bootstrap3-9.0.0-to-9.1.0 pyup-update-django-bootstrap3-9.1.0-to-10.0.0 pyup-update-django-bootstrap3-10.0.0-to-11.0.0 pyup-update-django-debug-toolbar-1.8-to-1.9.1 pyup-update-django-debug-toolbar-1.9.1-to-1.10.1 pyup-update-django-extensions-1.9.0-to-1.9.1 pyup-update-django-extensions-1.9.1-to-1.9.7 pyup-update-django-extensions-1.9.7-to-2.0.7 pyup-update-django-extensions-2.0.7-to-2.1.3 pyup-update-django-vanilla-views-1.0.4-to-1.0.5 pyup-update-djangorestframework-3.6.4-to-3.7.1 pyup-update-djangorestframework-3.7.1-to-3.8.2 pyup-update-fabric-1.13.2-to-1.14.0 pyup-update-fabric-1.14.0-to-2.4.0 pyup-update-fixmydjango-0.3.1-to-0.3.2 pyup-update-greenlet-0.4.12-to-0.4.13 pyup-update-greenlet-0.4.13-to-0.4.15 pyup-update-idna-2.6-to-2.7 pyup-update-ipaddress-1.0.18-to-1.0.21 pyup-update-ipdb-0.10.3-to-0.11 pyup-update-ipython-5.4.1-to-6.3.1 pyup-update-master-sake-0.9.7-to-1.0 pyup-update-master-sake-1.0-to-1.1 pyup-update-model-mommy-1.3.2-to-1.4.0 pyup-update-model-mommy-1.4.0-to-1.5.1 pyup-update-model-mommy-1.5.1-to-1.6.0 pyup-update-networkx-1.11-to-2.0 pyup-update-networkx-2.0-to-2.1 pyup-update-networkx-2.1-to-2.2 pyup-update-oauthlib-2.0.2-to-2.0.4 pyup-update-oauthlib-2.0.4-to-2.0.6 pyup-update-oauthlib-2.0.6-to-2.0.7 pyup-update-oauthlib-2.0.7-to-2.1.0 pyup-update-paramiko-2.2.1-to-2.3.0 pyup-update-paramiko-2.3.0-to-2.3.1 pyup-update-paramiko-2.3.1-to-2.4.1 pyup-update-paramiko-2.4.1-to-2.4.2 pyup-update-pathlib2-2.3.0-to-2.3.2 pyup-update-pexpect-4.2.1-to-4.5.0 pyup-update-pexpect-4.5.0-to-4.6.0 pyup-update-pickleshare-0.7.4-to-0.7.5 pyup-update-pillow-4.2.1-to-4.3.0 pyup-update-pillow-4.3.0-to-5.1.0 pyup-update-pillow-5.1.0-to-5.3.0 pyup-update-prompt-toolkit-1.0.15-to-2.0.6 pyup-update-psycopg2-2.7.3-to-2.7.3.1 pyup-update-psycopg2-2.7.3.1-to-2.7.3.2 pyup-update-psycopg2-2.7.3.2-to-2.7.4 pyup-update-psycopg2-2.7.4-to-2.7.5 pyup-update-ptyprocess-0.5.2-to-0.6.0 pyup-update-pyasn1-0.3.2-to-0.3.3 pyup-update-pyasn1-0.3.3-to-0.3.5 pyup-update-pyasn1-0.3.5-to-0.3.6 pyup-update-pyasn1-0.3.6-to-0.4.2 pyup-update-pyasn1-0.4.2-to-0.4.4 pyup-update-pycparser-2.18-to-2.19 pyup-update-pynacl-1.1.2-to-1.2.0 pyup-update-pynacl-1.2.0-to-1.2.1 pyup-update-pynacl-1.2.1-to-1.3.0 pyup-update-pytz-2017.2-to-2018.4 pyup-update-pytz-2018.4-to-2018.5 pyup-update-pyyaml-3.12-to-3.13 pyup-update-raven-6.1.0-to-6.2.1 pyup-update-raven-6.2.1-to-6.3.0 pyup-update-raven-6.3.0-to-6.7.0 pyup-update-raven-6.7.0-to-6.9.0 pyup-update-requests-2.18.4-to-2.19.1 pyup-update-requests-oauthlib-0.8.0-to-1.0.0 pyup-update-scandir-1.5-to-1.6 pyup-update-scandir-1.6-to-1.7 pyup-update-scandir-1.7-to-1.9.0 pyup-update-six-1.10.0-to-1.11.0 pyup-update-smarturls-0.1.8-to-0.1.9 pyup-update-sqlparse-0.2.3-to-0.2.4 pyup-update-urllib3-1.22-to-1.23 pyup-update-uwsgi-2.0.15-to-2.0.17 pyup-update-uwsgi-2.0.15-to-2.0.17.1 pyup-update-werkzeug-0.12.2-to-0.14.1 separate-activity-forms test-circle
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (57 sloc) 2.89 KB

Contributing to Speakerfight

We'd love your contribution to our project and to make Speakerfight. Here are the guidelines we'd like you to follow:

Issues and Bugs

If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our GitHub repository. Even better you can submit a pull request with a fix.

Submission Guidelines

Asigning to you a issue

If you want to fix a issue, please comment in the issue thread to show to everyone that you want to do that, ask anything about it, explain your thoughts. It is so much important for us to have that conversation to avoid misconceptions, bugs, non-necesseracy implementations and over-engineering.

Submitting an Issue

Before you submit your issue search the archive, maybe your problem was already answered. Also check if there is no work in progress to fix your problem (when no issue to the problem was created).

Submitting a pull request

Building the environment:

$ git clone git@github.com:luanfonceca/speakerfight.git
$ cd speakerfight
$ pip install -r requirements.txt
$ python manage.py migrate # we have a fixture for the users...
$ python manage.py loaddata deck/fixtures/user.json
# username: admin, password: admin;
# username: user, password: user
$ python manage.py loaddata deck/fixtures/event.json
$ python manage.py loaddata deck/fixtures/proposal.json
$ python manage.py loaddata deck/fixtures/socialapp.json
$ python manage.py runserver

Before you submit your pull request consider the following guidelines:

  • Make your changes in a new branch:

     git checkout -b my-fix-branch master
  • Follow our Coding Rules.

  • Run the test suite:

     python manage.py test
  • Run code coverage:

     coverage run manage.py test
  • Commit your work, including appropriate test cases (unit tests, functional tests, regression tests, etc).

  • When commiting remember to write clear commit messages explaining why the change is important.

  • Run the test suite to ensure your code is working properly.

  • Push to the upstream and create a pull request against the master branch.

Coding Rules

To ensure consistency throughout the source code, keep the following rules in mind:

  • Speakerfight follows the same conventions Django uses.
  • Some programming languages have their own coding style guide. EditorConfig is here to help us on this.
  • All features or changes must be tested (your patch should have tests proving your code works as expected).
  • Code coverage is important.