~ubuntu-branches/ubuntu/quantal/dak/quantal

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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
				Notes
				=====

o Please be careful: katie sends out lots of emails and if not
  configured properly will happily send them to lots of people who
  probably didn't want those emails.

o Don't use katie.conf, apt.conf, cron.* etc. as starting points for
  your own configuration files, they're the configuration files for
  auric (aka ftp-master.debian.org) and are highly Debian specific.
  Start from scratch and refer to the security.debian.org config files
  (-security) as they're a better example for a private archive.

o Don't be put off by the names, see doc/README.names for a mapping of
  name -> what the script does.

		    What do all these scripts do?
		    =============================

Generic and generally useful
----------------------------

o To process queue/:

  * jennifer - processes queue/unchecked
  * kelly - processes queue/accepted
  * lisa - processes queue/new and queue/byhand

o To generate indices files:

  * jenna - generates file lists for apt-ftparchive and removes
            obsolete packages from suites
  * ziyi  - generates Release

o To clean things up:

  * rhona - to remove obsolete files from the pool
  * shania - to remove obsolete/stray files from the queue
  * melanie - to remove package(s) from suite(s)
  * alicia - to change individual override entries

o Information display:

  * madison - shows information about package(s)
  * helena - shows information about package(s) in queue/
  * alicia - can show you individual override entries

Generic and useful, but only for those with existing archives
-------------------------------------------------------------

o catherine - migrates packages from legacy locations to the pool
o neve - initializes a projectb database from an exisiting archive

Generic but not overly useful (in normal use)
---------------------------------------------

o ashley - dumps info in .katie files
o julia - sync PostgreSQL users with system users
o rene - check for obsolete or duplicated packages
o rose - directory creation in the initial setup of an archive
o tea - various sanity checks of the database and archive
o natalie - manpiulates/list override entries
o heidi - removes/adds/lists package(s) from/to/for a suite
o saffron - produces various statistics
o rosamund - checks for users with no packages in the archive

Semi-generic
------------

To generate less-used indices files:

o charisma - generates Maintainers file
o denise  - generates override.<foo> files

Mostly Debian(.org) specific
----------------------------

o amber - wrapper for Debian security team
o halle - removes obsolete .changes files from proposed-updates
o jeri - basic dependency checking for proposed-updates
o emilie - syncs fingerprint and uid information with a debian.org LDAP DB
o lauren - manually reject packages from proposed-updates

Very Incomplete or otherwise not generally useful
-------------------------------------------------

o alyson - currently only initializes a DB from a katie.conf config file
o andrea - looks for version descrepancies that shouldn't exist in many
           archives
o cindy - override cruft checker that doesn't work well with New Incoming

Scripts invoked by other scripts
--------------------------------

o fernanda - invoked by lisa to "check" NEW packages
o claire - invoked by catherine to determine packages still in legacy locations
o katie - common code used by lisa, jennifer, kelly and others

			How do I get started?
			=====================

[Very incomplete - FIXME]

o Write your own katie.conf and apt.conf files.  katie looks for those
  config files in /etc/katie/.  /etc/katie/katie.conf can define
  alternative configuration files with Config::host::KatieConfig and
  Config::host::AptConfig (where "host" is the fully qualified domain
  name of your machine).
o Create a PostgreSQL database on the host given in katie.conf's DB::Host
  with the name specified in DB::Name.
o Run rose: this will create all directories which are specified in
  katie.conf and apt.conf.
o If you have an existing archive:
   * Run neve
  otherwise:
   * Create the table structure.  init_pool.sql contains all SQL statements
     which are needed for this.  After changing all occurences of "projectb"
     to the name of your database (as defined in DB::Name) you can run:
         psql <DB::Name> < init_pool.sql
   * Run alyson: it will populate your database with the values from
     katie.conf and apt.conf.
   * Run 'psql <DB::Name> < add_constraints.sql'.
o Copy all templates from the "templates" directory to to the directory
  specified in Dir::Templates, and adapt them to your distribution.
o Create an 'ftpmaster' group in postgres.