Repository navigation
Backport of #9225 to stable6 - #11217
Conversation
fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users change logic in displayNamesInGroup and add some unit tests add more logic in displayNamesInGroup for big user bases 1. remove sizeof($filteredUsers) > 0 as condition 2. use count instead of sizeof. Latter is an alias to first one, practically we stick to count everywhere. Having it consistent helps with readability. 3. move whitespace so we have $groupUsers[] = $filteredUser; instead of $groupUsers []= $filteredUser; Conflicts: tests/lib/group/manager.php
|
💣 Test FAILed. 💣 |
Conflicts: lib/private/group/backend.php lib/private/group/database.php lib/private/group/dummy.php
|
@blizzz, I don't know how to push properly my commits here btw my commits are here: https://github.com/voxsim/core/commits/backport-9225-stable6. |
|
@owncloud-bot retest this please |
|
💣 Test FAILed. 💣 |
|
20 unit tests on the group manager are failing: |
|
Yeah i know, i can't push my commits here as i said above.. |
|
@blizzz Is it possible to have any news? |
|
💣 Test FAILed. 💣 |
|
@voxsim maybe send your changes as a pull request, from your new branch. |
|
Is that fix the backport of the other PRs to stable6 ? (I'm a bit confused with all those different changes that are aimed to fix a single thing) |
|
Ok got it, it's the backport of #9225 |
|
@PVince81 I only cherry-picked the right commits to backport everything without problems from stable7 to stable6. Btw i'll sign the agreement. If is it possible check if my backport works as expected. |
|
I merged @voxsim 's branch herein. |
|
💣 Test FAILed. 💣 Build result: FAILUREGitHub pull request #11217 of commit 4e6a4e5 automatically merged.Building remotely on vm-slave-02 (SLAVE) in workspace /var/jenkins/workspace/pull-request-analyser-ng-simple@35 > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/owncloud/core.git # timeout=10Fetching upstream changes from https://github.com/owncloud/core.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/11217/merge^{commit} # timeout=10Checking out Revision 612c356de994b2d2899fc7641ba5910a288dac4b (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 612c356de994b2d2899fc7641ba5910a288dac4b > git rev-list 294eda2f1275f481ba326f09acca83f4e052a987 # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 8 second💣 Test FAILed. 💣 |
|
The inspection completed: 23 new issues, 15 updated code elements |
|
@owncloud-bot retest this please |
|
💣 Test FAILed. 💣 Build result: FAILUREGitHub pull request #11217 of commit 4e6a4e5 automatically merged.Building remotely on vm-slave-02 (SLAVE) in workspace /var/jenkins/workspace/pull-request-analyser-ng-simple@12 > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/owncloud/core.git # timeout=10Fetching upstream changes from https://github.com/owncloud/core.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/11217/merge^{commit} # timeout=10Checking out Revision 612c356de994b2d2899fc7641ba5910a288dac4b (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 612c356de994b2d2899fc7641ba5910a288dac4b > git rev-list fdd52d3e9a3cb630a802919fdc3d4da2e8f2069f # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 5 minutes💣 Test FAILed. 💣 |
|
@owncloud-bot retest this please |
|
💣 Test FAILed. 💣 Build result: FAILUREGitHub pull request #11217 of commit 4e6a4e5 automatically merged.Building remotely on vm-slave-02 (SLAVE) in workspace /var/jenkins/workspace/pull-request-analyser-ng-simple@7 > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/owncloud/core.git # timeout=10Fetching upstream changes from https://github.com/owncloud/core.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/11217/merge^{commit} # timeout=10Checking out Revision 612c356de994b2d2899fc7641ba5910a288dac4b (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 612c356de994b2d2899fc7641ba5910a288dac4b > git rev-list 1358fd09fb80a3f38fb8f13eff0665bb7cc7fc3a # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 3 second💣 Test FAILed. 💣 |
|
Jenkins is failing because there are no js unit test results 🚀 Test PASSed. 🚀 |
|
never mind, pebcak |
|
splendid 👍 One more? |
|
@icewind1991 maybe? |
|
|
Works as expected. |
|
Looks good 👍 |
@voxsim can you help finish the port? The code itself works, but the tests do not run. Could you have a look?