Conversation
This change also groups 'aztecVersion' to be part of the other library related version definitions on root and has that sit closer to the 'gutenbergMobileVersion' version definition, which is also being utilized mainly on the 'editor' module.
Warning Messages: "'decapitalize(Locale): String' is deprecated.
Use replaceFirstChar instead."
This deprecated warning is suppressed, that is, instead of it being
resolved, since using 'replaceFirstChar { ... }' is a bit complicated
and it would need a bit more thought.
Warning Messages: "'appendln(String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */' is deprecated. Use appendLine instead. Note that the new method always appends the line feed character '\n' regardless of the system line separator."
Warning Messages: "'asTypeName(): TypeName' is deprecated. Mirror APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead." This deprecated warning is suppressed, that is, instead of it being resolved, since using the kotlinpoet-metadata APIs is out of scope.
This was referenced Sep 22, 2022
Contributor
|
You can test the WordPress changes on this Pull Request by downloading an installable build (wordpress-installable-build-pr17197-fab2ded.apk), or scanning this QR code: |
Contributor
|
You can test the Jetpack changes on this Pull Request by downloading an installable build (jetpack-installable-build-pr17197-fab2ded.apk), or scanning this QR code: |
Contributor
Author
|
Thank you for reviewing and testing this @irfano ! 🙇
Great, thanks for that! 🙏 FYI, next time please feel free to merge it yourself, don't worry about
Awesome, thank you so much for your willingness to help with the reviews Irfan, you rock! 🎸 |
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.
Parent: #17173
Closes: #17175
Associated To: #17195
This PR resolves/suppresses a couple of warnings for the
processorsmodule and then enables all warnings as errors on it as well.Warnings Resolution List:
Warnings Suppression List:
The
allWarningsAsErrorsconfiguration is currently applied on the module level in order to make sure that, as the overall Compiler Warnings as Errors work is progressing, no new warnings are added to this module, which is already free of warnings.When the overall Compiler Warnings as Errors work is complete on all modules, then this module level
allWarningsAsErrorsconfiguration will be replaced by a root level such configuration that will be applied by default to all modules (see here).Note that, in addition to enabling the
allWarningsAsErrorsconfiguration on theprocessorsmodule, I took this opportunity to improve on other aspects ofversionrelated configurations. As such, this PR also improves on the following in order to mainstream this (kind of related) group of configurations, for this and all other lib module:versionPS: @irfano I added you as the main reviewer, that is, in addition to @wordpress-mobile/apps-infrastructure team itself, but randomly, since I want someone from the
WordPress Androidteam to primarily sign-off on that change. 🥇FYI: I am going to randomly add more of you in those PRs that will follow, just so you become more aware of this change and how close we are on enabling
allWarningsAsErrorsby default everywhere. 🎉To test:
processorsmodule, along with theannotationsmodule is responsible for that. For example, you could try switching thejetpack_powered_bottom_sheet_remote_fieldfeature flag, on and off, and see if that works as expected.Regression Notes
The feature flag functionality is not workings as expected.
See
To testsection above.N/A
PR submission checklist:
RELEASE-NOTES.txtif necessary.