Today we are happy to announce support for building from Github in Rhomobile!
Users can now build their Rhomobile applications using their Github repositories. This works for both public Github repositories, and even private Github repositories (note: a few extra steps are required for private repositories). Building from your public or private Github repositories provides a more reliable build experience.
Moving existing Rhohub repositories into github.com
To move your exisiting rhohub repository to github and continue you'r rhomobile builds, based on newly created github repository, you need to run a special clone command against your old rhohub repository and mirror-push to the newly created github repository.
In the following cases, the repository you're trying to move -- like
first you have to create a new github repository in github.com.
fo example ,
email@example.com:username/new_github_repository.git should already created and exist on github.com.
See "Creating a new repository in github" for more information.
Open up the command prompt, and type these commands:
# Make a bare clone of your existing rhohub repository git clone --bare firstname.lastname@example.org:username/rhohub_repository.git
# Mirror-push to the new github repository git push --mirror email@example.com:username/new_github_repository.git
# Remove our old rhohub_repository cd .. rm -rf rhohub_repository.git
now you'r application source code moved to github successfully.
now you have to update "new github url" in your existing aplication.
to do that, open your individual rhomobile application page.
click "Change Git Source" button , copy that newly created github url (ie ,"firstname.lastname@example.org:username/newgithubrepository.git" ) and paste in "External Git URL" field , then save it.
now you have to configure github to accept rhohubbuild to read you repository.
to do that click "Private Repo Setup" button and follow those instructions.
thats all , now you can trigger builds
We hope you enjoy the benefits of this new capability.