HowTo

Version 6 (Neels Hofmeyr, 11/17/2013 04:48 am)

1 2 Neels Hofmeyr
{{>toc}}
2 2 Neels Hofmeyr
3 1 Neels Hofmeyr
h1. HowTo
4 1 Neels Hofmeyr
5 1 Neels Hofmeyr
h3. Setup gitolite
6 1 Neels Hofmeyr
7 1 Neels Hofmeyr
* Send your SSH public key to one of the gitolite admins.
8 1 Neels Hofmeyr
* Setup your SSH config. Example:
9 1 Neels Hofmeyr
** Leave 'stsp_gitolite' as-is (we're using stsp's IN-Berlin account)
10 1 Neels Hofmeyr
** Change '/home/alice' to your home directory path
11 1 Neels Hofmeyr
12 1 Neels Hofmeyr
<pre>
13 1 Neels Hofmeyr
host oophone-gitolite
14 1 Neels Hofmeyr
        user stsp_gitolite
15 1 Neels Hofmeyr
        hostname git.user.in-berlin.de
16 1 Neels Hofmeyr
        port 22
17 1 Neels Hofmeyr
        identityfile /home/alice/.ssh/oophone
18 1 Neels Hofmeyr
</pre>
19 1 Neels Hofmeyr
20 1 Neels Hofmeyr
* Test it:
21 1 Neels Hofmeyr
22 1 Neels Hofmeyr
<pre>
23 1 Neels Hofmeyr
$ ssh oophone-gitolite
24 1 Neels Hofmeyr
PTY allocation request failed on channel 0
25 1 Neels Hofmeyr
hello alice, the gitolite version here is 1.5.4-2+squeeze1 (Debian)
26 1 Neels Hofmeyr
the gitolite config gives you the following access:
27 1 Neels Hofmeyr
    @R @W	testing
28 1 Neels Hofmeyr
    ...
29 1 Neels Hofmeyr
    ...
30 1 Neels Hofmeyr
Connection to git.user.in-berlin.de closed.
31 1 Neels Hofmeyr
</pre>
32 1 Neels Hofmeyr
33 1 Neels Hofmeyr
* Clone repos:
34 1 Neels Hofmeyr
35 1 Neels Hofmeyr
<pre>
36 1 Neels Hofmeyr
$ git clone oophone-gitolite:<repo>
37 1 Neels Hofmeyr
</pre>
38 1 Neels Hofmeyr
39 1 Neels Hofmeyr
40 1 Neels Hofmeyr
h3. Edit Issue Description
41 1 Neels Hofmeyr
42 1 Neels Hofmeyr
# open issue
43 1 Neels Hofmeyr
# click on "Update"
44 1 Neels Hofmeyr
# search for "Change properties (More):", click on "More"
45 1 Neels Hofmeyr
# coolness, you may now edit the description
46 1 Neels Hofmeyr
47 1 Neels Hofmeyr
h3. Cope with Issue Quirks
48 1 Neels Hofmeyr
49 1 Neels Hofmeyr
If I remember this right, some of the https://redmine.user.in-berlin.de/projects/oophone/issues attributes can only be accessed by *right-clicking* the issue (not the link, but the remainder of the row) in the issue list.
50 1 Neels Hofmeyr
In any case this is a faster way to change most issue attributes.
51 3 Neels Hofmeyr
52 3 Neels Hofmeyr
h3. powers of 10 cheat
53 3 Neels Hofmeyr
54 5 Neels Hofmeyr
|notation|value|symbol|word(s)|examples|
55 6 Neels Hofmeyr
| 1e0 | (1) * 10 ^ (0) = 1 | | C/Python "e" notation, not to be confused with "the base of the natural logarithm e":http://en.wikipedia.org/wiki/E_%28mathematical_constant%29 used in RCL (resistor/capacitor/inductor) electronics calculations.||
56 4 Neels Hofmeyr
| 1e-12 | 0.000 000 000 001 | p | pico |pF = picoFarad (capacitance)|
57 4 Neels Hofmeyr
| 1e-9 | 0.000 000 001 | n | nano |nF|
58 4 Neels Hofmeyr
| 1e-6 | 0.000 001 | µ | micro |µA or uA = microAmpere (current)|
59 4 Neels Hofmeyr
| 1e-3 | 0.001 | m | milli | mA (current), mV = milliVolt (voltage) |
60 4 Neels Hofmeyr
| ...  |||||
61 4 Neels Hofmeyr
| 1k2  | 1200 Ohm | k = 1000 | frequently used resistor value notation ||
62 4 Neels Hofmeyr
| 64k * 8 | 64 * 1024 * 8 bit = 64 kilobytes | k = 1024 | frequently used EEPROM memory size notation| "512k = 64k * 8" actually means 64kb |