Bug 7624 - devtool: extract: fall back to metadata git history to get patch author/date
Summary: devtool: extract: fall back to metadata git history to get patch author/date
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 2.1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-17 16:33 UTC by Paul Eggleton
Modified: 2015-12-02 02:24 UTC (History)
2 users (show)

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


Attachments

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