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

Add occ command to repair mtime #31386

Closed
wants to merge 1 commit into from
Closed

Conversation

artonge
Copy link
Contributor

@artonge artonge commented Mar 1, 2022

occ command to repair files' mtime.

This is an early draft for another approach of fixing the files' mtime. It should be easier to update the mtime and to adapt it to different backends.

It's a modified version of the Scan command, so there is currently a lot of probably useless code.

This is to fix https://github.com/nextcloud-gmbh/server/issues/226#issuecomment-1054577115

apps/files/lib/Command/RepairMtime.php Outdated Show resolved Hide resolved
apps/files/lib/Command/RepairMtime.php Outdated Show resolved Hide resolved
@artonge artonge force-pushed the feature/occ_cmd_mtime_repair branch 5 times, most recently from c0f51c6 to 74ee9d9 Compare March 1, 2022 15:26
@artonge artonge force-pushed the feature/occ_cmd_mtime_repair branch 14 times, most recently from 262a856 to af39e38 Compare March 23, 2022 10:21
@artonge
Copy link
Contributor Author

artonge commented Mar 23, 2022

@icewind1991 could you review the S3 part?

Notable changes:

@artonge artonge force-pushed the feature/occ_cmd_mtime_repair branch 5 times, most recently from c31e6d0 to 36273da Compare March 23, 2022 14:19
Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the feature/occ_cmd_mtime_repair branch from 36273da to 6b4d77b Compare March 24, 2022 14:57
@artonge artonge changed the title Draft: Add occ command to repair mtime Add occ command to repair mtime Mar 24, 2022
@blizzz blizzz added this to the Nextcloud 25 milestone Apr 21, 2022
This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
@artonge artonge closed this Aug 30, 2022
@skjnldsv skjnldsv deleted the feature/occ_cmd_mtime_repair branch March 14, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants