Repository navigation
Improve the TSMgmtUpdateRegister with an optional file name - #10642
Merged
Merged
Conversation
zwoop
force-pushed
the
ImproveTSMgmtUpdateRegister
branch
from
October 18, 2023 21:30
b024286 to
a24f9ec
Compare
zwoop
force-pushed
the
ImproveTSMgmtUpdateRegister
branch
2 times, most recently
from
October 18, 2023 22:52
10f26ad to
b8bd566
Compare
shukitchan
requested changes
Oct 19, 2023
zwoop
force-pushed
the
ImproveTSMgmtUpdateRegister
branch
4 times, most recently
from
October 19, 2023 22:30
2681761 to
980bed9
Compare
Contributor
Author
|
[approve ci autest] |
1 similar comment
Contributor
|
[approve ci autest] |
Contributor
|
Providing this filename makes the update registry keep track of file changes automatically. When used, the continuation provided will only be called if changes to the configuration file is detected. Also, this eliminates the superflous code for calling a named plugin reload. That code is never used, and I don't like having code there "just because", when nothing uses it.
zwoop
force-pushed
the
ImproveTSMgmtUpdateRegister
branch
from
October 22, 2023 23:57
7abc310 to
4cad488
Compare
Contributor
Author
Yeh, I can email, but it doesn't break or modify any existing plugins (because we can now provide defaults in API changes).
With # 2, yes, it's useless, but removing it would break compatibility unnecessarily. I'd rather keep it, if not only because it could at least allow for easier debugging later. |
shukitchan
approved these changes
Oct 23, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Providing this filename makes the update registry keep track of file changes automatically. When used, the continuation provided will only be called if changes to the configuration file is detected.
Also, this eliminates the superflous code for calling a named plugin reload. That code is never used, and I don't like having code there "just because", when nothing uses it.