Skip to content

Fixing issues with owner invites and renamed accounts #2177

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

Merged
merged 5 commits into from
Apr 4, 2020

Conversation

carols10cents
Copy link
Member

Pushing commit by commit to demonstrate test failures and fixes

@rust-highfive
Copy link

r? @sgrif

(rust_highfive has picked a reviewer for you, use r? to override)

@sgrif
Copy link
Contributor

sgrif commented Feb 6, 2020

Since you're looking into this, #1586 is still open and goes after the deeper problem, which is more than just owner invites

@carols10cents
Copy link
Member Author

Yep, it'd be great if you'd rebase that PR and address the comments smarnarch left! AFAICT the test I've added in this PR would still fail on that branch, though, so to fix the immediate problem a user is experiencing, that PR won't help.

Accounts where the gh_id is -1 are accounts we know are inactive and
should never be invited to own crates
Assuming gh_id always increases, if we have multiple users with the same
gh_login, the one with the higher id is the most recently valid account
we know about
@carols10cents carols10cents marked this pull request as ready for review February 6, 2020 19:34
@carols10cents
Copy link
Member Author

I'm happy to squash the format commit in before merging, but didn't want to mess up the test result demonstrations I already did. This is ready for review now; see email for context.

@jtgeibel
Copy link
Member

jtgeibel commented Apr 4, 2020

Okay, I finally understand the subset of accounts this applies to and how it relates to the other PR. This looks good to me.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 4, 2020

📌 Commit 61c840b has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Apr 4, 2020

⌛ Testing commit 61c840b with merge 231ee43...

@bors
Copy link
Contributor

bors commented Apr 4, 2020

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing 231ee43 to master...

@bors bors merged commit 231ee43 into rust-lang:master Apr 4, 2020
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

Successfully merging this pull request may close these issues.

5 participants