Repository navigation
update script for new server-to-server sharing - #13286
Conversation
|
looks good 👍 |
8f8755d to
0be282d
Compare
|
Refer to this link for build results (access rights to CI server needed): |
There was a problem hiding this comment.
so basically the same share could be added multiple times? Does that make sense?
I'd expect some unique constraint here then (here as in the schema definition - no in this PR)
There was a problem hiding this comment.
The mountpoint_hash needs to be unique. That's why I use the counter $i as "hash" to populate the table with some dummy values.
… this point in time all shares are created by the first version of server-to-server sharing and are accepted if they were added to the table
0be282d to
d50e70b
Compare
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 16 lines...]Fetching upstream changes from https://github.com/owncloud/core.gitusing GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git419155173840311009.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/13286/merge^{commit} # timeout=10 > git branch -a --contains 490889ab7577c3280efbf1e1b4658d27a120dc1b # timeout=10 > git rev-parse remotes/origin/pr/13286/merge^{commit} # timeout=10Checking out Revision 490889ab7577c3280efbf1e1b4658d27a120dc1b (origin/pr/13286/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 490889ab7577c3280efbf1e1b4658d27a120dc1bFirst time build. Skipping changelog. > 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 » SLAVEpull-request-analyser-ng-simple » SLAVE 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 0 seconds💣 Test FAILed. 💣 |
|
The inspection completed: 3 new issues, 5 updated code elements |
There was a problem hiding this comment.
inject the DB connection into the Migration object ?
|
In my test case with master it seemed that I'm ok with this 👍 |
|
Jenkins PR here: #13339 |
In 7.0 there was no |
|
@LukasReschke yes, that's correct |
|
Test finished successfully |
update script for new server-to-server sharing
|
@schiesbn @LukasReschke Is there an upgrade test case here that needs to be validated? |
set accept to 1 (=true) for all server-to-server shares on update, at this point in time all shares are created by the first version of server-to-server sharing and are accepted if they were added to the table.