-
Notifications
You must be signed in to change notification settings - Fork 392
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
update timestamp of destination files not source files #784
Comments
Hi @DancingQuanta , well this sounds like a great idea! I don't think I would risk doing that by default, but maybe indeed we could have an option to set the timestamp of the output file equal to that of the input. What name would you choose for that option? Something like |
I understood that you have developed this library so far with the timestamps being synchronized to the destination files and changing this behaviour is a disruptive change and is that why I suggested an option. We could use I think the next step would be to introduce this feature through a PR to test because I wanted to be sure that this new timestamp setting behaviour will resolve my Makefile issue. I will study the code and I think I have to target the pairing code and add a test to the test suite. |
Yes, that would be great! I would say that you will have to modify However if you are not in a hurry I could also prepare the PR - the next release should be a matter of a few weeks. |
I have faced a similar situation as the #767 where I use
make
to automate shell commands. My workflow consists ofI do want to keep both markdown and notebook paired.
The current Jupytext modifies the input markdown file's timestamp which keep
make
seeing it as newer than notebook output files.I wonder if it is possible to set the timestamp of the notebook output files is set to equal that of the input files? Could this be an option?
The text was updated successfully, but these errors were encountered: