| ... |
... |
@@ -18,39 +18,4 @@ |
| 18 |
18 |
|
| 19 |
19 |
You essentially have the choice of either checking out the KIELER sources using our project sets (preconfigured sets of plug-ins that are automatically imported into your Eclipse environment), or by selecting the plug-ins you want manually. |
| 20 |
20 |
|
| 21 |
|
-== Checkout Using Team Project Sets == |
| 22 |
|
- |
| 23 |
|
-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: |
| 24 |
|
- |
| 25 |
|
-* [[Project sets for the Git protocol>>url:http://rtsys.informatik.uni-kiel.de/%7Ekieler/projectsets/git/||shape="rect"]] (read-only; don't take these if you'll be actively developing KIELER code) |
| 26 |
|
-* [[Project sets for the SSH protocol>>url:http://rtsys.informatik.uni-kiel.de/%7Ekieler/projectsets/git-ssh/||shape="rect"]] |
| 27 |
|
- |
| 28 |
|
-For access using the SSH protocol you first need to do steps 1 to 3 of the //manual checkout// section below. |
| 29 |
|
- |
| 30 |
|
-== Manual Checkout == |
| 31 |
|
- |
| 32 |
|
-In case you only need read access, omit steps 1 to 4 and copy the following URI instead: |
| 33 |
|
- |
| 34 |
|
-{{{ git://git.rtsys.informatik.uni-kiel.de/kieler/mainline.git}}} |
| 35 |
|
- |
| 36 |
|
-Otherwise, follow these steps: |
| 37 |
|
- |
| 38 |
|
-1. If you don't have an SSH key yet, you have to create one. You can do this by: |
| 39 |
|
-1*. Creating one using the command ssh-keygen on the command line. Simply type ssh-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. |
| 40 |
|
-1*. Using eclipse to generate it. You can find this function under //Preferences - General - Network Connections - SSH2 - Key Management//. |
| 41 |
|
-1. Register with [[Gitorious>>url:http://git.rtsys.informatik.uni-kiel.de||shape="rect"]] and upload your public SSH key (//Dashboard - Manage SSH keys - Add SSH key//). |
| 42 |
|
-1. Ask a KIELER administrator to add you to the //kieler-dev// Gitorious team. |
| 43 |
|
-1. Copy the repository URI git@git.rtsys.informatik.uni-kiel.de:kieler/mainline.git into the clipboard. |
| 44 |
|
-1. 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. |
| 45 |
|
-1. Right-click the //Working directory// entry in the //kieler// repository, select //Import Projects//, //Next//, select the projects that you want in your workspace, //Finish.// |
| 46 |
|
- |
| 47 |
|
-In case you already checked out the repository over the read-only git protocol, but you want to be able to commit to the remote repository, open the //Git Repositories// view, right-click //kieler/Remotes/origin//, select //Configure Push//, and change the URI to the ssh variant. |
| 48 |
|
- |
| 49 |
|
-Checking out on the command line is done with the command git clone <URI> <local path>. Instead of the URI you can also use a path to an existing repository, which then creates a clone of that repository. |
| 50 |
|
- |
| 51 |
|
-== Adding an Existing Local Repository to EGit == |
| 52 |
|
- |
| 53 |
|
-If you have already cloned the KIELER repository and are only looking for a way to import it into EGit, follow these steps: |
| 54 |
|
- |
| 55 |
|
-1. Click the button //Add an existing local Git Repository to this view// in the //Git Repositories// view and enter the local path. |
| 56 |
|
-1. Right-click the //Working directory// entry in the added repository, select //Import Projects//, //Next//, select the projects that you want in your workspace, //Finish// |
|
21 |
+ |