Explore Re-including exempted files in CODEOWNERS
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Currently, our CODEOWNERS implementation supports file exclusion using the !#{path}
syntax, allowing organizations to exclude specific files from codeowner rules. We want to extend this functionality to support re-inclusion of previously excluded files, similar to .gitignore
's behavior.
Current Behavior:
- Files can be excluded using
!#{path}
syntax - Exclusions are final within their section
- No way to re-include previously excluded files
Proposed Behavior:
- Allow re-inclusion of previously excluded files
- Maintain consistent behavior within CODEOWNERS sections
Technical Requirements:
- Explore complexity required in a SPIKE
- Implement logic for re-inclusion rules
Considerations:
- Performance impact of additional rule processing
- Complexity of rule evaluation order
- Clear documentation for users
- Edge cases handling
Description was generated using AI
Edited by 🤖 GitLab Bot 🤖