Bug 7624

Summary: devtool: extract: fall back to metadata git history to get patch author/date
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: meta.mr.watcher, meta.watcher
Version: 1.8   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2015-04-17 16:33:54 UTC
If you run devtool modify -x / devtool extract, we rely on logic in patch.bbclass to try to produce reasonable commits in the resulting git repository for patches applied by the recipe that aren't directly applicable with git am. If we're missing information however (author, date, possibly even header message) then it would be worth trying to extract these from the commit that added the patch in the first place; at the moment we just use the current date and the user's default author which may sometimes be a bit confusing.