Skip to content

Conversation

@mallardduck
Copy link
Member

This is useful in certain rebase actions teams with complicated charts may face. Essentially this flag will allow for all existing patches to be applied when preparing even if they would cause errors. This way someone doing a rebase can see all the conflicting patches in one execution.

They can either try to fix as many as possible, or opt to temporarily disable them and recreate them.

This is useful in certain rebase actions teams with complicated charts may face.
Essentially this flag will allow for all existing patches to be applied when preparing even if they would cause errors.
This way someone doing a rebase can see all the conflicting patches in one execution.

They can either try to fix as many as possible, or opt to temporarily disable them and recreate them.
@mallardduck mallardduck requested a review from a team as a code owner February 4, 2025 16:33
Action: prepareCharts,
Before: setupCache,
Flags: []cli.Flag{packageFlag, cacheFlag},
Flags: []cli.Flag{packageFlag, cacheFlag, softErrorsFlag},
Copy link
Collaborator

@nicholasSUSE nicholasSUSE Feb 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you will need to add softErrorsFlag also to make charts Flags (line 282).

make charts command also calls make prepare internally before running.

You will have the same problem later on that stage.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now I've excluded charts subcommand intentionally - I'm open to expanding there, I just wanted to put some more consideration into if there should be more DX features around that one.

For now I'd expect - at least on O&B team - we would do something like:

  • Find all patches with errors,
  • Move those to a patch-off folder from patch,
  • Be able to run make chart
  • Work to recreate/fix the patches that were disabled

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok approved.

Action: prepareCharts,
Before: setupCache,
Flags: []cli.Flag{packageFlag, cacheFlag},
Flags: []cli.Flag{packageFlag, cacheFlag, softErrorsFlag},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok approved.

@nicholasSUSE nicholasSUSE merged commit aaa091e into master Feb 4, 2025
3 checks passed
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.

2 participants