Support For Other Languages In Alizer Port Detection Optimizations #1376
Labels
area/alizer
Enhancement or issue related to the alizer repo
lifecycle/rotten
Rotten items. These items have been stale for 60 days and are now closed.
lifecycle/stale
Stale items. These items have not been updated for 90 days.
Which area/kind this issue is related to?
/area alizer
Issue Description
This issue stems from the implementation of #1337 where we were making optimizations to Alizer's port detection process, specifically for Go. It would be nice to made changes to the
GenerateApplicationFileFromFilters
function to allow each language suffix to have its own list of excluded filepaths.This can potentially be implemented by having a map in the form
{"<language suffix>": "[slice of excluded filepaths]"}
where we first check if the suffix requires any exclusion. By implementing it this way we prevent unnecessary time spent comparing every file to every excluded filepath, even if their languages are different.Target Odo version
Acceptance Criteria
The text was updated successfully, but these errors were encountered: