Notice

This page show a previous version of the article

Guide for new Tatoeba developers

Somehow you've stumbled upon Tatoeba, somehow you've found the project interesting, and somehow you decided to help us maintain and improve Tatoeba... but you're not sure exactly how to get started. This page is here to guide you in your first steps.

Get in touch with us

The first thing you need to do is to contact us and let us know about you. There are 2 main ways to get in touch with us:

  • Google group: you should use in priority the Google group to announce that you'd like to join the dev team. Note that the Google group is public and anyone on the Internet can see your post.
  • Email: team@tatoeba.org (if you are too shy to post in the Google group).

We would appreciate if you tell us a bit about yourself.

  • Where are you from? Which languages do yo speak?
  • How much experience you have in programming/web development? Don't worry, you don't need to be an expert or anything.
  • How did you discover Tatoeba and what is your username on Tatoeba (if you have an account)?
  • Is there something specific you'd like to work on?

Last but not least, we will need to know your Github username.

Github

Our source code is hosted on Github so you'll need to create an account there, if you don't already have one. If you are new to Git and/or Github, you'll have to spend a bit of time to learn about it. You'll especially need to understand how to open a pull request.

On Github, take a look at our issues and see if there's any problem listed in there that you'd like to try and solve. Our issues are not perfectly categorized, but you can check the ones that are labeled effort:low to get started.

Install Tatoeba and explore the code

Before you start any task, you will need to install Tatoeba on your machine so that you can test your code before you send it to us.

The instructions to install Tatoeba can be found in the README of the Github repository.

If you have any trouble installing and running Tatoeba locally, do not hesitate to ask for help in the Google group.

You should then explore the code. In order to not get lost in the code, you will need to learn about CakePHP. We currently use version 1.3. Note: Tatoeba's code is located in the app folder. You don't really need to look at the other folders.

Your first tasks and pull requests

Somebody (most likely Trang) will invite you to our Collaborators team on Github and will assign you an issue to work on. If you haven't done it yet, please tell us (or at least tell Trang) your username on Github.

Members of the Collaborators team only have read access to the repository. They cannot push code directly to it and must open a pull request in order to send a patch. If you are new to Github, please take the time to search and read about pull requests and about keeping your fork repository in sync with Tatoeba's repository. You will need to know about these things because you will be sending us code only via pull request for your first tasks.

Later on, if you are motivated to continue in the long term with us, we will move you into the Tatoeba developers team where you will have write access to the repo and won't necessarily have to open pull requests anymore (for small issues at least).

Our workflow

Website updates

We update (or at least try to update) Tatoeba every week, during the weekend.

There is a milestone created for each update. If you've sent us a pull request and are wondering when your code will be integrated and deployed into production, you can simply check if your issue is added to one of the milestones.

You can check our blog or the closed milestones to get an idea of what has been released in the past updates.

Dev website

We have a dev website where our users can test some of our code before we release the code on the real (production) website.

It often happens that we code something, release it on the dev website some time around the beginning of middle of the week. We then ask our users to test and give feedbacks. We fix stuff or improve stuff based on the feedbacks. And then we release on the production website.

If you'd like to explore the features of Tatoeba without being afraid of polluting the database of the production website, feel free to use the dev website.

Thanks for your interest and happy coding

That's pretty much all you need to know to get started. If there's anything that is not clear or if there's anything important to know for new developers that we didn't mention, don't hesitate to let us know.