Project

General

Profile

Minerva Notes

Software

Redmine Project and Repository Creation

Also very useful is this page.

  1. Go to Redmine projects page.
  2. Go to Minerva Software.
  3. Add a sub-preoject. (Link is on project Overview page.)
  4. Fill out form. Name - human descriptive, Identifier - command line strict. e.g. "Name: Minerva Personal Perdue" and "Identifier: mnv-perdue"
  5. Go to new project and select the "Settings" Tab, then select the "Repositories" tab.
  6. Select "New repository"
  7. Fill out the form. Choose Git, leave the identifier blank, put "create_me" (no quotes, but include underscore) in Path to repository, pick UTF-8 encoding. Note: if you are creating a second or third repository, you cannot leave the identifier blank. You need to supply a descriptive string.
  8. Click create. The repository will become available on the quarter hour.
  9. Go back to project, click on Settings, then Repository to see it.
  10. Set up an area on local disk, e.g. $HOME/MinervaGit/
  11. cd $HOME/MinervaGit
  12. mkdir Minerva
  13. cd Minerva; cp -r {some interesting code} .
  14. cd $HOME/MinervaGit
  15. git init
  16. git add .
  17. git commit
  18. git push ssh://p-{project name}@cdcvs.fnal.gov/cvs/projects/{project name} master
  19. e.g.: git push ssh:///cvs/projects/mnv-perdue master
  20. Once everything is setup, this can be shortened to: git push origin master, or even just: git push (it is the default, but make sure it is what you mean).
  21. Go back to the Project Repository tab to see the (now populated) repository.
  22. Go to settings, Members, and make sure the intended user is a Manager in the repository.

Checking Out a Repository

  1. git clone ssh://p-{project repository name}@cdcvs.fnal.gov/cvs/projects/{project repository name}
  2. Here: git clone ssh:///cvs/projects/mnv-perdue