1. Create new fork
Create new fork means clone a repository on your own account. Thus each user can make their own changes. All user of GitHub
can create their own fork. It is possible to make fork of Waspmote-API repository and Waspmote-API Unstable repository.
In this guide http://help.github.com/articles/fork-a-repo can be found how create new fork for own project.
Libelium recommend that each user create a new fork and work on their own repositories.
Create a new repository can be done from the web. To create new repository press the button “fork”
2. Create new branch
Branch is a separate line of code with its own history. You can create a new branch of an existing one and change the code
independently of other branches.
Branch management is an important part to the git workflow. The user can also choose to manage branches directly on
More information about how create and delete branches on repository can be found in:
https://help.github.com/articles/creati ... repository
3. Commit to your own GitHub account
Commit is like committing changes. This creates a new revision, which can be retrieved later, for example, if you want to view
or retrieve the source code for an older version. Each commit contains the author and committer or who makes the changes,
making it possible to identify the source of change. The author and the committer could be different people.
When a user performs commit, this change will apply to your local repository pressing “commit”. In order to upload to the user’s
account in GitHub you must run “commit & push” from the program SmartGit/Hg.
4. Commit to the Waspmote API Unstable
To add your code to the Waspmote API Unstable repository, must execute “Pull Request” for the changes to be reviewed and
Can find detailed information on how to perform a “Pull Request” http://help.github.com/articles/using-pull-requests.
Once the code is submited, the Libelium Dev Team will review it and will back to you with any doubt or question in order to
review it properly.
Find the Libelium Waspmote API here: https://github.com/Libelium/waspmoteapiImportant: Addition it is also mandatory for a “Pull Request” to be reviewed and accepted. Users must explain in the Libelium
Forum, what modifications made to Waspmote API Unstable code.
Note: Code must be commented so that it keeps understandable and clear for all users.