GitRepoAccessOnUABgrid: Difference between revisions
(initial wiki stub for git repo access on uabgrid) |
|||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
== Access Protocol == | == Access Protocol == | ||
Currently ssh is the protocol available for accessing git repos on git.aubgrid. As a result, a user would need an account on the host git. | Currently ssh is the protocol available for accessing git repos on git.aubgrid. As a result, a user would need an account on the host git.uabgrid. This, eventually would be replaced by [https://github.com/sitaramc/gitolite Gitolite], which would preclude the need for creating actual unix accounts on git.uabgrid. Currently, when we create git user accounts, users will be given git-shell access which will permit them to run the following git commands: | ||
# clone | |||
# pull (fetch) | |||
# archive | |||
Push access is by default given to the ''maintainer'' of the project's source code. The ''maintainer'' is the authority to grant push privileges to members in a team. | Push access is by default given to the ''maintainer'' of the project's source code. The ''maintainer'' is the authority to grant push privileges to members in a team. | ||
Two steps to access a git repo | Two steps to access a git repo | ||
# Get a git account. Please send a request email to support@vo.aubgrid.uab.edu with subject ''git account on git.uabgrid'' and also specify the project that you are a member of. | |||
# ssh public key. Email ssh public key from the machine(s) from where you will be doing your git work. | |||
Upon an email confirmation that your account was created and your ssh pub keys added to the list of authorized_keys, you are ready to begin hacking on the code. | Upon an email confirmation that your account was created and your ssh pub keys added to the list of authorized_keys, you are ready to begin hacking on the code. |
Latest revision as of 15:58, 20 June 2012
Overview
UABgrid git repositories are hosted on git.uabgrid.uab.edu.
Access to git repos will be decided by the project you are currently part of (usually the project and repo namespace will be the same).
Access Protocol
Currently ssh is the protocol available for accessing git repos on git.aubgrid. As a result, a user would need an account on the host git.uabgrid. This, eventually would be replaced by Gitolite, which would preclude the need for creating actual unix accounts on git.uabgrid. Currently, when we create git user accounts, users will be given git-shell access which will permit them to run the following git commands:
- clone
- pull (fetch)
- archive
Push access is by default given to the maintainer of the project's source code. The maintainer is the authority to grant push privileges to members in a team.
Two steps to access a git repo
- Get a git account. Please send a request email to support@vo.aubgrid.uab.edu with subject git account on git.uabgrid and also specify the project that you are a member of.
- ssh public key. Email ssh public key from the machine(s) from where you will be doing your git work.
Upon an email confirmation that your account was created and your ssh pub keys added to the list of authorized_keys, you are ready to begin hacking on the code.
git clone <blazer-id>@git.uabgrid.uab.edu:~git/repositories/<reponame>.git