[yocto] [PATCH 08/12] upgradehelper.py: clean repo only once when recipes are specified

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Dec 7 04:58:33 PST 2017


On 12/07/2017 09:37 AM, Robert Yang wrote:
> E.g.:
> $ upgradehelper.py less strace bash git
> 
> The commit is removed when failed, and kept when succeed, but it would be
> removed when next recipe runs, so only run clean_repo once can keep the commit,
> which is helpful for the user.

I have removed the logic that removes commits and manipulates branches 
altogether. AUH will always create a commit on the current branch, even 
if it caused a build or testimage failure, and otherwise won't touch git 
at all. If the user wants further repo manipulation, they can do it with 
an external script.

Alex



More information about the yocto mailing list