mbox series

[0/3] Improve yocto-check-layer test_readme method

Message ID 20260120194722.142355-1-ungerer.ricardo@gmail.com
Headers show
Series Improve yocto-check-layer test_readme method | expand

Message

Ricardo Ungerer Jan. 20, 2026, 7:47 p.m. UTC
This series of patches improves the test_readme method in the
yocto-check-layer tool by:

1. adding context messages to assertions,
2. changing the python function used to check email addresses from re.match to
   re.search,
3. adding a docstring to the test_readme method

Ricardo Ungerer (3):
  yocto-check-layer: Add messages in test_readme assertions
  yocto-check-layer: Fix README email check
  yocto-check-layer: Add docstring to test_readme method

 scripts/lib/checklayer/cases/common.py | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

--
2.43.0

Comments

Quentin Schulz Jan. 21, 2026, 9:25 a.m. UTC | #1
Hi Ricardo,

On 1/20/26 8:47 PM, Ricardo Ungerer via lists.openembedded.org wrote:
> [You don't often get email from ungerer.ricardo=gmail.com@lists.openembedded.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> This series of patches improves the test_readme method in the
> yocto-check-layer tool by:
> 
> 1. adding context messages to assertions,
> 2. changing the python function used to check email addresses from re.match to
>     re.search,
> 3. adding a docstring to the test_readme method
> 
> Ricardo Ungerer (3):
>    yocto-check-layer: Add messages in test_readme assertions
>    yocto-check-layer: Fix README email check
>    yocto-check-layer: Add docstring to test_readme method
> 

For the whole series:

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin