Uh oh!
There was an error while loading. Please reload this page.
add command for getting fileinfo for debugging - #37525
Conversation
There was a problem hiding this comment.
Psalm found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
come-nc
left a comment
There was a problem hiding this comment.
Awesome tool.
Maybe instead of adding debug to the description, just remove debug mention from the command name since this may be useful in a whole number of usecase outside of debug? (like an admin wanting a list of shares of a file to check who has access)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
icewind1991
commented
Apr 14, 2023
|
2743ec1 to
c7410ffCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| $bucket = array_pop($parts); | ||
| $output->writeln(" bucket: " . $bucket); | ||
| if ($node instanceof \OC\Files\Node\File) { | ||
| $output->writeln(" object id: " . $storage->getURN($node->getId())); |
Check notice
Code scanning / Psalm
PossiblyNullOperand
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
7858d4b to
bbb2474CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
1b6381a to
96f9c17CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
96f9c17 to
c99f3aeCompareUh oh!
There was an error while loading. Please reload this page.
c99f3ae to
579d37aCompareUh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
579d37a to
c5dfa1cCompareThere was a problem hiding this comment.
In-place of the manual stdout formatting we could use the built-in Symfony methods https://symfony.com/doc/current/console/style.html#helper-methods ?
icewind1991
commented
May 1, 2023
/backport to stable26 |
icewind1991
commented
May 1, 2023
/backport to stable25 |
Attempts to provide information that might be useful when debugging issues as well as perform some sanity checks.
This hopefully allows people without knowledge of the Nextcloud internals to access debug information that is currently only accessible trough manual database querying or other convoluted steps.
Currently includes:
(Possible) future work