[yocto] [layerindex-web] Fixes to import_project.py
Mark Hatle
mark.hatle at windriver.com
Mon Nov 14 13:33:45 PST 2016
I've pushed two new commits to the mhatle/django18 branch.
Below are the two additional commits. These fix issues we discovered in the
import_project.py script.
commit 842c76a95a48be5b18def0b713d1158a4dea24b2
Author: Liam R. Howlett <Liam.Howlett at WindRiver.com>
Date: Fri Nov 4 11:10:22 2016 -0400
layerindex/tools/import_project.py: Code cleanup
Remove ; and spaces when setting variables in calls.
Signed-off-by: Liam R. Howlett <Liam.Howlett at WindRiver.com>
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
commit 5951402e7275738696409a5ca5fa08b0c1d57031
Author: Liam R. Howlett <Liam.Howlett at WindRiver.com>
Date: Fri Nov 4 11:09:29 2016 -0400
layerindex/tools/import_project.py: Detect remote name & branch
Don't assume remote name is origin, run `git remote` to get the remote
name. When checking the remote, detect the branch as well, that way the
layerindex will work if the remote branch name and local branch name do
not match.
Note that this currently only supports one remote.
Signed-off-by: Liam R. Howlett <Liam.Howlett at WindRiver.com>
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
More information about the yocto
mailing list