Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1 #116

Open
mszostok opened this issue Feb 11, 2022 · 0 comments
Open

Release v1 #116

mszostok opened this issue Feb 11, 2022 · 0 comments
Milestone

Comments

@mszostok
Copy link
Owner

mszostok commented Feb 11, 2022

Description

This tool was created a long time ago, and I already got a lot of feedback.

I plan to release the v1 once:

Additionally, I would like to:

  • add an option to format CODEOWNERS files.
  • and an option to add/remove a given owner from CODEOWNERS files and create related PRs automatically. For example, with such (draft) config:
    updateRepositories:
      - path: "/tmp/cloned/repository" # local repository
      - url: "org/repo" # clone to temp dir
      - url: "org/other-repo" # clone to temp dir
      - url: "org/*" # maybe in the next version add pattern support?
    
    insert:
      - owners: [ "@hakuna", "@matata" ]
        condition:
          pattern: "*.go"
      - owners: [ "@baz", "@bar" ]
        condition:
          associatedWithOwner: "@ghost"
    
    pullRequest:
      titleFormat: "Add {{ .NewOwner }} as a code owner in {{ .RepoName }}"
    Pull requests will be created in dedicated repositories.

As a result, maybe this project will be changed to codeowners-manager or simply codeowners as the spectrum of responsibilities will be much wider:

  • codeowners fmt
  • codeowners validate
  • codeowners add # across repositories
  • codeowners remove # across repositories
  • codeowners fix
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

No branches or pull requests

1 participant