Skip to content

Remote repo: track repo owner #12116

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

Open
stsewd opened this issue Apr 16, 2025 · 0 comments
Open

Remote repo: track repo owner #12116

stsewd opened this issue Apr 16, 2025 · 0 comments
Labels
Needed: design decision A core team decision is required

Comments

@stsewd
Copy link
Member

stsewd commented Apr 16, 2025

What's the problem this feature will solve?

For repos that belong to an organization, we are tracking the organization in the RemoteRepository model, but for repos that belong to a user, we aren't tracking that information, we can infer the owner from the name (user/repo), but sometimes we may need more than the name, like the ID of the owner (this information would have been useful for migrating from our old GH OAuth app to our new GH App).

Describe the solution you'd like

Track the owner of the repo in a owner attribute, similar to organization, or check if it makes sense to merge both in one attribute like GH does. We should also check if the other providers share this same concept, I know that Gitlab has things like subgroups...

Alternative solutions

Just do nothing as this isn't required for anything else other than the migration to the new GH app.

Additional context

#12112 (comment)

@stsewd stsewd added the Needed: design decision A core team decision is required label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

2 participants
@stsewd and others