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

orgzlyignore does not correctly filter files #226

Closed
stfl opened this issue Apr 20, 2024 · 2 comments · Fixed by #265
Closed

orgzlyignore does not correctly filter files #226

stfl opened this issue Apr 20, 2024 · 2 comments · Fixed by #265
Assignees
Labels
bug Something isn't working Git repos Related to Git syncing

Comments

@stfl
Copy link

stfl commented Apr 20, 2024

The .orgzlyignore file does not correctly filter notebooks.

Since subfolders do not work correctly yet, I moved all of my files to the repo root.
So my GTD files which I want in orgzly are mixed together with my org-roam files.

I tried several approaches, which did lead to the correct result.
Verified with fd --ignore-file .orgzlyignore that the glob syntax should work.

Initially I ignored all org files negated it only for files I want but changes to inbox.org are not written anymore.

*.org
!inbox.org

I have numerous files YYYYMMDDhhmmss-name.org, so I tried to selectivly ignore these but all notebooks showed up and changes are still written

/202*-*.org
@stfl stfl added the bug Something isn't working label Apr 20, 2024
@amberin
Copy link
Member

amberin commented Apr 20, 2024

Thank you for reporting! It's a good time to identify bugs like these, since I'm currently looking at #224.

I will see if I can reproduce on my own.

@amberin amberin added the Git repos Related to Git syncing label Apr 21, 2024
@amberin amberin self-assigned this Jun 3, 2024
@amberin
Copy link
Member

amberin commented Jun 3, 2024

I have identified a mistake I made in 8f41889, which means ignore rules are not properly applied. I will fix it shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Git repos Related to Git syncing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants