Skip to content

Conversation

guitarrapc
Copy link
Owner

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 6, 2025 11:54
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the file linking service by introducing default OS-specific ignore patterns and a dry-run mode for safer execution. Key changes include:

  • Addition of a static default ignore pattern set that covers OS-specific files and wildcards.
  • Incorporation of a dry-run mode throughout the file linking process with appropriate logging.
  • Updates and new tests to exercise the new functionalities and validate ignore pattern matching logic.

Reviewed Changes

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

Show a summary per file
File Description
src/DotfilesLinker/Services/FileLinkerService.cs Adds default ignore patterns, dry-run mode support, and updates file processing logic.
src/DotfilesLinker/Program.cs Includes dry-run mode flag parsing and updated command execution.
src/DotfilesLinker.Tests/FileLinkerServiceTests.cs Extends tests for OS-specific ignore patterns and user-defined expectations.
src/DotfilesLinker.Tests/FileLinkerServicePatternTests.cs Provides additional unit tests for ignore pattern matching including wildcards.
src/DotfilesLinker.Tests/DryRunTests.cs Adds tests to confirm dry-run behavior prevents file system changes.

@guitarrapc guitarrapc enabled auto-merge June 6, 2025 11:58
@guitarrapc guitarrapc merged commit caa8451 into main Jun 6, 2025
5 of 11 checks passed
@guitarrapc guitarrapc deleted the feature/update branch June 6, 2025 11:59
@guitarrapc guitarrapc changed the title feat: Add OS Specific files defaultIgnore support feat: Add OS Specific files defaultIgnore, dry-run support Jun 6, 2025
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.

1 participant