BAM-PFA / pymm

A set of scripts for audiovisual digital preservation tasks
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

add logic to avoid unnecessary file xfers #4

Closed mcampos-quinn closed 6 years ago

mcampos-quinn commented 6 years ago

pyym now allows for an output dir and an aip staging dir to be specified separately and this requires an rsync process to get a SIP from one to the other. The rationale was to allow for different host machines to be used, but I never really fleshed out that option anyway since I've been developing on a single-host environment since restarting this project in earnest.

I need to add logic to allow these to be the same and skip a pointless transfer of files if that is the case.

And to add useful logic to the separate hosts model, I'd need to add ssh credentials to pymmConfig and probably use paramiko for the various other tasks that would need to happen remotely.

mcampos-quinn commented 6 years ago

resolved @ cf7778e