This repository contains manifest files for package development. Manifest files describe the project structure and is used by git-repo to fetch all the packages repositories.
To prepare for cloning, perform the following procedure:
- Create ~/bin/ subdirectory, include it in PATH, and then switch to it by executing the following commands:
mkdir ~/bin/
PATH=~/bin:$PATH
- Download the repo script by executing the following command:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
- Change the attribute of repo to make it executable by executing the command:
sudo chmod a+x ~/bin/repo
- Create a new directory for Maui and then switch to it by executing the following commands:
mkdir ~/<Maui_Project>
cd ~/<Maui_Project>
To clone the latest source of all projects over SSH, perform the following procedure:
- Initialize the repository by executing one of the following commands, as appropriate.
For developer access:
repo init -u ssh://git@github.com/mauios/manifest.git
For read-only access:
repo init -u https://github.com/mauios/manifest.git
- Synchronize the repository by executing the following command:
repo sync
repo doesn't create local branches for you, hence you end up with a detached head that points to the last known good commit.
Before you start developing make sure you have local branches:
repo forall -c 'git checkout $REPO_RREV'