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
|
# Copyright 2010 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Constants that refer to values in sampledata.
If ever you use a literal in a test that refers to sample data, even if it's
just a small number, then you should define it as a constant here.
"""
__metaclass__ = type
__all__ = [
'BUILDD_ADMIN_USERNAME',
'CHROOT_LIBRARYFILEALIAS',
'COMMERCIAL_ADMIN_EMAIL',
'HOARY_DISTROSERIES_NAME',
'I386_ARCHITECTURE_NAME',
'LAUNCHPAD_DBUSER_NAME',
'MAIN_COMPONENT_NAME',
'NO_PRIVILEGE_EMAIL',
'UBUNTU_DEVELOPER_ADMIN_NAME',
'UBUNTU_DISTRIBUTION_NAME',
'UBUNTU_UPLOAD_TEAM_NAME',
'UBUNTUTEST_DISTRIBUTION_NAME',
'WARTY_DISTROSERIES_NAME',
'WARTY_ONLY_SOURCEPACKAGENAME',
'WARTY_ONLY_SOURCEPACKAGEVERSION',
'WARTY_UPDATES_SUITE_NAME',
]
# Please use names that reveal intent, rather than being purely
# descriptive, i.e. USER16_NAME isn't as good as
# UBUNTU_DEVELOPER_NAME. Where intent is tricky to convey in the
# name, please leave a comment as well.
# A user with buildd admin rights and upload rights to Ubuntu.
BUILDD_ADMIN_USERNAME = 'cprov'
# The LibraryFileAlias of a chroot for attaching to a DistroArchSeries
CHROOT_LIBRARYFILEALIAS = 1
HOARY_DISTROSERIES_NAME = 'hoary'
I386_ARCHITECTURE_NAME = 'i386'
LAUNCHPAD_DBUSER_NAME = 'launchpad'
MAIN_COMPONENT_NAME = 'main'
NO_PRIVILEGE_EMAIL = 'no-priv@canonical.com'
COMMERCIAL_ADMIN_EMAIL = 'commercial-member@canonical.com'
# A user that is an admin of ubuntu-team, which has upload rights
# to Ubuntu.
UBUNTU_DEVELOPER_ADMIN_NAME = 'name16'
UBUNTU_DISTRIBUTION_NAME = 'ubuntu'
# A team that has upload rights to Ubuntu
UBUNTU_UPLOAD_TEAM_NAME = 'ubuntu-team'
WARTY_DISTROSERIES_NAME = 'warty'
# A source package name and version for a package only published in
# warty
WARTY_ONLY_SOURCEPACKAGENAME = 'mozilla-firefox'
WARTY_ONLY_SOURCEPACKAGEVERSION = '0.9'
WARTY_UPDATES_SUITE_NAME = WARTY_DISTROSERIES_NAME + '-updates'
|