From 0a90c0350d90820fd466709101777820449133be Mon Sep 17 00:00:00 2001 From: chichuan Date: Wed, 12 Aug 2026 14:26:45 +0800 Subject: [PATCH] docs(changelog): move release note to a .changes fragment --- .changes/drive-folder-sync.md | 15 +++++++++++++++ CHANGELOG.md | 14 -------------- 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 .changes/drive-folder-sync.md diff --git a/.changes/drive-folder-sync.md b/.changes/drive-folder-sync.md new file mode 100644 index 00000000..a42fbf36 --- /dev/null +++ b/.changes/drive-folder-sync.md @@ -0,0 +1,15 @@ +--- +category: Added +--- + +- **Drive folder synchronization** — adds `dws drive status`, `dws drive pull`, + `dws drive push`, and `dws drive sync` for file-level comparison and transfer + between a local folder and a Drive folder. Differences come from exact MD5 by + default or from modification time with `--quick`; `status` is read-only, `pull` + and `push` are one-directional with `--if-exists skip|smart|overwrite`, and + `sync` is bidirectional with `--on-conflict remote-wins|local-wins|keep-both|ask`. + Only regular files are transferred — online documents and shortcuts are skipped, + neither side deletes extra files, downloads are staged through a temporary file + and committed with an atomic rename, and remote names that would escape + `--local-folder` are reported as failures instead of being written. Every command + prints a structured summary on stdout and exits non-zero when any item fails. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5077b270..02d4254e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,20 +6,6 @@ The format is inspired by [Keep a Changelog](https://keepachangelog.com/) and th ## [Unreleased] -### Added - -- **Drive folder synchronization** — adds `dws drive status`, `dws drive pull`, - `dws drive push`, and `dws drive sync` for file-level comparison and transfer - between a local folder and a Drive folder. Differences come from exact MD5 by - default or from modification time with `--quick`; `status` is read-only, `pull` - and `push` are one-directional with `--if-exists skip|smart|overwrite`, and - `sync` is bidirectional with `--on-conflict remote-wins|local-wins|keep-both|ask`. - Only regular files are transferred — online documents and shortcuts are skipped, - neither side deletes extra files, downloads are staged through a temporary file - and committed with an atomic rename, and remote names that would escape - `--local-folder` are reported as failures instead of being written. Every command - prints a structured summary on stdout and exits non-zero when any item fails. - ## [1.0.58-beta.4] - 2026-08-12 ### Added