-
Notifications
You must be signed in to change notification settings - Fork 656
feat(drive): add one-way recursive directory push #925
Copy link
Copy link
Closed
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Description
Metadata
Metadata
Assignees
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Type
Fields
Priority
None yet
Problem
gog drive upload --replacecan update one known Drive file ID, but safely backing up a local directory still requires every caller to implement recursive traversal, folder creation, duplicate-name detection, checksum comparison, and ID-stable updates.Using a Google Drive for Desktop mount as the destination is not an equivalent solution: cloud-only File Provider placeholders do not behave like ordinary readable files and can break filesystem tools when they compare or replace evicted destination files.
Proposed scope
Add a one-way command:
Semantics:
md5Checksumand size;--dry-run,--json, and plain output;supportsAllDrives.Non-goals
Prior art
This intentionally narrows the Drive sync portion of #116. That PR combined pull, push, delete, include/exclude rules, and persistent state; maintainers requested a separate design and live-proof path for those semantics.
Existing primitives remain useful:
drive upload --replaceestablished ID-preserving binary updates.This proposal does not duplicate either command; it adds bounded recursive reconciliation for local-directory backup workflows.