Repository navigation
fix(occ): honour --quiet during early loadCommands warnings - #65240
Conversation
2aceb38 to
5fd8138
Compare
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
|
Checked the failing checks here — all four (
All actual code checks (php-lint, php-cs, phpunit/nodb/sqlite/pgsql/oci suites, static-code-analysis, stylelint, reuse-compliance) are green. I don't see anything in this PR's diff to change for these four; they look like they'd fail the same way for any external PR lacking the review/release labels. Flagging in case the label permissions or the gate step need a maintainer-side tweak (e.g. |
Assisted-by: Cursor:grok-4.7 Signed-off-by: whoalin1 <whoalin414@gmail.com>
5fd8138 to
9acb851
Compare
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Summary
Closes #19974
occ --quiet/-qdid not silence the early stderr messages emitted while commands are loaded (require upgrade, low memory, maintenance mode). Only the custom--no-warningsflag forced QUIET before those writes. Apply the same verbosity for Symfony--quietand skip those writes when the output is quiet.Test plan
php occ status --quietprints nothing about “require upgrade”php occ upgrade --quiet --no-interactionhas no early loadCommands chatter on stderr--quiet, the same messages still appear--no-warningsbehaviour unchangedAI disclosure
This PR was drafted with the help of AI coding assistants (Cursor agents / LLM-based tools), including the description. I am responsible for it and happy to rework anything that doesn't fit.
All commits carry an
Assisted-by: Cursor:grok-4.7trailer.