mcurlej / module-build

A library and cli tool for building module streams
MIT License
5 stars 5 forks source link

Precheck SRPM mapping. #13

Closed mkulik-rh closed 2 years ago

mkulik-rh commented 2 years ago

To avoid an error with missing SRPM during module build, precheck is executed after organizing components into batches.

mcurlej commented 2 years ago

Looks good. Please write a unittest for this. Thanks

mkulik-rh commented 2 years ago

This one is actually covered by test_srpm_build_with_missing_sources because check for SRPM was moved to beginning of the function to avoid "missing srpm" errors during rpm build.

I rebased it with changed docstring format to mach old ones.