Properly handle GitHub username changes

Open
#1,802 2 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java

Research direction

Start by locating where GitHub users are associated using login_name and where the stable GitHub user ID is stored; read the related account-association tests. Check how an existing account is matched after a username change, and consider the issue done when the renamed GitHub user remains associated with the same account rather than creating a new one.

Written by the indexing model from the issue text.

Description

authentication server

A user can change his / her GitHub username. openvsx uses the login_name as primary key and will thus create a new user account after a change, and the user will not be associated with the previous GH username.

We already keep track of the unique GH userid which does not change after a rename, and should use that rather the login_name for association.

Dominant language
Java
Stars
2.1k
Forks
362
Avg merge
1d 3h
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-openvsx/openvsx

All issues in eclipse-openvsx/openvsx

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.