Committing a project

Last modified: February 19, 2008 - 03:55

Once your new module, theme or translation is complete you may want to add it to Drupal's contributed repository, and create a project for it at www.drupal.org.

  1. Add your project to CVS

    Your new project should first be added to the trunk of the contrib repository, which is know as the 'cvs' or 'HEAD' branch. (see Setting up)

    Add the files to the 'cvs' version of the contrib repository (see Preparing a project). Once added to CVS, the project folder and each of it's files will have a green '+' next to it, this means they are ready to be commited.

    Select the project's folder, for example:

    • banana.module
      contrib/modules/banana/banana.module
      select folder 'banana'

    With the project folder selected, control-click, select 'Commit...'

    A dialog box will appear into which you can type a log message. The log message should briefly explain what new features have been added to this version of the files or what bugs have been fixed.

  2. Add your project to the Drupal Project tracker

    Your files are now in the contrib repository, now you need to make drupal.org aware of your new project.

    By creating a 'project' at www.drupal.org the files in CVS become available for download on the 'Downloads' page, it also allows users to submit feature requests and bug reports for the project.

    Log in to www.drupal.org, in the side account block click on "create content", then click "project".

    Fill in the project form page to create the new project. The project will apear on drupal.org in a day or two.

 
 

Drupal is a registered trademark of Dries Buytaert.