pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.28k stars 125 forks source link

Allow configuring a separate repo for issues #385

Open lougreenwood opened 1 year ago

lougreenwood commented 1 year ago

Issue Description

Type: feature request

Describe what happened (or what feature you want)

Our company GH uses a single repo for issue tracking across the company and then multiple repos for various projects.

It would be great if we could configure that octo uses a specific repo for issues. It would be even better if we could configure this as a callback which receives the current repo config - this would allow writing a function which specifies something like `when I am working in a repo belonging to organization XYZ, use the following repo for issues, else use the default (current repo is repo for issues).

How to reproduce it (as minimally and precisely as possible)

  1. Create an organisation with 2 repos, 1 repo for issues, one for code
  2. Try to use Octo and see that when working code it's not possible to configure Octo to always use the correct repo for issues.