BookOps-CAT / NightShift

Copy cataloging bot
MIT License
7 stars 1 forks source link

SFTP/network drive #6

Closed klinga closed 2 years ago

klinga commented 2 years ago

A module responsible for communicating with the SFTP server attached to a network shared drive accessible to staff.

Sierra will to dump MARC files with selected records to the drive into the sierra_dumps/nighshift directory. NightShift connects to this drive via SFTP to fetch files, and to output created MARC files with enhanced records (loads folder) for catalogers to access and import to Sierra.

I used paramiko as it seems the most mature and stable library for SFTP. Because of the setup/org. firewall it's not possible to run tests on Travis against the live SFTP server. I did it locally though. Thanks for the review!