overleaf-sync icon indicating copy to clipboard operation
overleaf-sync copied to clipboard

olignore design is impractical for a single-file syncing

Open sergei-mironov opened this issue 1 year ago • 1 comments

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:

  1. olignore is not checked during the remote->local sync, so I get the whole project instead of a single file
  2. The syntax doesn't allow me to ignore "all except one", so I had to find -type f . | grep -v file.tex > .olignore
  3. Even after this I found that olignore doesn't understand that ./bla and bla 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.

sergei-mironov avatar Jun 12 '23 08:06 sergei-mironov

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

D-VR avatar Aug 18 '23 08:08 D-VR