File: HACKING

package info (click to toggle)
mailsync 5.2.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 736 kB
  • ctags: 187
  • sloc: cpp: 2,106; sh: 773; ansic: 107; makefile: 86
file content (101 lines) | stat: -rw-r--r-- 3,095 bytes parent folder | download | duplicates (6)
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
95
96
97
98
99
100
101
DEFINITIONS:
------------

The terminus "mailbox" is used throughout the code in accordance with
c-client speak.

What c-client calls "mailbox" is commonly referred to as a mail FOLDER.

In mailsync a box containing multiple folders is described by a "Store"
- have a look at store.h for details.


MSINFO format description:
--------------------------

ATTENTION: the msinfo format can change without warning!

The msinfo file contains synchronization information for channels as
defined in the configuration file. Each channel contains the mailboxes
associated with it and the message ids of all the mails that have been
seen in those mailboxes the last time a sync was done.

The msinfo file is a normal mailbox.

Each email therein represents a channel. The channel is identified by
the "Subject: " email header.

The body of an email contains a series of mailbox synchronization entries.
Each such entry starts with the name of the mailbox followed by all the
message ids that were seen and synchronized. Message ids have the format
"<xxx@yyy>" or "<>, tag: <value>".

Example:

From tpo@petertosh Fri Oct  4 12:18:13 2002 +0200
From: mailsync
Subject: all
Status: O
X-Status:
X-Keywords:
X-UID: 2095

linux/apt
<1018460459.4617.23.camel@mpav>
<1027985024.1352.19.camel@server1>
linux/mailsync
<001001c1d37a$39ee3d70$e349428e@ludwig>
<002b01c1e95c$94957390$e349428e@ludwig>

From tpo@petertosh Sat Nov 30 18:21:55 2002 +0100
Status:
X-Status:
X-Keywords:
From: mailsync
Subject: inbox

INBOX
<>, md5: <2292e5bda62ae83acbd11f3d61d62c7b>
<>, md5: <24c5f14bd1b8198520736843f369f415>

We have here two channels. The first is use for synchronization
of all my mailboxes and the second one solely for my inbox.

The first channel contains the mailboxes "linux/apt" and "linux/mailsync".
Each of those mailboxes has had two mails in it. The first is being
synchronized through the standard method, by using Message-IDs to uniquely
identify messages and the second one is using md5 checksums.

Take care - mailboxes with *empty* names *are* allowed.


RELEASE PROCESS
---------------
1. * release CVS tarballs
2. as soon as it seems stable:
   * make note in NEWS about alpha release
   * release alpha
   * make dist and upload
3. after some downloads without complaints:
   * verify that problems that the release was supposed to
     fix are actually fixed with the people that had them
   * update version number to beta in configure.ac
   * make note in NEWS about beta release
   * release beta
   * make dist and upload
4. after enough time:
   * update version number in configure.ac
   * make note in NEWS about release and beta period
   * tag CVS with new release number
   * release
   * make dist
   * double check that the tarball doesn't contain any crap
   * upload
   * go through Tracker and tag them as closed in debian/changelog
5. after some time:
   * go through BTS and tag them as closed in debian/changelog
   * make debian package with:
     dpkg-buildpackage -iCVS/*\|.cvsignore -rfakeroot -kFC992520
   * double check that the diff doesn't contain any crap
   * upload