#636 Allow product version matching by subject ID
Merged by lholecek. Opened by lholecek.
lholecek/greenwave product-version-match  into  master

Download 636.patch

maybe it's better to use lower case there, as you are lowering the case in the code

maybe it's better to use lower case there, as you are lowering the case in the code

This tries to match the original item/subject-ID which is upper-case for compose. The lower case transformation is done after match.

rebased onto d7685c17399a963c48939a6fda10513f83fa9859

rebased onto 1c4a0854071d93f9a6d8b7b4b5d72551acb7059e

I'm merging this. Feel free to review next week.

Pull-Request has been merged by lholecek

compare https://pagure.io/greenwave/pull-request/633 , where I suggested something similar but we decided not to do it as you can just use the existing fnmatch matching...I'm not clear on the exact real-world case here, but would that not have worked for it too?

compare https://pagure.io/greenwave/pull-request/633 , where I suggested something similar but we decided not to do it as you can just use the existing fnmatch matching...I'm not clear on the exact real-world case here, but would that not have worked for it too?

This different. This patch is for Greenwave to figure out from a test result message what is the product version for a subject ID for a specific subject type.

In this case it is required for internal composes which are named "RHEL-X.Y.Z...".

Metadata