Bug 8390

Summary: AUH: Validate if git is configured
Product: [Yocto Project Subprojects] Automated Update Handler Reporter: Aníbal Limón <anibal.limon>
Component: Automatic Update HandlerAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED FIXED QA Contact: Costin <costin.c.constantin>
Severity: enhancement    
Priority: Medium CC: richard.purdie
Version: unspecified   
Target Milestone: 2.1 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
AUH config failure log none

Description Aníbal Limón 2015-09-24 17:05:58 UTC
Created attachment 2768 [details]
AUH config failure log

When AUH is ran without git configuration it fails when try to made commits of upgraded recipe.

For fix it,

- Add to the README git user/email config.
- Display all the exception into _commit_changes in upgradehelper.py.
- Add sanity test at init of AUH for ensure that the environment is correct.