~futatuki/mailman/2.1-forbid-subscription

« back to all changes in this revision

Viewing changes to Mailman/Version.py

  • Committer:
  • Date: 2003-01-02 05:25:50 UTC
  • Revision ID: vcs-imports@canonical.com-20030102052550-qqbl1i96tzg3bach
This commit was manufactured by cvs2svn to create branch
'Release_2_1-maint'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
 
2
#
 
3
# This program is free software; you can redistribute it and/or
 
4
# modify it under the terms of the GNU General Public License
 
5
# as published by the Free Software Foundation; either version 2
 
6
# of the License, or (at your option) any later version.
 
7
#
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software
 
15
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
16
 
 
17
# Mailman version
 
18
VERSION = "2.1"
 
19
 
 
20
# And as a hex number in the manner of PY_VERSION_HEX
 
21
ALPHA = 0xa
 
22
BETA  = 0xb
 
23
GAMMA = 0xc
 
24
# release candidates
 
25
RC    = GAMMA
 
26
FINAL = 0xf
 
27
 
 
28
MAJOR_REV = 2
 
29
MINOR_REV = 1
 
30
MICRO_REV = 0
 
31
REL_LEVEL = FINAL
 
32
# at most 15 beta releases!
 
33
REL_SERIAL = 0
 
34
 
 
35
HEX_VERSION = ((MAJOR_REV << 24) | (MINOR_REV << 16) | (MICRO_REV << 8) |
 
36
               (REL_LEVEL << 4)  | (REL_SERIAL << 0))
 
37
 
 
38
# config.pck schema version number
 
39
DATA_FILE_VERSION = 88
 
40
 
 
41
# qfile/*.db schema version number
 
42
QFILE_SCHEMA_VERSION = 3
 
43
 
 
44
# version number for the data/pending.db file schema
 
45
PENDING_FILE_SCHEMA_VERSION = 1
 
46
 
 
47
# version number for the lists/<listname>/request.db file schema
 
48
REQUESTS_FILE_SCHEMA_VERSION = 1