Add alizer support for filtering devfiles by arch #1181
Labels
area/alizer
Enhancement or issue related to the alizer repo
lifecycle/stale
Stale items. These items have not been updated for 90 days.
Which area this feature is related to?
/area alizer
Which functionality do you think we should add?
After the introduction of specific CLI parameters like
--log
or--min-version
(#1170) we can add another filtering for--arch
. This way we can match devfiles regarding their architecture.Why is this needed? Is your feature request related to a problem?
Along other pros this will also unblock redhat-developer/odo#6805 (comment)
Detailed description:
Like
--min-version
and--max-version
we can have another parameter which will be passed to theMatchDevfiles
function:And the overall CLI usage can be:
Describe the solution you'd like
The best solution for this is to pass a parameter to the URL that fetches all devfiles from registry. As a result an update inside the
recognizer.GetUrlWithVersions
introduced here: devfile/alizer#5Acceptance Criteria
model.DevfileFilters
are passed to thecomponent_recognizer.go
The text was updated successfully, but these errors were encountered: