Since migrating to GitLab, we have quietly been fulfilling git.drupalcode.org username change requests. At first this was a very manual process, but it is now:
- Update the git_username directly in the DB
- Save their account to trigger syncing
and there are no known problems.
Implementation
On /user/{uid}/git
- Remove warnings that the git username is permanent
- Remove the confirmation page when agreeing to the Git access agreement
- Remove “Desired” from the “Desired Git username” field title
- Always show that field as editable, and make sure it can save
- Adjust any other words on the form so they always make sense after this change
Issue fork drupalorg-3265726
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
drummIf we’re migrating all issues to git.drupalcode.org, we’ll have to create accounts for anyone who has ever updated an issue. If we’re making that account on their behalf, without asking for a username, we should make that username changeable.
Comment #3
drummComment #5
crawleyhost commentedComment #8
drummThis is now deployed, everyone can now change their Git username.