Page History
...
Info | ||
---|---|---|
| ||
The Git protocol runs on port 9418, and Repository access via SSH runs on port 22. 7999. For accessing the repositories in read-only mode, HTTP transfer is also possible in read-only mode, but is not recommended due to its bad performance. |
...
. |
Checkout
...
If you need a specific subset of the KIELER plugins, select a suitable project set, copy its URL, and select File - Import - Team - Team Project Set. There are two versions of the project sets:
...
Git
...
For access using the SSH protocol you first need to do steps 1 to 3 of the manual checkout section below.
Manual Checkout
Checkout of the Git repository is possible either using the SSH or the HTTP protocol. We strongly recommend using SSH; if you still want to use HTTP, omit the SSH key creation and upload in the instructions below.
- If you don't have an SSH key yet, you have to create one. You can do this by:
- Creating one using the command
ssh-keygen
on the command line. Simply typessh-keygen
, confirm the default destination file ~/.ssh/id_rsa, and choose whether to give a passphrase. If you have a passphrase, you need to enter it whenever you use your SSH key for the first time in a session. You can omit the passphrase, but that makes the key less secure. As result, the tool generates a private key ~/.ssh/id_rsa, which has to be kept secret, and a public key ~/.ssh/id_rsa.pub. - Using Eclipse to generate it. You can find this function under Preferences - General - Network Connections - SSH2 - Key Management.
- Creating one using the command
- Register with Stash and upload your public SSH key (Profile - SSH Keys - Add Key).
- Copy the repository URI into the clipboard:
ssh://git@git.rtsys.informatik.uni-kiel.de:7999/KIELER/mainline.git
(if you insist in using HTTP:http://msp@gityouraccountname@git.rtsys.informatik.uni-kiel.de/scm/KIELER/mainline.git
) - Open the Git Repositories view, right-click it, select Paste Repository Path or URI, select ssh connection protocol, Next, select master branch, Next, select destination directory (e.g. /home/<username>/shared/kieler), Finish. Wait for the repository to be downloaded to your computer. Note that the whole history of the repository will be stored in your local filesystem, which is pretty awesome.
- Right-click the Working directory entry in the kieler repository, select Import Projects, Next, select the projects that you want in your workspace, Finish.
...