Bug 9870 - patchtest-oe: check bugzilla entry in patches is correctly formatted
Summary: patchtest-oe: check bugzilla entry in patches is correctly formatted
Status: RESOLVED FIXED
Alias: None
Product: Patchwork/Patchtest
Classification: Yocto Project Subprojects
Component: Patchtest (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ minor
Target Milestone: 2.2 M2
Assignee: Aníbal Limón
QA Contact: David Rodriguez
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-04 16:19 UTC by Leonardo Sandoval Gonzalez
Modified: 2016-07-29 14:40 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

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Sandoval Gonzalez 2016-07-04 16:19:27 UTC
implement a unit test that checks the patch line that indicates the bugzilla entry 

[YOCTO #XXXX]
Comment 1 Aníbal Limón 2016-07-11 16:59:37 UTC
Patch was integrated with checks of,

regex for detect: "\[.*[Y|y][O|o][C|c][T|t][O|o].*\]"
regex for valdiate: "^\[YOCTO #(\d+)\]$"