Skip to content

Continue Repository LF Migration - #65

Merged
ptr727 merged 1 commit into
developfrom
feature/lf-migration-part2
Aug 18, 2026
Merged

ptr727 merged 1 commit into
developfrom
feature/lf-migration-part2

Conversation

@ptr727

@ptr727 ptr727 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • continue the fleet LF migration with 15 source and test files
  • add temporary path-specific LF pins while the repository-wide default remains CRLF
  • resolve three existing comment-style findings exposed by the mechanical normalization
  • keep the total diff at 15,901 changed lines, below Copilot's 20,000-line limit

After this merges, the final PR will switch the global default to LF, normalize the remaining files, remove all temporary pins, and carry the promoted Copilot review skills from ProjectTemplate main.

Verification

  • 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 build --no-restore (0 warnings, 0 errors)
  • dotnet test --no-build --no-restore (367 passed, 5 environment-dependent skipped, 0 failed)

Copilot AI lite review requested due to automatic review settings August 18, 2026 16:18
@ptr727
ptr727 requested a lite review from Copilot and removed request for Copilot August 18, 2026 16:19
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 37.50577% with 1353 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.37%. Comparing base (a3158ce) to head (acb7114).
⚠️ Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
PhotoCleaner/ProcessTask.cs 0.00% 680 Missing ⚠️
PhotoCleaner/ImportTask.cs 0.00% 352 Missing ⚠️
PhotoCleaner/VerifyTask.cs 29.22% 196 Missing and 5 partials ⚠️
PhotoCleaner/CommandLine.cs 88.68% 41 Missing and 9 partials ⚠️
PhotoCleaner/Database.cs 78.87% 47 Missing and 2 partials ⚠️
PhotoCleaner/ExifToolJson.cs 88.00% 15 Missing and 6 partials ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #65   +/-   ##
========================================
  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

This pull request continues the staged repository line-ending (EOL) migration by normalizing a selected set of C# source and test files to LF while keeping the repository-wide default as CRLF. This fits into the repo’s ongoing “fleet LF migration” effort by incrementally converting files and adding temporary .editorconfig pins to prevent future churn until the final migration flips the global default.

Changes:

  • Normalize line endings to LF for a subset of PhotoCleaner/ and PhotoCleanerTests/ C# files (mechanical change).
  • Add temporary path-specific end_of_line = lf pins in .editorconfig for the normalized files.

Reviewed changes

Copilot reviewed 3 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
PhotoCleanerTests/TrashDatabaseTests.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleanerTests/TrashCommandTests.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleanerTests/TempDirectoryFixture.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleanerTests/IndexTaskTests.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleanerTests/DateInferenceTests.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleaner/VerifyTask.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleaner/ImportTask.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleaner/ExifToolJson.cs Mechanical LF normalization (no functional changes apparent).
PhotoCleaner/Database.cs Mechanical LF normalization (no functional changes apparent).
.editorconfig Adds path-scoped LF pins for the normalized files to keep EOL consistent during the staged migration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit 3dbfe9a into develop Aug 18, 2026
21 checks passed
@ptr727
ptr727 deleted the feature/lf-migration-part2 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