Skip to content

Complete LF Migration and Carry Review Skills - #66

Merged
ptr727 merged 5 commits into
developfrom
feature/carry-main-lf-complete
Aug 18, 2026
Merged

ptr727 merged 5 commits into
developfrom
feature/carry-main-lf-complete

Conversation

@ptr727

@ptr727 ptr727 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • complete the repository-wide LF migration begun in Begin Repository LF Migration #63 and Continue Repository LF Migration #65
  • switch the global default to LF, retain CRLF only for Windows batch files, and remove all temporary path pins
  • carry all 34 GitHub Copilot review skill files verbatim from ProjectTemplate main at ce9b9a5
  • preserve PhotoCleaner's downstream-specific Copilot instructions and add the canonical review bootstrap
  • resolve remaining prose findings exposed by line-ending normalization

Verification

  • promoted-main carry.py check (source and target digest 162e5b606d98995020a1be74937f53fd0577ed19247ab874f6a0c8e5869665ed)
  • hub repo_gate.py --check eol (0 issues)
  • hub repo_gate.py --check eol-coverage (0 issues)
  • hub prose_lint.py . --diff origin/develop (0 violations)
  • dotnet csharpier check .
  • dotnet format style --verify-no-changes --severity=info --verbosity=detailed --no-restore
  • dotnet build --no-restore (0 warnings, 0 errors)
  • dotnet test --no-build --no-restore (367 passed, 5 environment-dependent skipped, 0 failed)

The diff contains 19,270 additions plus deletions, below Copilot's 20,000-line review limit.

@codecov

codecov Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.72213% with 853 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.37%. Comparing base (a3158ce) to head (43c8e9e).
⚠️ Report is 5 commits behind head on develop.

Files with missing lines Patch % Lines
PhotoCleaner/ProcessCommand.cs 0.00% 270 Missing ⚠️
PhotoCleaner/ImportCommand.cs 0.00% 86 Missing ⚠️
PhotoCleaner/MediaUtilities.cs 35.05% 63 Missing ⚠️
PhotoCleaner/VerifyCommand.cs 0.00% 46 Missing ⚠️
PhotoCleaner/TrashCommand.cs 78.46% 44 Missing and 1 partial ⚠️
PhotoCleaner/UndoTask.cs 80.51% 34 Missing and 11 partials ⚠️
PhotoCleaner/IndexCommand.cs 0.00% 40 Missing ⚠️
PhotoCleaner/LoggerFactory.cs 7.14% 39 Missing ⚠️
PhotoCleaner/DatabaseScope.cs 0.00% 29 Missing ⚠️
PhotoCleaner/IndexTask.cs 75.65% 26 Missing and 2 partials ⚠️
... and 10 more
Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #66   +/-   ##
========================================
  Coverage    43.37%   43.37%           
========================================
  Files           28       28           
  Lines         3896     3896           
  Branches       306      306           
========================================
  Hits          1690     1690           
  Misses        2154     2154           
  Partials        52       52           

☔ 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.

Pull request overview

Completes the repository-wide LF normalization by setting a repo-wide LF default (with a CRLF exception only for Windows batch scripts), renormalizing remaining files, and carrying the GitHub Copilot review-skill set into this repo so future reviews can load the canonical governance and workflow guidance.

Changes:

  • Switch default line endings to LF via .editorconfig, retaining CRLF only for *.{bat,cmd}.
  • Apply LF normalization across code, config, and documentation files touched by the migration.
  • Add/carry the Copilot review skill set under .github/skills/ to match the template distribution.

Reviewed changes

Copilot reviewed 46 out of 107 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
version.json Line-ending normalization (LF)
spec/secrets.json Line-ending normalization (LF)
repo-config/settings.json Line-ending normalization (LF)
repo-config/main.json Line-ending normalization (LF)
repo-config/develop.json Line-ending normalization (LF)
PhotoCleanerTests/PhotoCleanerTests.csproj Line-ending normalization (LF)
PhotoCleanerTests/GlobalUsings.cs Line-ending normalization (LF)
PhotoCleanerTests/.editorconfig Line-ending normalization (LF)
PhotoCleanerBenchmarks/Program.cs Line-ending normalization (LF)
PhotoCleanerBenchmarks/PhotoCleanerBenchmarks.csproj Line-ending normalization (LF)
PhotoCleanerBenchmarks/MediaBenchmarks.cs Line-ending normalization (LF)
PhotoCleanerBenchmarks/GlobalUsings.cs Line-ending normalization (LF)
PhotoCleanerBenchmarks/.editorconfig Line-ending normalization (LF)
PhotoCleaner/VerifyResult.cs Line-ending normalization (LF)
PhotoCleaner/VerifyCommand.cs Line-ending normalization (LF)
PhotoCleaner/UndoCommand.cs Line-ending normalization (LF)
PhotoCleaner/TrashDatabaseScope.cs Line-ending normalization (LF)
PhotoCleaner/SkippedExtensionTracker.cs Line-ending normalization (LF)
PhotoCleaner/Program.cs Line-ending normalization (LF)
PhotoCleaner/PhotoCleaner.csproj Line-ending normalization (LF)
PhotoCleaner/LoggerFactory.cs Line-ending normalization (LF)
PhotoCleaner/IndexCommand.cs Line-ending normalization (LF)
PhotoCleaner/ImportCommand.cs Line-ending normalization (LF)
PhotoCleaner/ImmichApiModels.cs Line-ending normalization (LF)
PhotoCleaner/GlobalUsings.cs Line-ending normalization (LF)
PhotoCleaner/FileEnumerator.cs Line-ending normalization (LF)
PhotoCleaner/Extensions.cs Line-ending normalization (LF)
PhotoCleaner/ExitCode.cs Line-ending normalization (LF)
PhotoCleaner/DirectoryCleaner.cs Line-ending normalization (LF)
PhotoCleaner/DatabaseScope.cs Line-ending normalization (LF)
PhotoCleaner/CommandRunner.cs Line-ending normalization (LF)
PhotoCleaner/.editorconfig Enforce LF default; CRLF only for *.{bat,cmd}
PhotoCleaner.slnx Line-ending normalization (LF)
PhotoCleaner.code-workspace Line-ending normalization (LF)
LICENSE Line-ending normalization (LF)
host-tools.json Line-ending normalization (LF)
HISTORY.md Line-ending normalization (LF)
Docker/README.md Line-ending normalization (LF)
Directory.Packages.props Line-ending normalization (LF)
Directory.Build.props Line-ending normalization (LF)
codecov.yml Line-ending normalization (LF)
.markdownlint-cli2.jsonc Line-ending normalization (LF)
.husky/task-runner.json Line-ending normalization (LF)
.gitignore Line-ending normalization (LF)
.github/skills/workflow-ci-contract/SKILL.md Carry workflow CI contract skill
.github/skills/workflow-ci-contract/references/test-methodology.md Carry workflow CI test methodology reference
.github/skills/workflow-ci-contract/references/d-guarantees.md Carry workflow CI guarantee catalog reference
.github/skills/upstream-contribution-workflow/SKILL.md Carry upstream contribution workflow skill
.github/skills/standup-a-repo/SKILL.md Carry standup procedure skill
.github/skills/skill-lifecycle/SKILL.md Carry skill lifecycle guidance
.github/skills/shell-codestyle/SKILL.md Carry shell codestyle skill
.github/skills/resync-a-repo/SKILL.md Carry resync procedure skill
.github/skills/python-codestyle/references/testing.md Carry python testing conventions reference
.github/skills/python-codestyle/references/profiles.md Carry python profile reference
.github/skills/python-codestyle/references/code-style.md Carry python code-style reference
.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md Carry branch protection/promotion reference
.github/skills/git-commit-conventions/references/history-rewrite.md Carry history rewrite reference
.github/skills/fleet-conformance-check/SKILL.md Carry in-repo conformance-check skill
.github/skills/dotnet-codestyle/references/testing.md Carry .NET testing conventions reference
.github/skills/dotnet-codestyle/references/project-config.md Carry .NET project configuration reference
.github/skills/dotnet-codestyle/references/conventions.md Carry .NET conventions reference
.github/skills/copilot-instructions-keeper/SKILL.md Carry Copilot instructions keeper skill
.github/skills/comment-and-doc-style/references/markdown-links.md Carry markdown link conventions reference
.github/skills/comment-and-doc-style/references/carried-doc-references.md Carry carried-doc reference rules reference
.github/skills/code-review/SKILL.md Carry code review bootstrap skill
.github/skills/carried-instruction-file-guard/SKILL.md Carry carried instruction file overwrite guard skill
.github/skills/audit-a-repo/SKILL.md Carry audit procedure skill
.github/skills/agent-conduct/SKILL.md Carry agent conduct skill
.github/skills/add-host-tool/SKILL.md Carry host-tool addition skill
.github/dependabot.yml Line-ending normalization + comment wording cleanup
.gitattributes LF pin enforcement retained; comments need alignment with LF default
.editorconfig-checker.json Line-ending normalization (LF)
.dockerignore Line-ending normalization + comment wording cleanup
.config/dotnet-tools.json Line-ending normalization (LF)

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .gitattributes Resolved
Copilot AI review requested due to automatic review settings August 18, 2026 16:53

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.

Pull request overview

Copilot reviewed 47 out of 107 changed files in this pull request and generated no new comments.

Suppressed comments (1)

PhotoCleanerTests/.editorconfig:27

  • The comment refers to the test framework as "Xunit", but the project consistently uses the official "xUnit" spelling elsewhere (e.g., AGENTS.md/CODESTYLE.md). Keeping the canonical capitalization avoids confusion when searching/docs.

Copilot AI review requested due to automatic review settings August 18, 2026 16:57
@ptr727

ptr727 commented Aug 18, 2026

Copy link
Copy Markdown
Owner Author

Suppressed findings (1) from https://github.com/ptr727/PhotoCleaner/pull/66#pullrequestreview-4963630583\n\n- PhotoCleanerTests/.editorconfig:27 — Fixed in 43c8e9e. Copilot noted that "Xunit" was not the official product spelling. The comment now begins with "The xUnit", satisfying the prose capitalization rule while preserving canonical xUnit spelling.

@ptr727

ptr727 commented Aug 18, 2026

Copy link
Copy Markdown
Owner Author

Suppressed findings (1) from https://github.com/ptr727/PhotoCleaner/pull/66#pullrequestreview-4963630583\n\nPhotoCleanerTests/.editorconfig:27 — "The comment refers to the test framework as 'Xunit', but the project consistently uses the official 'xUnit' spelling elsewhere."\n\nFixed in 43c8e9e. The comment now begins with "The xUnit", satisfying the prose capitalization rule while preserving canonical xUnit spelling.

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.

Pull request overview

Copilot reviewed 47 out of 107 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit ddfcdd1 into develop Aug 18, 2026
20 checks passed
@ptr727
ptr727 deleted the feature/carry-main-lf-complete branch August 18, 2026 17:03
@ptr727 ptr727 mentioned this pull request Aug 18, 2026
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