Administration

Last modified by Vincent Massol on 2026/11/30 15:08

This page is for the administrators of xwiki-contrib: the owners of the xwiki-contrib GitHub organization, who are the core committers. It explains how to create a project once it has been requested, and how to apply committer changes.

Information

These rules are being rolled out: the per-repository GitHub teams will be created once the review of the initial lists ends, after 7 December 2026. Until then, write access still comes from the xwikiorg team.

Creating a project

For a new project, create:

  • A GitHub repository.
  • Its committers, in xwiki-committers.
  • A JIRA project, if requested.
  • A Matrix room, if requested and if the project is large enough.

GitHub Repository Creation

  • Go to the GitHub Template Repository, click the "Use this template" dropdown and select "Create a new repository".
  • Select xwiki-contrib as the owner and make the repository public. Choose its name and description (see Choosing the name), then click "Create repository from template".
  • In the new repository's settings:
    • Uncheck "Wiki", "Issues" and "Projects".
    • Under "Email notifications", add the notifications AT xwiki DOT org email.
  • Don't give access to the repository by hand: the committers' access comes from xwiki-committers (next step).

Committers

  • Open a pull request on xwiki-committers that:
    • Adds the repository to xwiki-contrib.yaml, with the GitHub usernames of the people named in the request as committers.
    • Adds those people to people.yaml if they're not there yet, with their JIRA username.
    • Links the forum request.
  • Merge it, then run the sync (see Adding or removing a committer). It creates the <repository>-committers team with "Admin" on the repository. The core-committers team gets "Admin" on it too.

JIRA Project Creation

  • Go to the JIRA project view.
  • Click "Create Project" and select "Create with shared configuration":

    jira.png

  • Select the "LATEX" project to copy the configuration from: it's known to have the right configuration.
  • Add a 1.0.0 version (versions always have three parts, see Version Types).
  • Check that the Category is "XWiki Contributed Projects - Others" (in "Details", or click "Edit" on the JIRA project view).
  • Set JIRA's mandatory "Project Lead" field to one of the project's committers: it has no other meaning.

The LATEX configuration gives the contrib-committers and xwiki-committers JIRA groups the Committers and Administrators roles, so that committers can release versions in JIRA. Per-project committer groups, synced from xwiki-committers and able to create and see confidential issues, will replace them.

Matrix room

  • Click the + button to create a room:

    1698328014513-470.png

  • Select "New Room".
  • Enter a name and a topic.
  • Select "Public room".
  • Enter the room address agreed on in the forum request for the room.

Adding or removing a committer

Committer changes go through xwiki-committers (see Committers for the rules):

  • Check that the pull request links the vote (or, for a move to emeritus, the forum notice), then merge it.
  • Run the GitHub team sync with an organization owner token in GH_TOKEN:
    npm install
    node scripts/sync-github-teams.mjs          # prints the team changes the lists imply
    node scripts/sync-github-teams.mjs --apply  # makes them

The sync makes the GitHub teams match the lists: it adds and removes team members, gives each team "Admin" on its repository, and deletes the team of a repository that no longer has committers. It also reverts access changes made outside the lists.

An organization owner runs the sync after merging the pull request. Until the JIRA sync exists, also add the new committer to the contrib-committers JIRA group.

Get Connected