Open jcoyne opened 4 years ago
https://github.com/sul-dlss/sdr-client/blob/d75f507b1bd9d0a01e22ff6e43ca5ecb040dc8d0/lib/sdr_client/deposit/upload_files.rb#L35
This allows us to upload with a friendly looking name, even if the local file is not what we want in the repo.
We are currently working around this via: https://github.com/sul-dlss/happy-heron/blob/main/app/jobs/deposit_job.rb#L48-L55. But perhaps there is a better way?
https://github.com/sul-dlss/sdr-client/blob/d75f507b1bd9d0a01e22ff6e43ca5ecb040dc8d0/lib/sdr_client/deposit/upload_files.rb#L35
This allows us to upload with a friendly looking name, even if the local file is not what we want in the repo.
We are currently working around this via: https://github.com/sul-dlss/happy-heron/blob/main/app/jobs/deposit_job.rb#L48-L55. But perhaps there is a better way?