[Deprecated] How upload your code to the Waspmote API Unstable repository

Locked
libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

[Deprecated] How upload your code to the Waspmote API Unstable repository

Post by libelium-dev » Tue Feb 26, 2013 10:25 am

Currently we don't check the pull requests at GitHub. If you want to propose a change on the API, you may write at the issues tab and we will take a look at it.

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
http://www.github.com
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
accepted.
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.
Important: 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.
Find the Libelium Waspmote API here: https://github.com/Libelium/waspmoteapi

Note: Code must be commented so that it keeps understandable and clear for all users.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest