-
Notifications
You must be signed in to change notification settings - Fork 461
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
Skip execution in incremental (m2e) builds by default #2059
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d0460d7
Skip execution in incremental (m2e) builds by default
kwin 70ba6ea
Add section to readme how to enable m2e support
kwin 7b1e2f2
more markdown fixes
kwin 2c2cdfa
missing question mark
kwin 144b173
Add reasoning for disabling incremental support by default
kwin 2f45f98
rename parameters to have a m2e prefix
kwin a2caf6e
add changelog entry
kwin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe
m2eIncrementalBuildMessages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m2eIncrementalBuild
is too fuzzy for me,m2eIncrementalBuildMessages
sounds better.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That works for me :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After having a second thought, I think having only one parameter is over-simplifying things, as we talk about two different goals:
The message severity is only ever useful for the latter, while
m2eEnableForIncrementalBuild
applies to both.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
m2eEnableForIncrementalBuild
is false, thenm2eIncrementalBuildMessages
has no effect, correct? And ifm2eEnableForIncrementalBuild
is true, would it ever make sense form2eIncrementalBuildMessageSeverity
to beNONE
orSILENT
?I might be wrong, but this seems like having a separate switch for the fuel pump on a car.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is correct.
No, but the point is that noone expects that
m2eIncrementalBuildMessageSeverity
orm2eIncrementalBuildMessages
would toggle off the incremental build at all.For me having one multivalue switch feels more like adjusting your AC will implicitly also start your car ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not such a bad idea if the car can't run without A/C. But whatever, I usually defer to the people who are gonna use the thing.
Only thing missing now is a changelog entry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
P.S. I would consider
m2eIncrementalBuildMessageSeverity
advanced setting (rarely adjusted) whilem2eEnableForIncrementalBuild
is a basic setting (easy to understand for everyone, more often adjusted). Hope this is enough justification for keeping both separate, but this is definitely my last argument to this discussion :-)