Repository navigation
Complete LF Migration and Carry Review Skills - #66
Conversation
Codecov Report❌ Patch coverage is 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. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
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. |
|
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. |
Summary
ce9b9a5Verification
carry.py check(source and target digest162e5b606d98995020a1be74937f53fd0577ed19247ab874f6a0c8e5869665ed)repo_gate.py --check eol(0 issues)repo_gate.py --check eol-coverage(0 issues)prose_lint.py . --diff origin/develop(0 violations)dotnet csharpier check .dotnet format style --verify-no-changes --severity=info --verbosity=detailed --no-restoredotnet 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.