[go: up one dir, main page]

Page MenuHomePhabricator

Add potential next step for Toolforge error "No GitLab accounts found for tool maintainers."
Open, Needs TriagePublicFeature

Assigned To
None
Authored By
RPI2026F1
Nov 24 2022, 1:53 PM
Referenced Files
None
Tokens
"Like" token, awarded by Samwilson."Like" token, awarded by YFdyh000.

Description

Feature summary (what you would like to be able to do and where): When the error "No GitLab accounts found for tool maintainers." is displayed, a sign-in link for the GitLab should be displayed.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution): When I tried to make a new repo I kept on getting this error, and it didn't help me with figuring out how to fix the problem. The fix required me to sign in to the GitLab owned by Wikimedia with my developer account.

Benefits (why should this be implemented?): This would make it easier for new devs for tools to get started.

Event Timeline

bd808 subscribed.

Removing GitLab as it is only involved incidentally.


When I did the work for T315706: Migrate existing Striker created Diffusion repos to GitLab I wrote some code that would call the GitLab API to invite folks to join the project by email. That's probably a better behavior for initial repo creation as well. This is also related to T317376: Update GitLab repo owners when tool maintainers change in that striker.tools.models.GitlabRepo has a sync_maintainers_with_gitlab method which could be used in both cases to invite any tool maintainers who have not yet attached their Developer account to GitLab to do so while setting the repo's ownership to the complete set of maintainers.