Skip to content
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

Support for two repos #3

Open
adowling2 opened this issue May 20, 2020 · 5 comments
Open

Support for two repos #3

adowling2 opened this issue May 20, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@adowling2
Copy link
Collaborator

Need to verify support for two repositories:

  • Repo 1: private, for instructors
  • Repo 2: public, for everyone
@adowling2 adowling2 added the enhancement New feature or request label May 20, 2020
@adowling2
Copy link
Collaborator Author

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
Copy link
Collaborator Author

Warn the user about deleting and overwriting files.

@adowling2
Copy link
Collaborator Author

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

@adowling2 adowling2 added this to the Fall 2020 Session milestone May 28, 2020
@jckantor
Copy link
Owner

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

@jckantor
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants