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

Allow use cases where list of projects or organizations is already known #5

Closed
aaronsteers opened this issue Sep 3, 2021 · 4 comments

Comments

@aaronsteers
Copy link
Contributor

Currently, this was built around the searches config option, which allows Github repo searches to drive dynamic repo selection.

I suggest we make three vectors for selection, each which would be mutually exclusive during setting validation:

  1. searches - (existing) finds repos based on the search API
  2. repositories - (hi-pri) takes a list of one or more repositories, such as ['MeltanoLabs/tap-github']
  3. organizations - (low-pri) takes a list of one or more organizations, such as ['MeltanoLabs']
@laurentS
Copy link
Contributor

laurentS commented Sep 3, 2021

I got started on repositories this afternoon (EU time).

@aaronsteers
Copy link
Contributor Author

@laurentS - Fantastic! Thanks!

@aaronsteers
Copy link
Contributor Author

@laurentS - Thanks for your work adding repositories as a top-level config setting in #7. For the organizations use case, do you think you could add one of the sample queries you shared with me into the Readme? It occured to me that we could solve this use case by simply making it straightforward on how to query for everything under a specific org - and relying on the existing search-oriented features for that use case.

What do you think?

@aaronsteers
Copy link
Contributor Author

Closing this as resolved. Repositories is now supported as a config option, and organizations can be supported via a search using Github query syntax to include only the requested org(s).

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

2 participants