Project

General

Profile

Overview » History » Version 4

Marc Mengel, 10/07/2009 02:08 PM

1 1 Marc Mengel
h1. Creating Repositories
2 1 Marc Mengel
3 1 Marc Mengel
This site is running a slightly modified version of Redmine, to allow users to select what sort of repository they
4 1 Marc Mengel
want to create.
5 1 Marc Mengel
6 1 Marc Mengel
Create a project by 
7 1 Marc Mengel
* clicking on the Projects link in the top dark bar of the Redmine page, 
8 1 Marc Mengel
* clicking on "New Project" to create the project
9 1 Marc Mengel
* Filling out the form
10 1 Marc Mengel
* Hitting save
11 1 Marc Mengel
12 1 Marc Mengel
Once you have a project created, 
13 1 Marc Mengel
* pick it from the projects page, and 
14 1 Marc Mengel
* click on the "Settings" tab, then
15 1 Marc Mengel
* click on the "Repository" sub-tab
16 1 Marc Mengel
* Choose a repository type (CVS, Git, Subversion)
17 1 Marc Mengel
* put "create_me" (without quotes) in the first input box
18 1 Marc Mengel
* hit save.
19 1 Marc Mengel
20 1 Marc Mengel
Soon thereafter a cron job will wake up and make your repository
21 1 Marc Mengel
along with a local project account, etc.  When that happens
22 1 Marc Mengel
the location of the repository will be updated, usually to
23 1 Marc Mengel
/cvs/projects/your-project-name.
24 1 Marc Mengel
25 2 Marc Mengel
Then if you're using:
26 4 Marc Mengel
* Git: from a local repository, do: 
27 4 Marc Mengel
> git push --all --force  ssh://p-_project_@cdcvs4.fnal.gov/cvs/projects/_project_
28 4 Marc Mengel
* Subversion: with a skeleton directory do
29 4 Marc Mengel
> svn import directory ssh://p-_project_@cdcvs4.fnal.gov/cvs/projects/_project_
30 2 Marc Mengel
31 1 Marc Mengel
Then you can use ssh to access your repository, and if you add
32 1 Marc Mengel
members to the project, they will be added to the .k5login for the
33 1 Marc Mengel
account.
34 1 Marc Mengel
35 4 Marc Mengel
If your project is "public" in redmine, it should also be available (readonly) as
36 4 Marc Mengel
* http://cdcvs4.fnal.gov/projects/project-name for Git or
37 4 Marc Mengel
* http://cdcvs4.fnal.gov/subversion/project-name for Subversion or
38 4 Marc Mengel
* :pserver://anonymous@cdcvs4.fnal.gov/cvs/project/project-name for CVS (by request)