Closed aufi closed 4 months ago
I think we need to bare in mind a few things regarding the converted rules:
6.2.3
, but we manually added/altered some rules after that.Given this, I think we need to:
6.2.3
on. I think that version was set to achieve the goal of 80% coverage in the past, but we need to move forward and bring everything. ATM we have almost everything, but some of the stuff was added manually. This breaks conversion.potential
rules, maybe it was decided in the past that we didn't want to show them?What do you think?
There will probably be new windup rules that we need to convert.
I disagree, all new rules that we are supporting once we release must be in the new format. Supporting two formats is already too much of a burden.
The shim is stuck at the moment at windup-rulesets version 6.2.3, but we manually added/altered some rules after that.
This is by design; we have to move to a world where we are not talking about windup rules, but we are talking about our rulesets. The shim and conversation were always meant to be a starting point and to move forward with our rulesets.
Is there some other reason?
I disagree, all new rules that we are supporting once we release must be in the new format. Supporting two formats is already too much of a burden.
I'm not proposing to support two different formats. There may be new rules coming from windup in the future that we will want to move over to konveyor. Of course they will be in the new format once they are translated.
This is by design; we have to move to a world where we are not talking about windup rules, but we are talking about our rulesets. The shim and conversation were always meant to be a starting point and to move forward with our rulesets.
I agree with this, but again, I think we will probably have to move new rules over to konveyor. There will be a transitional period in which both tools will be available and new rules will be written in windup, and I think it's easier to translate them automatically rather than rewrite them by hand.
If we have a tool that translates the rules, with a few exceptions, why not use it with the latest windup-rulesets build?
I think our initial plan to lock in an early release seems a bit optimistic in hindsight, considering the unexpected number of contributions we've been asked to pull in. Avoiding an endless cycle of content transfer and encouraging people to learn the new format is crucial, but we also don't want to slow down adoption by missing out on key rules in our repo.
I think there are basically two ways forward, given the assumption that we do want to support at least some new content from windup
A lot of CI enhancement work has been done in last months including things mentioned on this issue, closing as solved.
There is a https://github.com/konveyor/rulesets repository that contains analysis rules converted from windup (by a windup-shim). These rules define issues created by the analysis process.
The latest update of ruleset https://github.com/konveyor/rulesets/pull/35 introduced few changes:
(([:=(,\{])([ ])*(["'])?([a-zA-Z]):)(?<![\<\\\/\d\w])([\\\/]\w+)+(\.\w+)?
) in 07-local-storage.windup.yaml (and 160-...) https://github.com/konveyor/rulesets/pull/35/files#diff-419f2137a5a26ca077059dbf64df44b44dce0a244d08f99ae8bcd4a9b99cb57eR118 and https://github.com/konveyor/rulesets/pull/35/files#diff-6dda044f417298b73d164cfd93a6a93ff95dfe0110ef214f86c6d679273c1050R118) and failed to be parsed by golang tools (this was failing the analysis)openshift
tocloud-readiness
There were few quick fixes addressing issues above created on Friday Dec 8th. For a long-term stability, following steps should be done (feel free to modify or add new ones)
Proposal
openshift
tocloud-readiness
https://github.com/konveyor/go-konveyor-tests/pull/72/files#diff-8de8d68fcf79068091ebb8dd937441c177b445478316b12ac18a0dbaa29f9177R54potential
issues reported by technology-usage ruleset, that were not reported before https://github.com/konveyor/go-konveyor-tests/pull/72/files#diff-ccf64025a7868dbe8a17d16aa2779b5c6c1656a13377c2d85763d26136c64342R141