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

Limit all queries to just the list of repositories in config.yaml #68

Open
stuartlangridge opened this issue Jan 28, 2018 · 0 comments
Open

Comments

@stuartlangridge
Copy link
Collaborator

With this done, it will be possible to run multiple disjoint dashboard sets out of one mongodb instance. However, this may be hard; repo and team dashboards are by definition limited to just stuff about repositories from the config, and queries on an org dashboard would need to grow another query parameter of {repository_url: {or: [{$regex: /ghuser\/repo1name}, {$regex: /ghuser\/repo1name}]}} which isn't too hard, but user queries are difficult; it's hard to know which users are related to which repositories without precomputing it all ahead of time. This isn't a huge problem -- it means extra contributor dashboards get created, but they aren't linked from anywhere, which is inefficient but not huge -- but it does break lists such as "users not in any organisation".

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