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

Reading: Add safeguards to importer for incremental use #2641

Merged
merged 1 commit into from
Sep 27, 2019

Conversation

kevinrobinson
Copy link
Contributor

Follow-on to #2640. This removes logging of tab names, which may contain educators names. It also adds a warning about calling the importer with an explicit folder_id, and doesn't call syncer#delete_unmarked_records if an explicit folder is passed.

This prevents against the mistake I just made :) of doing a test run on a subfolder, which then destroyed other records because the scope of the sync is for the whole time period.

It remains to be seen whether recording the URL or doing some other more complex method of setting the sync scope is worthwhile, so for now just adding these guardrails seems best.

@kevinrobinson
Copy link
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit 15edb4c into master Sep 27, 2019
@kevinrobinson kevinrobinson deleted the patch/safeguards-for-reading-importer branch September 27, 2019 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant