Skip to content

Add Operations Guide for Archive and Duplicate Elimination - #282

Merged
ptr727 merged 11 commits into
developfrom
docs/user-guide
Nov 18, 2026
Merged

ptr727 merged 11 commits into
developfrom
docs/user-guide

Conversation

@ptr727

@ptr727 ptr727 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Adds GUIDE.md, an operations guide that works with any sync tool and photo server, with rclone as the worked example. It covers building a pristine Originals archive from a syncing mirror, adopting a new source without duplicates, the limits of each matching key, recording a source as already imported, keeping removed photos out, Live Photos, and cloud-export checks. The README links to it from the adoption paragraph, and GOVERNANCE.md "Repository Layout" lists it.

Docs only. Every command and option was checked against --help for index, import, process, trash, and verify. Example data is constructed.

Local review ran repeated adversarial passes. Every finding it raised is fixed on the branch, and the last pass over the final content found nothing. The README also gains two sentences: the process trash check runs only with --db, and the restored-asset advice in the Trash Flow section.

Pre-existing findings, not filed:

  • ARCHITECTURE.md "Import Flow" states that no command outside import writes source-keyed rows in the import database, while the README and the guide seed that database with index. Class pre-existing, text this change did not touch.

🤖 Generated with Claude Code

ptr727 and others added 3 commits November 17, 2026 17:56
Document building an originals archive from a syncing mirror, adopting a new
source for a library the photo server already holds, the limits of each
matching key, and what to check in a cloud export.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Align trash database advice, row deletion, Live Photo conditions, no-date
handling, duplicate copies, and GIF conversion with the code and README.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Copilot AI lite review requested due to automatic review settings November 18, 2026 02:07
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.25%. Comparing base (a3158ce) to head (a9f0a74).
⚠️ Report is 114 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #282      +/-   ##
===========================================
- Coverage    43.37%   41.25%   -2.13%     
===========================================
  Files           28       27       -1     
  Lines         3896     4138     +242     
  Branches       306      362      +56     
===========================================
+ Hits          1690     1707      +17     
- Misses        2154     2361     +207     
- Partials        52       70      +18     
Flag Coverage Δ
dotnet 41.25% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The change still has five active documentation issues, including a critical warning that import history does not verify server upload success and could cause asset loss.

5 open issues
What changed in this PR

This documentation-only pull request adds an operations guide for preserving Originals archives, adopting sources without duplicates, handling removed media and Live Photos, and validating cloud exports. It links the guide from the README and documents it in the repository layout.

Changes:

  • Add GUIDE.md with archive, deduplication, trash, Live Photo, and cloud-export guidance.
  • Link the guide from the README's source-adoption workflow.
  • List GUIDE.md in GOVERNANCE.md under the repository layout.
File Description
README.md Links the new operations guide from the source-adoption guidance.
GUIDE.md Adds operational procedures and worked examples for archive preservation, duplicate elimination, removed media, Live Photos, and cloud-export validation.
GOVERNANCE.md Documents GUIDE.md in the repository layout.

Review effort: Lite

Comment thread GUIDE.md Resolved
Comment thread GUIDE.md Resolved
Comment thread GUIDE.md Resolved
Comment thread GUIDE.md Resolved
Comment thread GUIDE.md Resolved
@ptr727

ptr727 commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 19988d50252671e80b6419cebf0eca4082f5e0fd, the content this pull request carries at that commit against develop, and it recorded 5 findings.

ptr727 and others added 5 commits November 17, 2026 19:01
Name the upload evidence, qualify the duplicate and import database claims,
add the Originals ordering and byte-identity caveat, describe in-batch
twins, and note the process trash check needs a database.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@ptr727

ptr727 commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head a9f0a743e8c1a35328f81bd3066a1b9a1f7cfae7, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit 64380a0 into develop Nov 18, 2026
14 checks passed
@ptr727
ptr727 deleted the docs/user-guide branch November 18, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants