konveyor / enhancements

Enhancements tracking repository for Konveyor
Apache License 2.0
3 stars 33 forks source link

[RFE] Detect language & frameworks being used in repositories on import #131

Open jwmatthews opened 1 year ago

jwmatthews commented 1 year ago

As a user importing a source code repository to Konveyor I would like to see Konveyor understand the languages and frameworks used in the source code (prior to running a full code Analysis), similar to the kind of view GitHub provides on a repository with a break out of language percentages...plus more metadata to help get a sense of the frameworks being used.

One possibility to consider for achieving this is to explore leveraging 'Alizer': https://github.com/redhat-developer/alizer which is a component of https://devfile.io/

Related to #122

rromannissen commented 8 months ago

@jortel I imagine this could be implemented by running the discovery rules automatically when an application has repository info and (optionally if required) credentials associated to it. We should make sure to implement the concept of priorities for tasks, as these automated tasks should have lower priority than anything scheduled by the user.

shawn-hurley commented 5 months ago

I would be concerned about doing it that way when we don't know the language and which rulesets/targets to use for discovery, IMO.

It will have to be potentially a two-step process: 1. figure out languages (and therefore the provider/rulesets that are needed) and 2. run the discovery rules for all rulesets that are for a particular language, would be my guess.