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 a file in sync target to warn user that they shouldn't open any file #9997

Open
laurent22 opened this issue Feb 25, 2024 · 1 comment
Open
Labels
backlog We'll get to it... eventually... enhancement Feature requests and code enhancements sync sync related issue

Comments

@laurent22
Copy link
Owner

laurent22 commented Feb 25, 2024

Opening any file, even without changing it, on a Nextcloud sync target is going to corrupt it (See #9887).

To try to prevent the user from doing this we would like to add a file that appears at the top of the list, named something very visible such _⚠️_IMPORTANT_READ_FIRST_⚠️_.md. It would be automatically created when the sync target is initialised and should also be added to existing sync targets. It contains some information as to why these files should not be opened.

Edit: The difficulty with implementing this is that we don't want to have a check if the file exist on each sync. Traditionally the way to add a file to a sync target is to do a sync target migration but due to the complexity of it we avoid doing that now. Maybe a way would to be to check for example once a day if the file is there, and add it if it's not.

@laurent22 laurent22 added enhancement Feature requests and code enhancements sync sync related issue high High priority issues v3.0 labels Feb 25, 2024
@RadCod3

This comment was marked as outdated.

@laurent22 laurent22 added backlog We'll get to it... eventually... and removed v3.0 high High priority issues labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We'll get to it... eventually... enhancement Feature requests and code enhancements sync sync related issue
Projects
None yet
Development

No branches or pull requests

2 participants