jckantor / nbpages

Command line tool to maintain a repository of Jupyter notebooks.
https://jckantor.github.io/nbpages/
MIT License
1 stars 4 forks source link

Support for two repos #3

Open adowling2 opened 4 years ago

adowling2 commented 4 years ago

Need to verify support for two repositories:

adowling2 commented 4 years ago

Need to create a special nbpages.cfg in the destination directory. Add source directory to nbpages.cfg.

When one runs nbpages in the destination directory, it needs to copy the notebooks from the source to the destination repo. If it is rerun, need to warn the user it will get overwritten. We might need to delete unused files.

adowling2 commented 4 years ago

Warn the user about deleting and overwriting files.

adowling2 commented 4 years ago

Better idea: create a figure.ignore and data.ignore file that prevents copying elements in /data and /figure.

jckantor commented 4 years ago

dst and src directories can now be specified in nbpages.cfg. Needs to be tested for the multiple repo case.

jckantor commented 4 years ago

the two repo feature is working. Need to add feature to warn about overwritting, and identify abandoned or orphaned notebooks.