= Contribute: Code = [[TOC]] If you wish to contribute Code then you should see this page on guidance for Developers: * [wiki:Develop] There are tasks suitable for coders of various levels. Sahana Eden using Python, !JavaScript and HTML. == Small Coding Tasks == These are smaller pieces of work that are well suited to people who are starting to contribute: * Pick one of our easy bugs/tasks to fix, either in: * [http://eden.sahanafoundation.org/report/18 Trac] First ensure that you can repeat this in your local instance - if not: MODIFY TICKET > resolve as > worksforme. If the bug is still present, assign the ticket to yourself. * [http://sunflower.sahanafoundation.org/eden/project/task?task_tag.tag_id__belongs=19&~.status__belongs=3,4,2,11 Sahana Sunflower Community Portal] * Or pick from all bugs/tasks to fix, either in: * [http://eden.sahanafoundation.org/report/34 Trac] * [http://sunflower.sahanafoundation.org/eden/project/task?~.status__belongs=3,4,2,11 Sahana Sunflower Community Portal] * [https://github.com/flavour/eden/search?utf8=%E2%9C%93&q=%22%40todo%22&type=Code Find a "@ToDo" in the code] and do it! eg: * Migrate represents to S3Represent * project_assignee_represent (https://github.com/flavour/eden/blob/master/modules/s3db/project.py#L4928), for an example see: project_TaskRepresent (https://github.com/flavour/eden/blob/master/modules/s3db/project.py#L5677) or search for other uses of S3Represent. * Migrate custom methods to use settings.get_ui_formstyle() * S3ImportPoI (https://github.com/flavour/eden/blob/master/modules/s3/s3gis.py#L8634) * Extend S3AddPersonWidget2 to have an option to enter names into 2-3 different fields instead of a single field * https://github.com/flavour/eden/blob/master/modules/s3/s3widgets.py#L619 * https://github.com/flavour/eden/blob/master/static/scripts/S3/s3.add_person.js * Complete S3UpdateLocation() * https://github.com/flavour/eden/blob/master/modules/s3/s3track.py#L707 * e.g. with the event_resource model: https://github.com/flavour/eden/blob/master/modules/s3db/event.py#L933 * Review [SysAdmin/ContinuousIntegration CI Server] Results * You can subscribe to the results of the tests. Any errors found can either be [BugReportingGuidelines reported] or fixed. Make sure that you replicate the errors locally to ensure that it isn't an error with the test. == Bigger Coding Projects == Projects for people who would like to make a really meaningful long term contribution to Sahana, e.g. suitable for GSoC * [wiki:Projects/Advanced Projects] * [wiki:BluePrint BluePrints]