overleaf-sync
overleaf-sync copied to clipboard
olignore design is impractical for a single-file syncing
Hi. let me give a feedback regarding the olignore-related logic. Basically, I wanted to sync only a single file from the remote Overleaf project and I found the current design impractical for this particular task. In particular:
- olignore is not checked during the remote->local sync, so I get the whole project instead of a single file
- The syntax doesn't allow me to ignore "all except one", so I had to
find -type f . | grep -v file.tex > .olignore
- Even after this I found that olignore doesn't understand that
./bla
andbla
mean the same thing. One probably needs to normalize the file names before doing the comparison. I had to remove./
prefixes to make it barely do the job I needed.
I think this project is in a abandoned state at the moment, there's a fork which fixes Issues, but for new features someone else probably has to take over