USB download keeps the camera file name (no PSR1-1.JPG in ingest when a leftover copy exists).
Fetched names persist in .usb/.fetched so reconnect/auto-pull does not pull the same shot again.
ftp_sent: if the work folder already has that name, delete the ingest duplicate instead of filing -1/-2.
Test plan
cargo test ftp unit tests (second sent of same name)
USB auto-pull twice on the same card → one file in the event work folder
## Summary
- USB download keeps the camera file name (no `PSR1-1.JPG` in ingest when a leftover copy exists).
- Fetched names persist in `.usb/.fetched` so reconnect/auto-pull does not pull the same shot again.
- `ftp_sent`: if the work folder already has that name, delete the ingest duplicate instead of filing `-1`/`-2`.
## Test plan
- [x] `cargo test` ftp unit tests (second `sent` of same name)
- [ ] USB auto-pull twice on the same card → one file in the event work folder
Re-pulling the same card name (or a server duplicate) was filing PSR1-1.JPG beside the first copy. Keep the camera name in ingest, remember fetched names on disk, and if the work folder already has that file just drop the ingest duplicate.
spark
merged commit b1dde5657a into main2026-11-03 21:30:44 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
PSR1-1.JPGin ingest when a leftover copy exists)..usb/.fetchedso reconnect/auto-pull does not pull the same shot again.ftp_sent: if the work folder already has that name, delete the ingest duplicate instead of filing-1/-2.Test plan
cargo testftp unit tests (secondsentof same name)