Skip to content

feat: Add public event for missing indices - #39389

Merged
juliusknorr merged 1 commit into
masterfrom
enh/add-missing-indices-event
Jul 14, 2023
Merged

feat: Add public event for missing indices#39389
juliusknorr merged 1 commit into
masterfrom
enh/add-missing-indices-event

Conversation

@juliusknorr

@juliusknorrjuliusknorr commented Jul 14, 2023

Copy link
Copy Markdown
Member

Summary

Add a public event to allow apps registering missing indices. The event is dispatched for both the setup check as well as the occ db:add-missing-indices command and also works with dry run there to list the sql queries for manual migration.

Backports to 27/26 would be required for nextcloud/text#4522 and would be fine as text is bundled

Usage can be seen in nextcloud/text#4521

Checklist

@juliusknorr
juliusknorrforce-pushed the enh/add-missing-indices-event branch from 9040daa to bd59f7eCompareJuly 14, 2023 08:52
@juliusknorrjuliusknorr added 2. developing Work in progress pending documentation This pull request needs an associated documentation update enhancement labels Jul 14, 2023
@juliusknorr
juliusknorrforce-pushed the enh/add-missing-indices-event branch from bd59f7e to 88870aaCompareJuly 14, 2023 09:01
@juliusknorrjuliusknorr added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 14, 2023
@juliusknorrjuliusknorr added this to the Nextcloud 28 milestone Jul 14, 2023
@juliusknorr
juliusknorr marked this pull request as ready for review July 14, 2023 09:07
Comment threadlib/public/DB/Events/AddMissingIndicesEvent.php Outdated
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
juliusknorrforce-pushed the enh/add-missing-indices-event branch from f9e5c3f to 925bcebCompareJuly 14, 2023 11:11
@blizzzblizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 14, 2023
@blizzz
blizzz enabled auto-merge July 14, 2023 11:14
@juliusknorr

Copy link
Copy Markdown
MemberAuthor

Failures unrelated

@juliusknorr
juliusknorr disabled auto-merge July 14, 2023 12:21
@juliusknorr
juliusknorr merged commit 2601db2 into masterJul 14, 2023
@juliusknorr
juliusknorr deleted the enh/add-missing-indices-event branch July 14, 2023 12:21
@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/backport to stable27

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/backport to stable26

@backportbot-nextcloud

This comment was marked as resolved.

@backportbot-nextcloud

This comment was marked as resolved.

@juliusknorrjuliusknorr removed the pending documentation This pull request needs an associated documentation update label Jul 14, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishenhancement

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants

@juliusknorr@nickvergessen@blizzz