~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/setting_up_email.txt

  • Committer: John Arbash Meinel
  • Date: 2006-07-13 19:58:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1869.
  • Revision ID: john@arbash-meinel.com-20060713195822-965e2c4422506a75
cleanup pass, allow pycurl connections to be shared between transports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
================
2
 
Setting up email
3
 
================
4
 
 
5
 
The various ways that exist to tell Bazaar your email address for
6
 
commits.
7
 
 
8
 
Why set up an email address with Bazaar?
9
 
========================================
10
 
Bazaar stores the claimed email address in revisions when they're
 
1
Why set up an email address with Bazaar-NG?
 
2
===========================================
 
3
Bazaar-NG stores the claimed email address in revisions when they're
11
4
created, so that people can tell who commited which revisions.  Of course,
12
5
people can change the email address claimed, so you have to trust the
13
6
people involved.  Additionally, the email address in a revision gives
16
9
 
17
10
How to setup your email address 
18
11
===============================
19
 
Bazaar will try to guess an email address based on your username and the
 
12
Bazaar-NG will try to guess an email address based on your username and the
20
13
hostname if none is set.  This will probably not be what you want, so three
21
 
ways exist to tell Bazaar what email to use
 
14
ways exist to tell Bazaar-NG what email to use
22
15
 
23
16
 * You can set your email in the default ini file,
24
17
 * You can set emails per-branch in the branch specific ini file,
31
24
    file.
32
25
 3. If an email is set in the `bazaar.conf` default ini file.
33
26
 4. If the `$EMAIL` env variable is set.
34
 
 5. Bazaar will try to guess based on your username and the hostname.
 
27
 5. Bazaar-NG will try to guess based on your username and the hostname.
35
28
 
36
 
To check on what Bazaar thinks your current email is, use the '''whoami'''
 
29
To check on what Bazaar-NG thinks your current email is, use the '''whoami'''
37
30
("who am i?") command::
38
31
 
39
32
    % bzr whoami
78
71
 
79
72
Setting email via environment
80
73
-----------------------------
81
 
The final method Bazaar will use is checking for the `$BZREMAIL` and
 
74
The final method Bazaar-NG will use is checking for the `$BZREMAIL` and
82
75
`$EMAIL` environment variables.  Generally, one would use this method to
83
76
override the email in a script context.  If you would like to set a general
84
77
default, then please see the ini methods above.
87
80
Concerns for spam
88
81
=================
89
82
Some people want to avoid sharing their email address so as not to get
90
 
spam.  Bazaar will never disclose your email address, unless you publish
 
83
spam.  Bazaar-NG will never disclose your email address, unless you publish
91
84
a branch or changeset in a public location.  It's recommended that you
92
85
''do'' use a real address, so that people can contact you about your work,
93
86
but it's not required.  You can use an address which is obfuscated, which