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

User <-> Public Repo mapping table #17048

Closed
arussellsaw opened this issue Jan 5, 2021 · 2 comments
Closed

User <-> Public Repo mapping table #17048

arussellsaw opened this issue Jan 5, 2021 · 2 comments
Assignees

Comments

@arussellsaw
Copy link
Contributor

In #16326 we need a way for users to specify that they'd like certain public repos to be synced, even if they have no code hosts configured, and we also want these repos to be added to the user's default search context. In order to do this we need to introduce a non-owner relationship between user and repo, which will let us know that a user is interested in a repo, and also sync & index it if it's not already, but doesn't allow them to manage the repository itself.

To do this we want to introduce a new table that maps between public repositories and user IDs, generally these repositories will be under the default public code host for sourcegraph.com, but there's also a chance that they might be owned by a different sourcegraph user's code host.

@arussellsaw arussellsaw added this to the Cloud 2021-01-06 milestone Jan 5, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2021

Heads up @tsenart - the "team/cloud" label was applied to this issue.

@arussellsaw
Copy link
Contributor Author

closing this, instead we'll use search contexts when they're ready

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

3 participants