uoregon-libraries / oregonnews

!!Defunct!! University of Oregon fork of Chronicling America
1 stars 0 forks source link

Add setting for "non-lccn" ingesting #29

Closed jechols closed 9 years ago

jechols commented 9 years ago

Put something in settings for one-off non-lccn papers - we did this for the latest load:

BIB_STORAGE = os.path.join(STORAGE, "nonlccn/")

We should just add a new setting like BIB_STORAGE_FALLBACK. At the same time, we'll need to hack up the batch loader to fall back to the new setting in the same try/except style already there.

It's probably worth adding INFO level logs for when exceptions happen so debugging next time around isn't so crazy.

jechols commented 9 years ago

Nevermind - BIB_STORAGE was built by us and appears to be for this exact purpose. We should be fine just setting BIG_STORAGE to wherever we need and letting the existing fallback do its thing.