Bug 8390 - AUH: Validate if git is configured
Summary: AUH: Validate if git is configured
Status: RESOLVED FIXED
Alias: None
Product: Automated Update Handler
Classification: Yocto Project Subprojects
Component: Automatic Update Handler (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 2.1 M1
Assignee: Aníbal Limón
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-24 17:05 UTC by Aníbal Limón
Modified: 2016-10-26 09:27 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
AUH config failure log (1.76 KB, text/plain)
2015-09-24 17:05 UTC, Aníbal Limón
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.