-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Server container cleanup #23249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server container cleanup #23249
Conversation
This comment has been minimized.
This comment has been minimized.
2b68811 to
352814e
Compare
| }); | ||
| $this->registerService(\OCP\ISession::class, function (ContainerInterface $c) { | ||
| return $c->get(\OCP\IUserSession::class)->getSession(); | ||
| }, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was 💩 before. It is 💩 after. This needs some love, but not here.
| $this->registerService(\OCP\Encryption\IManager::class, function (Server $c) { | ||
| $view = new View(); | ||
| $util = new Encryption\Util( | ||
| $view, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do the trick with the view (to specify that the CI container should always initialize a new object and not cache it) as well and then let it auto-wire all those hard coded things. But maybe in a followup PR to make it easier to roll it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
|
Conflicts 😉 |
ba94571 to
ab26862
Compare
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
ab26862 to
56b67c8
Compare
|
Okay actually same failures in other PRs like #23295 so I guess this can be merged. |
|
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 33896: failuresqliteShow full logmariadb10.1-php7.3
mariadb10.4-php7.4
mysql8.0-php7.4
mysql5.6-php7.3
postgres9-php7.3Show full logpostgres11-php7.4
acceptance-app-files-sharing
Show full log |

Follow-up to #23248