HACKING 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Parabolaweb HACKING
  2. Things you should know:
  3. 1. You don't need to mess with the fixtures every time you want to add
  4. something. It's OK to just add it through the web-based admin
  5. interface. The fixtures are for setting up the inital data that
  6. things might not work without.
  7. 2. Please don't add new pages to the `legacy_urls` list in `urls.py`.
  8. It's for old, compatibility URLs. But once it's added there, it's
  9. there forever, don't remove it.
  10. Which branch you should use:
  11. - If it's a Parabola-specific change, put it on `master`.
  12. - If it's not Parabola-specific, put it on `archweb-generic`, then
  13. merge it into `master`.
  14. Following is Archweb's version of the HACKING file; you should follow
  15. it too.
  16. # Archweb HACKING
  17. Contributing
  18. ======================
  19. Coding Style
  20. ------------
  21. 1. All code should be indented with spaces. This is effectively the following VIM modeline:
  22. /* vim: set ai ts=4 sw=4 et: */
  23. 2. Recommend removing trailing whitespace. Here is an example for .vimrc
  24. autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
  25. 3. Wrap lines at 80 characters MAXIMUM
  26. vim: set ai ts=4 sw=4 et: