Skip to content

Commit 8859cb0

Browse files
committed
importer: update readme
1 parent 640e1fd commit 8859cb0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/importer/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
importer.py script can be used to import code base from different repositories into mbed-os.
44

55
### Pre-requisties
6-
1. Get the required repository clone and update it to commit required. Note: Repository should be placed outside the mbed-os.
6+
1. Get the required repository clone and update it to commit required - the recommended would be to checkout the latest release version in the repository that we are getting an update from.
7+
Note: Repository should be placed outside the mbed-os. For instance CMSIS_5 repo would be at the same level as mbed-os repository (`update/mbed-os` and update/CMSIS_5)
78
2. Create json file as per template
89

910
### JSON file template
@@ -13,7 +14,7 @@ New commit is created on branch `feature_+repo_name+last_sha` with commit messag
1314

1415
Note: Only files present in folder will be copied, directories inside the folder will not be copied.
1516

16-
`commit_sha` is list of commits present in mbed-os repo. These commits will be applied after copying files and folders listed above.Each commit in the commit_sha list is cherry-picked and applied with the -x option, which records the SHA of the source commit in the commit message.
17+
`commit_sha` is list of commits present in mbed-os repo. They are used to be on top of the update - we are changing the upstream repository. To illustrate, the upstream repository does not contain Mbed OS specific change. To apply this change for every update, we add this commit SHA to the `commit_sha`. Every update we do, will use this sha and apply it on top of the latest update. Each commit in the commit_sha list is cherry-picked and applied with the -x option, which records the SHA of the source commit in the commit message.
1718
Note: You must resolve any conflicts that arise during this cherry-pick process. Make sure that the "(cherry picked from commit ...)" statement is present in the commit message. Re-execute the python script to apply rest of the SHA commits.
1819

1920
```json

0 commit comments

Comments
 (0)