Version 12 (modified by davidsarah, at 2012-10-26T01:25:23Z) (diff) |
---|
Attention: this page is for Tahoe-LAFS developers. If you are not a Tahoe-LAFS developer, then the page you want is quickstart.rst.
see also wiki:Installation, wiki:Dev, wiki:Doc, wiki:Manual, and wiki:CompileError
Newbie Developer Setup
As I'm progressing my first steps in hacking tahoe-lafs I thought it might help others and this is what you're reading now. Be bold editing and improving this doc, since I'm not even familiar with Python and lots of you can document your own 'best practices' for other newbies.
I will use Eclipse IDE because of wide use and availability. But just because I'm used to it. You might have your preferred tools. I'm on Ubuntu.
- Set up your OS. (I tinker a lot with mine so I maybe miss some). You have to install python in your OS for tahoe to run. Most Linux distributions have it in their software repositories.
- tahoe-lafs source code is hosted in git repositories on github. Get git running in your machine. For Ubuntu just do this from a shell: sudo apt-get install git
- Get the code from the main repo this way
- IDE: Install Eclipse + PyDev in your platform. You can start from a "classical" Eclipse install and add the "Software sites" URL http://pydev.org/updates. You can then go to 'Install new software' menu item and add PyDev? from there.
(to be continued...)
- (ToDo?) Run the tests
- ...
- Learn to use the logging system
- Learn how to submit patches
- Dive into the code! See some tips for diving into Tahoe's source code and follow the coding standards when you're ready to code.
- Learn how to write tests. Patches and new code should pass the automated testing before being eligible to be merged (see this comment). There is a list of patches needing tests if you want to get your feet wet.