File: user-names.html

package info (click to toggle)
arch 1.0pre15-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 20,180 kB
  • ctags: 4,560
  • sloc: ansic: 64,410; sh: 29,168; lisp: 1,896; awk: 1,044; makefile: 484; sed: 26
file content (94 lines) | stat: -rw-r--r-- 2,043 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html>
<head>
<title>The arch Global Name-space of Users</title>
</head>
<body>

<a name="The_arch_Global_Name-space_of_Users"></a>

<a href="http://www.regexps.com">The Hackerlab at <code>regexps.com</code></a>

<h2 align=center>The arch Global Name-space of Users</h2>




<small>
<b>up: </b><a href="arch.html#arch">arch</a></br>
<b>next: </b><a href="project-names.html#The_arch_Global_Name-space_of_Projects">The arch Global Name-space of Projects</a></br>


</small>
<br>






<p><a name="index-pt:0"></a>

<a name="index-pt:1"></a>

</p><p>For various purposes (such as labelling the author of log messages),
<code>arch</code>
 maintains a global name-space of users.  Every user of <code>arch</code>

has an associated user ID, which is (ideally) globally unique.
</p><p>An id string has two parts: a free-form part, and a unique-id part.
The unique-id part is an email address with a fully-qualified domain
name.  That part of your id string should be unique to you in the
world.  Here is an example:
</p><pre>
             Joe Hacker &lt;joe.hacker@gnu.org>
                ^               ^
                |               |
           free form part     unique id

</pre>
<p>The free-form part must match the regexp:
</p><pre>
        [[:alnum:][:space:][:punct:]]*

</pre>
<p>and the unique-id part must match the regexp:
</p><pre>
        &lt;[-.[:alnum:]]+@[-.[:alnum:]]+\\.[-.[:alnum:]]+>

</pre>
<p>You should only need to set your ID once, which you can do with the
command:
</p><pre>
        % larch my-id ID-STRING

</pre>
<p>You can check your id with:
</p><pre>
        % larch my-id
        Joe Hacker &lt;joe.hacker@gnu.org>

</pre>
<p>or:
</p><pre>
        % larch my-id --uid
        joe.hacker@gnu.org

</pre>
<p>Clearly it is a good idea to use a real email address (belonging to
you) for the id string, but there is nothing that requires this.
</p>







<small><i>arch: The arch Revision Control System

</i></small><br>


<a href="http://www.regexps.com">The Hackerlab at <code>regexps.com</code></a>

</body>