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

seafile-ignore.txt isn't powerful enough #2610

Open
PerchunPak opened this issue Oct 9, 2022 · 3 comments
Open

seafile-ignore.txt isn't powerful enough #2610

PerchunPak opened this issue Oct 9, 2022 · 3 comments

Comments

@PerchunPak
Copy link

Currently, seafile-ignore.txt only supports * and ? wildcards. Furthermore, it works completely different from .gitignore.

The main problem is in uses of glib's glob pattern matching, which covers only basics. You should write your own function for pattern matching, which will work the same as .gitignore file because it's expected from the ignore file.

After my investigation, I found seaf_repo_check_ignore_file in daemon/repo-mgr.c, which looks like what I looked for. Unfortunately, I'm too bad in C, and I can't make requested here changes myself.


I also found few other issues with same proposes (#875, #762 and maybe some others) which were silently closed, I hope this feature request will not be the next?

@whoisnobody
Copy link

It would be great to have that functionality in seafile. Is it on the roadmap?

@freeplant
Copy link
Member

We want to keep the ignore feature simple. So this feature is not in our roadmap.

@PerchunPak
Copy link
Author

Why? It's so limited now. I can't even sync only one file, instead I need to ignore all files except one manually, and check if the program, that generate these files, don't add new on updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants