lindell / multi-gitter

Update multiple repositories in with one command
Apache License 2.0
870 stars 64 forks source link

Feature request: Add project maintainers as reviewers #257

Open wilricknl opened 2 years ago

wilricknl commented 2 years ago

Recently I used multi-gitter to do updates across 40 repositories. Each of the repositories has its own maintainers whom must merge the pull request. So what I wanted is to automatically get a list of the maintainers via GitLab API and add (a couple of) them as reviewer. Ultimately I ended up using a Python script that got the maintainers for a repository, then called multi-gitter. It would be useful if this could become a feature within multi-gitter.

What do you think about adding such feature to multi-gitter? Looking through the source of both multi-gitter and go-gitlab it's seems like it would require to add an extra commandline argument and grabbing the maintainers using the following function provided by go-gitlab. I'm not sure if this feature is too platform specific however.

lindell commented 2 years ago

This seems to be a feature useful outside of GitLab, if this is implemented, with at least GitHub and GitLab implemented, I'm happy to merge that PR 😃

wilricknl commented 2 years ago

All right, I'll try to work on it, but I'm unfamiliar with the Go language. I'll let you know when I've got something 🙂