]> code.delx.au - offlineimap/blob - offlineimap/head/offlineimap/version.py
/offlineimap/head: changeset 215
[offlineimap] / offlineimap / head / offlineimap / version.py
1 productname = 'OfflineIMAP'
2 versionstr = "3.2.2"
3 revno = long('$Rev: 215 $'[6:-2])
4 revstr = "Rev %d" % revno
5 datestr = '$Date: 2002-08-07 20:28:34 -0500 (Wed, 07 Aug 2002) $'
6
7
8 versionlist = versionstr.split(".")
9 major = versionlist[0]
10 minor = versionlist[1]
11 patch = versionlist[2]
12 copyright = "Copyright (C) 2002 John Goerzen"
13 author = "John Goerzen"
14 author_email = "jgoerzen@complete.org"
15 description = "Disconnected Universal IMAP Mail Synchronization/Reader Support"
16 bigcopyright = """%(productname)s %(versionstr)s (%(revstr)s)
17 %(copyright)s <%(author_email)s>""" % locals()
18
19 banner = bigcopyright + """
20 This software comes with ABSOLUTELY NO WARRANTY; see the file
21 COPYING for details. This is free software, and you are welcome
22 to distribute it under the conditions laid out in COPYING."""
23
24 homepage = "http://www.quux.org/devel/offlineimap"
25 homegopher = "gopher://quux.org/1/devel/offlineimap"
26 license = """Copyright (C) 2002 John Goerzen <jgoerzen@complete.org>
27
28 This program is free software; you can redistribute it and/or modify
29 it under the terms of the GNU General Public License as published by
30 the Free Software Foundation; either version 2 of the License, or
31 (at your option) any later version.
32
33 This program is distributed in the hope that it will be useful,
34 but WITHOUT ANY WARRANTY; without even the implied warranty of
35 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 GNU General Public License for more details.
37
38 You should have received a copy of the GNU General Public License
39 along with this program; if not, write to the Free Software
40 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA"""
41
42 cmdhelp = """
43 offlineimap [ -1 ] [ -P profiledir ] [ -a accountlist ] [
44 -c configfile ] [ -d ] [ -o ] [ -u interface ]
45
46 offlineimap -h | --help
47
48 -1 Disable all multithreading operations and use
49 solely a single-thread sync. This effectively sets
50 the maxsyncaccounts and all maxconnections configu-
51 ration file variables to 1.
52
53 -P profiledir
54 Sets OfflineIMAP into profile mode. The program
55 will create profiledir (it must not already exist).
56 As it runs, Python profiling information about each
57 thread is logged into profiledir. Please note:
58 This option is present for debugging and optimiza-
59 tion only, and should NOT be used unless you have a
60 specific reason to do so. It will significantly
61 slow program performance, may reduce reliability,
62 and can generate huge amounts of data. You must
63 use the -1 option when you use -P.
64
65
66 -a accountlist
67 Overrides the accounts section in the config file.
68 Lets you specify a particular account or set of
69 accounts to sync without having to edit the config
70 file. You might use this to exclude certain
71 accounts, or to sync some accounts that you nor-
72 mally prefer not to.
73
74 -c configfile
75 Specifies a configuration file to use in lieu of
76 the default, ~/.offlineimaprc.
77
78 -d Enables IMAP protocol stream and parsing debugging.
79 This is useful if you are trying to track down a
80 malfunction or figure out what is going on under
81 the hood. I suggest that you use this with -1 in
82 order to make the results more sensible. Note that
83 this output will contain full IMAP protocol in
84 plain text, including passwords, so take care to
85 remove that from the debugging output before send-
86 ing it to anyone else.
87
88 -o Run only once, ignoring any autorefresh setting in
89 the config file.
90
91 -h, --help
92 Show summary of options.
93
94 -u interface
95 Specifies an alternative user interface module to
96 use. This overrides the default specified in the
97 configuration file. The UI specified with -u will
98 be forced to be used, even if its isuable() method
99 states that it cannot be. Use this option with
100 care.
101
102 The pre-defined options are Tk.TKUI (a graphical
103 interface), TTY.TTYUI (a text-mode interface), Non-
104 interactive.Basic (a non-interactive mode suitable
105 for cronning), and Noninteractive.Quiet (a mode
106 that generates no output except for errors).
107 """