mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-17 01:55:03 +01:00
A Takeout import cut short by a restart could never be resumed: the
duplicate check failed on the draft the interrupted upload left behind
("invalid type: null, expected a string"). SDK 0.12.0 skips such drafts,
lets the import replace them across logins, and removes the draft of a
failed upload (B285, B286).
The import keeps its archives and outcome in the state directory, so a
run the service did not finish is reported as interrupted and can be
resumed from the app or with `pdfs import-google-photos --resume`. An
unreadable archive is left out instead of failing the scan, a failure
keeps its counts and still files albums, and a cancel or shutdown is
only reported when work was left undone (B287).
ImportStatus carries the phase, its progress, the running counts and
what can be resumed; the summary says dry_run, to_upload and
error_kind. The app shows these in the user's language, and --wait
prints progress. An empty gallery waits for a timeline refresh already
running instead of starting a second one.
The scan imports only the Photos service of an export, reads geoData
into the photo's Location, pairs live and motion photos (.MOV, .MP) with
their stills, and dates a photo by name and EXIF before Google's upload
time (B288).
33 lines
757 B
TOML
33 lines
757 B
TOML
[package]
|
|
name = "pdfs-fuse"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "FUSE on-demand filesystem for Proton Drive"
|
|
|
|
[dependencies]
|
|
pdfs-core.workspace = true
|
|
zip.workspace = true
|
|
sha1.workspace = true
|
|
proton-drive-rs.workspace = true
|
|
futures.workspace = true
|
|
async-trait.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
fuser.workspace = true
|
|
libc.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
base64.workspace = true
|
|
image.workspace = true
|
|
lofty.workspace = true
|
|
notify = "8"
|
|
parking_lot.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber.workspace = true
|