Skip to content

Conversation

Mpdreamz
Copy link
Member

No description provided.

@Mpdreamz Mpdreamz requested a review from a team as a code owner August 21, 2025 17:53
@Mpdreamz Mpdreamz added the chore label Aug 21, 2025
@Mpdreamz Mpdreamz self-assigned this Aug 21, 2025
@Mpdreamz Mpdreamz added the chore label Aug 21, 2025
@Mpdreamz Mpdreamz merged commit f82eee9 into main Aug 26, 2025
21 checks passed
@Mpdreamz Mpdreamz deleted the fix/code-analysis branch August 26, 2025 14:58
Mpdreamz added a commit that referenced this pull request Aug 26, 2025
* Allow relative path handling in diff validation and enhance root determination

- Updated `ValidateRedirects` method to support relative paths.
- Improved handling of source directory root in diff validation.
- Fixed path normalization in `IntegrationGitRepositoryTracker`.

* Do not pop unrelated changes

* Refactor `RedirectFile` initialization and enhance `IRepositoryTracker` for improved redirect handling

- Simplified `RedirectFile` creation logic and constructor overloading.
- Changed `IRepositoryTracker` to return a `IReadOnlyCollection` for consistency.
- Enhanced path normalization across repository trackers.
- Adjusted dependent tests and updated related YAML documentation.

* Exclude `_snippets` folder from missing redirects detection in `DiffCommands`

* Add HasParent extension method on IFileInfo and IDirectoryInfo

* Only consider markdown file changes

* use string.Equals

* update logging

* update filter, include markdowns without parent _snippet folder

* Add StringComparison to file/directory extensions, with hearistic for default for IsSubPathOf

* update tests

* Address a bunch of code-analysis quick fixes (#1761)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants