Apologies for another large PR.
This pull includes top level modules (bot.py, manager.py, tasks.py) that allow running the entire record upgrade procedure. I hope the docstrings, comments and the first details in README will give a better understanding how this supposed to work.
Initially, we were leaning toward a soft delete of expired resources, but I'm comfortable to do a hard delete now. I modified code to make this happen and I created a new database table Event that flattens and preserves information for any statistical purposes.
There are also some small changes to previously reviewed code:
handling of file name conflicts on SFTP
adds context management to the nightshift.comms.worldcat.Worldcat class
Apologies for another large PR. This pull includes top level modules (bot.py, manager.py, tasks.py) that allow running the entire record upgrade procedure. I hope the docstrings, comments and the first details in README will give a better understanding how this supposed to work.
Initially, we were leaning toward a soft delete of expired resources, but I'm comfortable to do a hard delete now. I modified code to make this happen and I created a new database table
Event
that flattens and preserves information for any statistical purposes.There are also some small changes to previously reviewed code:
nightshift.comms.worldcat.Worldcat
class