quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.98k stars 328 forks source link

Detect rendering from OneDrive synced folder and warn #6895

Open cderv opened 1 year ago

cderv commented 1 year ago

I wonder if we should be checking this: https://stackoverflow.com/a/43625628

%OneDrive% if you have only one OneDrive client on your PC or for the default one. If not, %OneDriveConsumer% for the personal OneDrive and %OneDriveCommercial% for OneDrive for Business.

Quarto could (probably should!) detect this, check if it's being called from inside that directory, and then emit a warning.

Originally posted by @cscheid in https://github.com/quarto-dev/quarto-cli/discussions/6847#discussioncomment-7016601

cderv commented 1 year ago

For reference, it seems some users have no issue when running in One Drive: https://github.com/quarto-dev/quarto-cli/issues/7473#issuecomment-1800077578