Skip to content
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

Fix scanning app data with metadata #32033

Merged
merged 1 commit into from
Apr 25, 2022
Merged

Conversation

CarlSchwan
Copy link
Member

@CarlSchwan CarlSchwan commented Apr 21, 2022

Previously we were listening to changes in the appdata folder but an
appdata scan didn't set up the file system, so the view was unavailable.

Test plan:

  1. rm -rf data/appdata_...../preview data/<user>/Media
  2. occ files:scan-app-data
  3. occ files:scan <user>

No errors and the files and metadata are correctly removed from the
database too.

Fix #32031

@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Apr 21, 2022
@CarlSchwan CarlSchwan self-assigned this Apr 21, 2022
@CarlSchwan CarlSchwan force-pushed the fix/metadata-scan-app-data branch from 3b4efc7 to 046414a Compare April 22, 2022 08:16
Previously we were listening to change in the appdata folder but an
appdata scan didn't setup the file system, so the view was unavailable.

**Test plan:**

1. rm -rf data/appdata_...../preview data/<user>/Media
2. occ files:scan-app-data
3. occ files:scan <user>

No errors and the files and metadata are correctly removed from the
database too.

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan force-pushed the fix/metadata-scan-app-data branch from 046414a to 6b6f24c Compare April 22, 2022 13:15
@CarlSchwan CarlSchwan requested review from artonge and PVince81 April 25, 2022 13:08
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81 PVince81 merged commit 407fb8c into master Apr 25, 2022
@PVince81 PVince81 deleted the fix/metadata-scan-app-data branch April 25, 2022 13:50
@PVince81
Copy link
Member

/backport to stable24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
4 participants