Project

General

Profile

Overview » History » Version 2

Marc Mengel, 10/02/2009 04:45 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 2 Marc Mengel
> Git: from a local repository, do: 
27 2 Marc Mengel
> > git push --all --force  ssh://p-_project_@cdcvs4.fnal.gov/cvs/projects/_project_
28 2 Marc Mengel
> Subversion:
29 2 Marc Mengel
30 1 Marc Mengel
Then you can use ssh to access your repository, and if you add
31 1 Marc Mengel
members to the project, they will be added to the .k5login for the
32 1 Marc Mengel
account.