Overview » History » Version 18

« Previous - Version 18/56 (diff) - Next » - Current version
Marc Mengel, 10/08/2009 04:12 PM

Creating Repositories

This site is running a slightly modified version of Redmine, to allow Admin users to select what sort of repository they
want to create. (see here and here for details.)

Create a project by
  • clicking on the Projects link in the top dark bar of the Redmine page,
  • clicking on "New Project" to create the project
  • Filling out the form
  • Hitting save
Once you have a project created,
  • pick it from the projects page, and
  • click on the "Settings" tab, then
  • click on the "Repository" sub-tab
  • Choose a repository type (CVS, Git, Subversion)
  • put "create_me" (without quotes) in the first input box (or "file:///create_me" for Subversion)
  • hit Create.

Soon thereafter a cron job will wake up (promptly at :00, :15, :30, or :45 after the hour)
and make your repository along with a local project account, etc. When that happens
the location of the repository will be updated, usually to /cvs/projects/your-project-name.
So wait for the 15 minute boundary, and go back to your Settings tab, and pick the
Repository sub-tab, and you should see the repository path has been updated.

Oh, and don't forget to add yourself (and other interested parties) as members
of the project in the Settings/Members tab. This also will take effect at :00, :15, :30 or :45
after the hour.

Then if you're using:
  • Git: from a local repository, do one of:

git push --all --force ssh:///cvs/projects/project-name
git clone ssh:///cvs/projects/project-name

  • Subversion: with a skeleton directory do

svn import directory ssh:///cvs/projects/project-name

  • CVS: with directory of files do

cd directory; cvs -d :ext:/cvs projects/project-name import modulename tag1 tag2

Where "project-name" above is replaced by your project's internal name you set when you created it.
Note the account name part is "p-" in front of your project name.

Then you can use ssh to access your repository, and if you add
members to the projectin the Settings/Members tab, they will be added to the .k5login for the
account. This also will take effect at :00, :15, :30 or :45 after the hour.

If your project is "public" in redmine, it should also be available (readonly) as