Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Feature: auto-add #81

Open
dennissivia opened this issue May 25, 2020 · 0 comments
Open

Feature: auto-add #81

dennissivia opened this issue May 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dennissivia
Copy link

I suggest adding a command to automatically add changed files (that don't match any existing rule) to the given owner. This would allow a contributor to assign all the changes to a given team.

Purpose

Instead of manual changes, the author would be able to just assign all changed files to a given team.

Syntax

This is just a suggestion to have a concrete examples, I would be happy to discuss better options

codeowners-checker --auto-add @mycomp/team1

Semantics

The checker will automatically find all files, create the smallest amount of patterns (optional)
and add these rules to the codeowners file. Since inferring the most effective pattern seems hard, we could also start with simple approaches and automatically open an editor or something like that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant