aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/getstats.py
blob: f48c153a671208ae0dd21c698c4fc9b21de386e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
#
# Collect statistics on current release.

import commands, os, string, ftplib

# Get version and date
date = commands.getoutput("LC_TIME=C date +'%Y-%m-%d'")
pid = os.getpid()
os.mkdir("/tmp/getstats.%d" % pid)

cmd = "git archive --format=tar HEAD | ( cd /tmp/getstats.%d && tar -xf -)" % pid

if os.system(cmd):
    print "git-archive FAILED"
    os.exit(1)

ln = commands.getoutput("cat /tmp/getstats.%d/*.[chly] 2>/dev/null | wc -l" % pid)
os.system("rm -rf /tmp/getstats.%d" % pid)
vers = commands.getoutput("sed -n -e '/AC_INIT/s/AC_INIT(\\[.\\+\\],\\[\\(.*\\)\\],.*)/\\1/p' <configure.ac")
print "fetchmail-" + vers + " (released " + date + ", " + string.strip(ln) + " LoC):"

# end of getstats.py
Fetchmail's Test List</h1> <p>Here are the server types on my regression-test list:</p> <table border=1 width=80% align=center summary="Server list"> <tr> <td><strong>Protocol &amp; Version:</strong></td> <td><strong>Special Options:</strong></td> </tr> <tr><td>IMAP: CommuniGate IMAP server</td><td>IMAPrev1 STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5</td> <tr><td>POP3: CommuniGate POP3 server</td><td>CAPA LAST APOP CRAM-MD5</td> <tr><td>POP3: IntraStore POP3 mail server</td><td>!CAPA LAST</td> <tr><td>APOP: IntraStore POP3 mail server</td><td>!CAPA LAST APOP</td> <tr><td>IMAP: IntraStore IMAP mail server</td><td>IMAPrev1 IDLE AUTH=CRAM-MD5 AUTH=SKEY AUTH=ANONYMOUS</td> <tr><td>POP3: Eudora EIMS</td><td>CAPA LAST APOP SASL CRAM-MD5 NTLM</td> <tr><td>POP3: gmx.de pop server</td><td>!CAPA UIDL</td> <tr><td>IMAP: IMail IMAP server</td><td>IMAP4rev1 AUTH=CRAM-MD5</td> <tr><td>IMAP: Microsoft Exchange</td><td>IDLE AUTH=NTLM</td> <tr><td>POP3: qpopper 3.1.2 (Eudora) patched with mysql</td><td>CAPA UIDL</td> <tr><td>IMAP: Courier IMAP</td><td>IMAP4rev1</td> <tr><td>POP3: Courier POP3</td><td>CAPA UIDL</td> <tr><td>APOP: Qpopper using APOP</td><td>!CAPA</td> <tr><td>IMAP: UW IMAP</td><td>IMAPrev1</td> <tr><td>IMAP: Courier IMAP</td><td>IMAP4rev1</td> <tr><td>POP3: Qpopper 4.0.5</td><td>CAPA UIDL</td> </tr></table> <p>If you control a post-office server that is not one of the types listed here, please consider lending me a test account. Note that I do <em>not</em> need shell access, just the permissions to send mail to a mailbox the server looks at and to fetch mail off of it.</p> <p>I'd like to have weird things like a POP2 server on here. Also more closed-source servers because they tend to be broken in odd ways. These are the real robustness tests.</p> <hr /> <table width="100%" cellpadding=0 summary="Canned page header"><tr> <td width="30%">Back to <a href="/index.html">Home Page</a> <td width="30%" align=right>Wed Oct 15 18:43:10 EDT 2003 </tr></table> <br clear="left" /> </BODY> </HTML>