]> code.delx.au - offlineimap/blob - offlineimap/head/offlineimap/version.py
/offlineimap/head: changeset 221
[offlineimap] / offlineimap / head / offlineimap / version.py
1 productname = 'OfflineIMAP'
2 versionstr = "3.2.2"
3 revno = long('$Rev: 221 $'[6:-2])
4 revstr = "Rev %d" % revno
5 datestr = '$Date: 2002-08-08 10:21:56 -0500 (Thu, 08 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 debugtype[,debugtype...] ] [ -o ] [
45 -u interface ]
46
47 offlineimap -h | --help
48
49 -1 Disable all multithreading operations and use
50 solely a single-thread sync. This effectively sets
51 the maxsyncaccounts and all maxconnections configu-
52 ration file variables to 1.
53
54 -P profiledir
55 Sets OfflineIMAP into profile mode. The program
56 will create profiledir (it must not already exist).
57 As it runs, Python profiling information about each
58 thread is logged into profiledir. Please note:
59 This option is present for debugging and optimiza-
60 tion only, and should NOT be used unless you have a
61 specific reason to do so. It will significantly
62 slow program performance, may reduce reliability,
63 and can generate huge amounts of data. You must
64 use the -1 option when you use -P.
65
66
67 -a accountlist
68 Overrides the accounts section in the config file.
69 Lets you specify a particular account or set of
70 accounts to sync without having to edit the config
71 file. You might use this to exclude certain
72 accounts, or to sync some accounts that you nor-
73 mally prefer not to.
74
75 -c configfile
76 Specifies a configuration file to use in lieu of
77 the default, ~/.offlineimaprc.
78
79 -d debugtype[,debugtype...]
80 Enables debugging for OfflineIMAP. This is useful
81 if you are trying to track down a malfunction or
82 figure out what is going on under the hood. I sug-
83 gest that you use this with -1 in order to make the
84 results more sensible.
85
86 -d now requires one or more debugtypes, separated
87 by commas. These define what exactly will be
88 debugged, and so far include two options: imap and
89 maildir. The imap option will enable IMAP protocol
90 stream and parsing debugging. Note that the output
91 may contain passwords, so take care to remove that
92 from the debugging output before sending it to any-
93 one else. The maildir option will enable debugging
94 for certain Maildir operations.
95
96 -o Run only once, ignoring any autorefresh setting in
97 the config file.
98
99 -h, --help
100 Show summary of options.
101
102 -u interface
103 Specifies an alternative user interface module to
104 use. This overrides the default specified in the
105 configuration file. The UI specified with -u will
106 be forced to be used, even if its isuable() method
107 states that it cannot be. Use this option with
108 care. The pre-defined options are listed in the
109 USER INTERFACES section.
110
111 """