Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [backport release-0.5] Analysis - Update the TaskGroup to id selected rulesets (#2034) #2042

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

konveyor-ci-bot[bot]
Copy link

@konveyor-ci-bot konveyor-ci-bot bot commented Aug 2, 2024

Backport-of: #2034
Supports: https://issues.redhat.com/browse/MTA-3330

The way custom targets are handled by the analysis wizard has been
updated. There are no visual changes.

At analysis start time, a Taskgroup is submitted containing all of the
user's choices. To better support custom targets, the ruleSet of any
selected custom targets will no be submitted as part of the
Taskgroup.TaskData.rules. Identifying the ruleSet will allow the
custom target's rules to be enabled in analysis.

In support of this change:

  • The wizard's form data now stores a Target[] instead of a number[]
    to make working with the selected targets more convenient across the
    wizard components.
  • Any code working with just the targetId has been updated to use the
    full Target object
  • The handlers for changes to the target labels on the wizard's options
    step better handle mapping the selected label changes to target card
    selection

Signed-off-by: Scott J Dickerson [email protected]
Signed-off-by: Cherry Picker [email protected]

Supports: https://issues.redhat.com/browse/MTA-3330

The way custom targets are handled by the analysis wizard has been
updated. There are no visual changes.

At analysis start time, a `Taskgroup` is submitted containing all of the
user's choices. To better support custom targets, the `ruleSet` of any
selected custom targets will no be submitted as part of the
`Taskgroup.TaskData.rules`. Identifying the `ruleSet` will allow the
custom target's rules to be enabled in analysis.

In support of this change:
  - The wizard's form data now stores a `Target[]` instead of a `number[]`
    to make working with the selected targets more convenient across the
    wizard components.
  - Any code working with just the `targetId` has been updated to use the
    full `Target` object
  - The handlers for changes to the target labels on the wizard's options
    step better handle mapping the selected label changes to target card
    selection

---------

Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
@sjd78 sjd78 changed the title 🐛 Analysis - Update the TaskGroup to id selected rulesets (#2034) 🐛 [backport release-0.5] Analysis - Update the TaskGroup to id selected rulesets (#2034) Aug 2, 2024
@sjd78 sjd78 added this to the v0.5.1 milestone Aug 2, 2024
@sjd78 sjd78 merged commit 8d347cd into release-0.5 Aug 2, 2024
8 checks passed
@sjd78 sjd78 deleted the cherry-pick-pr2034-release-0.5 branch August 2, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant