Migrate more types of project maintainership

Created on 7 August 2025, 2 months ago

project_maintainer currently contains update_project & administer_maintainers

Write to VCS & Administer releases are missing, since they were abstracted into separate tables in D7 in hopes of keeping project* & versioncontrol* modular & reusable. For D10, we can flatten these to a single table as we’re already tending to merge things into drupalorg module.

Write to VCS is versioncontrol_auth_account.access in D7, with repo_id being joined through versioncontrol_project_projects to get the project NID. Values are

  • 0 = no access
  • 2 = VersioncontrolAuthHandlerMappedAccounts::ALL, access is synced to GitLab
  • 40 = GitLab’s internal representation of maintainer access, synced back from GitLab when granted

While GitLab is effectively the canonical storage, we want to keep a local copy, so API calls to GitLab are not necessary.

Administer releases is project_release_project_maintainer.administer_releases in D7. We could change this to “manage releases,” which I think is more accurate now.

Maintain issues should continue to be not migrated, however this will be an important difference to note with the new contribution records system. In order to update credit, a maintainer will need a type of maintainership other than maintain issues.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States drumm NY, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024