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

Delete stale oauth objects on sync #1887

Closed
asachs01 opened this issue Dec 30, 2015 · 3 comments
Closed

Delete stale oauth objects on sync #1887

asachs01 opened this issue Dec 30, 2015 · 3 comments

Comments

@asachs01
Copy link

Like the title suggests, I'm seeing an organization's repos show up when they shouldn't be. I was formerly a member, and the org has a ton of repos. It's making adding a project a bit of a PITA as I'm having to constantly hit "next" just to get to the repo that I actually need to add. Is there any way to remove those repos via the UI?

@agjohnson
Copy link
Contributor

Not yet, we don't make any attempt to delete stale objects during oauth syncing yet, we only import/update them. Work I have going on #1850 will delete old remote organizations/repos when the account is reconnected, but this is awful UI for this particular problem. Removing stale objects will require another pass through the database objects, comparing the objects no longer in the oauth object return. This is The Correct Solution, but for now, #1850 will address this problem.

@agjohnson agjohnson changed the title Old Organization Repos Showing when Importing Projects Delete stale oauth objects on sync Dec 31, 2015
@agjohnson agjohnson added the Bug A bug label Dec 31, 2015
@humitos
Copy link
Member

humitos commented Dec 18, 2017

@asachs01 this issue #3337 (when implemented) don't remove the stale objects but it could help you to filter the repos by your own at least.

@stsewd
Copy link
Member

stsewd commented May 17, 2018

This is a duplicate of #2412, closing this in favor of the other one.

@stsewd stsewd closed this as completed May 17, 2018
@stsewd stsewd added Status: duplicate and removed Bug A bug labels May 17, 2018
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

4 participants