Gammu is written in C and Wammu in Python, so you will need knowledge of one of these languages to contribute code directly to the project. You will probably use some parts of developer documentation to understand the code. If you want to know what is planned to happen in Gammu and Wammu, please check the roadmap.
We currently use Git as a version control system. It allows you create own local branch, develop the code and then submit us patches or merge request for the changes.
The Git repositories are being hosted on Github service, in the Gammu project. You can browse the code on their site or just clone the repository and investigate it locally. To clone Wammu and Gammu sources, use following commands:
# For Wammu sources: git clone https://github.com/gammu/wammu.git # For Gammu sources: git clone https://github.com/gammu/gammu.git # For python-gammu sources: git clone https://github.com/gammu/python-gammu.git # For Wammu website: git clone https://github.com/gammu/website.git
Instructions for building and installing are included in file
INSTALL
in both Gammu and Wammu. For compiling Gammu you need to
have CMake.
Si, por alguna razón, no desea utilizar el sistema de control de versiones, siempre puede descargar la última versión del código desde GitHub.
Realmente no nos importa demasiado la forma en la que nos envíen parches. Sin embargo, la forma más sencilla es utilizar git format-patch
que nos permite incorporar los cambios fácilmente. Si no utilizas git, cualquier diff unificado servirá también. Puedes enviar parches a la listas de correo o al sistema de seguimiento de errores.
Gammu posee un conjunto de pruebas bastante exhaustivo que es ejecutado constantemente utilizando Travis.