Bug 9634 - bitbake-whatchanged script should use argparse instead of optparse library
Summary: bitbake-whatchanged script should use argparse instead of optparse library
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.2 M1
Assignee: Humberto Ibarra
QA Contact: David Rodriguez
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-05-14 19:37 UTC by Humberto Ibarra
Modified: 2016-06-16 14:14 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
git whatchanged -v master-log file (31.30 MB, text/plain)
2016-06-16 14:11 UTC, David Rodriguez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Humberto Ibarra 2016-05-14 19:37:10 UTC
Similar issue to the one described in #8321, only this applies to bitbake-whatchanged instead of yocto-bsp script.

optparse library is deprecated since 2.7, scripts should use argparse instead.
Comment 3 David Rodriguez 2016-06-16 14:11:45 UTC
Created attachment 3237 [details]
git whatchanged -v master-log file
Comment 4 David Rodriguez 2016-06-16 14:14:03 UTC
Code static review done.  Sections of the code work correctly on commands with <whatchange> option like “git whatchanged” or “bitbake- whatchanged master”.  Also, exception management gives proper help statements on the Terminal.