Uh oh!
There was an error while loading. Please reload this page.
Added support for transferring incoming file shares. - #28118
Conversation
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.
PVince81
left a comment
There was a problem hiding this comment.
Had a deeper look at the logic and added some comments
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.
Uh oh!
There was an error while loading. Please reload this page.
|
PVince81
left a comment
There was a problem hiding this comment.
Thanks for the changes so far.
I had a few more comments after doing some tests.
See test results above.
I also took the liberty to push an integration test to your branch for the reported cases 😄
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.
ipasanec
commented
Aug 26, 2021
Originally the customer only required the share transferring to the users root directory, |
Uh oh!
There was an error while loading. Please reload this page.
94974f8 to
a97a11cComparePVince81
commented
Aug 27, 2021
@ipasanec I have rebased the PR. You might need to delete your local branch and check it out again. I've also pushed a fix for the path matching, but for some reason the new integration test fails and I'm trying to debug it. |
PVince81
commented
Aug 27, 2021
@ipasanec seems we had a collision and pushed something at the same time I've resolved the conflicts. I think for now it looks good, I'll check why the integration test isn't passing despite representing the scenarios I manually tested. |
PVince81
commented
Aug 27, 2021
I've fixed the tests, there was a regexp mismatch and I used the wrong wording. |
- new option --transfer-incoming-shares=1 | 0 - new config.php option 'transfer-incoming-shares' => true | false The command line option overrules the config.php option. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
ed81309 to
5b664e0ComparePVince81
commented
Aug 27, 2021
I've rebased and squashed to reduce the number of commits and remove the merge commits. |
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 |
PVince81
commented
Sep 15, 2021
/backport to stable22 |
solracsf
commented
Sep 15, 2021
Shouldn't be this documented too? 🤔 |
I'll take care:
|
PVince81
commented
Sep 16, 2021
docs done! |
Vilasamuni
commented
Nov 10, 2021
I've been looking for documentation about how to use this flag and it's not clear to me what the values mean. I've seen I've got backups, but I'm wary about running commands on real-world data with flags that I don't understand. Short term request: please explain to me what they do. |
Please open a ticket at https://github.com/nextcloud/documentation/issues/new For any further questions please use https://help.nextcloud.com/c/support/7. Github is not a support forum. |
ipasanec
commented
Nov 11, 2021
The basic usage is: The default value of '2' for an unset option is necessary to detect a missing value in the command line and give an error message to notify the user. btw. there is no --include-incoming-shares option. (It was changed in the original project, hence some variables use 'include' in the name) |
Fix#21856
@PVince81
--transfer-incoming-shares=1 | 0'transfer-incoming-shares' => true | false'transferIncomingShares' => true | falseThe command line option overrules the config.php option.