Requesting a Project
Anyone can start a new project on xwiki-contrib. This page explains what you get, how to ask for it, how to name your repository and what to put in its README.
Hosting tools
A project can get some or all of the following tools:
- A GitHub repository, under https://github.com/xwiki-contrib.
- A JIRA project for tracking bugs and feature requests, on https://jira.xwiki.org/, in the "XWiki Contributed projects" category. Each project has its own JIRA project.
- A generic Maven groupId: org.xwiki.contrib (or org.xwiki.contrib.<module name> if the project has several modules). Once the project reaches a certain size and visibility, it can have its own groupId.
- Project pages on extensions.xwiki.org to describe and document the project. Once the project reaches a certain size and visibility, it can have its own wiki on xwiki.org.
- A CI job on https://ci.xwiki.org that builds the project on each commit (see XWiki Contrib jobs and Requesting CI / Snapshot builds).
- A Sonar project report on https://sonar.xwiki.org to analyze the project's quality.
- Translations on the l10n platform (see Requesting a translation component).
- Forum: there's no dedicated forum. Projects share the Development category of the forum. If a project becomes too active for it, you can request a dedicated category.
- Chat: there's no dedicated chat room. Use the main #xwiki chat room. If a project becomes too active for it, you can request a dedicated room.
Requesting a project
Send a post in the Forum (Development category) with the contrib tag, and give:
- The name of the project (see Choosing the name) and a short description.
- If the project is already available on extensions.xwiki.org, a link to its page. If it isn't, no hurry: you'll publish it once it's ready.
- The tools you need from the list above.
- The people who will be the project's committers, with, for each one:
- Their GitHub username. Register one on https://github.com if needed. A good practice is the first letter of your first name followed by your last name, all lowercase (for example jdoe for John Doe).
- Their JIRA username, if you need a JIRA project. Register a JIRA user if needed.
The people named in the request become the repository's committers, without a vote. See Committers for what that means and how others can join later.
An administrator then creates the project (see Administration).
Choosing the name
- Use a single word (for example forum). If that's not descriptive enough, join several words (for example filemanager) when it looks natural, or separate them with a dash (for example multiselect-suggest). Keep it short and descriptive.
- Pick a "business" name, not one tied to the extension type: new Maven modules of other types (API, application, etc.) may be added later. For example, avoid figure-macro.
- Don't use the xwiki- prefix: it's used by repositories of the xwiki GitHub organization (core modules). Avoid it as a suffix too, since all xwiki-contrib projects are related to XWiki.
- If a repository with the name you want already exists, consider adding your code to it as a sub-module, if it fits the same domain and can be released together (same release lifecycle). Otherwise, use another name (add a qualifier or pick a different name).
Reserved names:
- icon-themes: the repository containing all Icon Themes. To contribute an Icon Theme, add an icon-theme-<yyy> directory to it. All Icon Themes are released together, with the same version, as they're too small to be released separately.
- color-themes: the repository containing all Color Themes. To contribute a Color Theme, add a color-theme-<yyy> directory to it. All Color Themes are released together, with the same version.
Hint: for inspiration, look at the existing repository names, but only those created after 16 May 2023. Older repositories follow a different convention (a type prefix such as application-, macro- or api-), which you shouldn't use anymore.
README.md Template
Give your project a README.md file with the essential information about it (its committers, how to contribute, etc.). Use the following template:
# <Pretty name of Extension, e.g. Flash Messages Application>
<Short Description of Extension, taken from the description element in the pom.xml>
* Committers: see [xwiki-committers](https://github.com/xwiki/xwiki-committers/blob/master/xwiki-contrib.yaml)
<if single extension page>
* [Documentation & Download](<url on e.x.o, e.g. https://extensions.xwiki.org/xwiki/bin/view/Extension/Flash+messages+application>)
</if single extension page>
<if several extension pages>
* Documentation & Downloads:
* [<pretty name of page1, e.g. My App API](<url1 on e.x.o)
...
* [<pretty name of pageN, e.g. My App API](<urlN on e.x.o)
</if several extension pages>
* [Issue Tracker](<url on jira.xwiki.org, e.g. https://jira.xwiki.org/browse/XAFLASHM>)
* Communication: [Forum](<url, e.g. https://forum.xwiki.org></url>), [Chat](<url, e.g. https://dev.xwiki.org/xwiki/bin/view/Community/Chat>)
<if link pointing to all dev practices>
* [Development Practices](<URL pointing to a site defining the list of practices to be followed by contributors when contributing on this project>)
</if link pointing to all dev practices>
<if no single link pointing to all dev practices>
* Development Practices:
* <best practice 1, possibly with some link>
...
* <best practice N, possibly with some link>
</if no single link pointing to all dev practices>
* Minimal XWiki version supported: <taken from the pom.xml, e.g. XWiki 6.4.7>
* License: <license,taken from the pom.xml, e.g. LGPL 2.1>.
<if translation is used>
* [Translations](<url on l10n to translations for this extension>)
</if translation is used>
<if translation is not used>
* Translations: N/A
</if translation is not used>
<if sonar is used>
* [Sonar Dashboard](<url to the project’s dashboard on sonar.xwiki.org, e.g. https://sonar.xwiki.org/dashboard/index/10464>)
</if sonar is used>
<if sonar is not used>
* Sonar Dashboard: N/A
</if sonar is not used>
<if ci is used>
* Continuous Integration Status: [](https://ci.xwiki.org/job/XWiki%20Contrib/job/<job name on ci.xwiki.org>/job/master/)
</if ci is used>
<if ci is not used>
* Continuous Integration Status: N/A
</if ci is not used>
<optional>
## Whatever
...
</optional>Here's an example.