Thursday, April 6, 2017

Manifest File and repo commands


Inside of the manifest file

The manifest file can be found in hidden directory under the project root.(.repo/manifests/default.xml)

The directory .repo/manifest is a git repository.
The branches in this git reflect the branhes in the project

<manifest>
.....
...

[below are the list of project, above this line are Manifest head]
<project path="system/bt" name="system/bt"/>
<project path="hardware/libhardware" name="hardware/libhardware"/>

<manifest>


---------Most common Repo commands------
1. repo sync  --> Download the latest changes in all repositories.
2. repo start  --> Create a new branch
3. repo upload --> Upload one or more change to gerrit


Major issue :

If you forgot to create brnach and do the change and want to commit then it will FAIL.

Solution: once your change is ready, then better you can create the patch for your change and then
create the branch. Once branch is created you can apply your patch.

No comments:

Post a Comment

Qualcomm Short Term

  113 is the SL. 1st Target by mid July.

Total Pageviews