Fix panic in apkdb parsing on empty "provides" values (#1494)
* Add failing test for strip version specifiers panic
Signed-off-by: Dan Luhring <[email protected]>
* Fix test
Signed-off-by: Dan Luhring <[email protected]>
* Prevent panic scenario in helper func
Signed-off-by: Dan Luhring <[email protected]>
* Fix lint issue
Signed-off-by: Dan Luhring <[email protected]>
* add tests for apk stripVersionSpecifier() and remove caller empty value check
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Dan Luhring <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Co-authored-by: Alex Goodman <[email protected]>