]> git.decadent.org.uk Git - dak.git/blob - config/backports/dak.conf
Remove use of Component in dak.conf, use db instead
[dak.git] / config / backports / dak.conf
1 Dinstall
2 {
3    // Both need to be defined at the moment, but they can point to the
4    // same file.
5    GPGKeyring {
6       "/srv/backports-master.debian.org/keyrings/keyring.gpg";
7    };
8    // To sign the release files. Adjust the keyid!
9    // Note: Key must be without a passphrase or it wont work automagically!
10    SigningKeyring "/srv/backports-master.debian.org/s3kr1t/dot-gnupg/secring.gpg";
11    SigningPubKeyring "/srv/backports-master.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
12    SendmailCommand "/usr/sbin/sendmail -oi -t -f envelope@backports.debian.org";
13    MyEmailAddress "Backports Debian FTP Masters <ftpmaster@backports.debian.org>";
14    MyAdminAddress "ftpmaster@backports.debian.org";
15    MyHost "backports.debian.org";  // used for generating user@my_host addresses in e.g. manual_reject()
16    MyDistribution "backports.debian.org archive"; // Used in emails
17    // Alicia and melanie can use it
18    BugServer "bugs.debian.org";
19    // melanie uses the packages server.
20    // PackagesServer "packages.test.backports.org";
21    // If defined then the package@this.server gets a copy of most of the
22    // actions related to the package. For an example look at
23    // packages.qa.debian.org
24    // TrackingServer "packages.qa.test.backports.org";
25    LockFile "/srv/backports-master.debian.org/lock/dinstall.lock";
26    // If defined this address gets a bcc of all mails.
27    // FIXME: Einrichten wenn das hier produktiv geht!
28    Bcc "debian-backports-changes@lists.debian.org";
29    GroupOverrideFilename "override.group-maint";
30    FutureTimeTravelGrace 28800; // 8 hours
31    PastCutoffYear "1984";
32    SkipTime 300;
33    // If defined then mails to close bugs are sent to the bugserver.
34    CloseBugs "false";
35    OverrideDisparityCheck "false";
36    DefaultSuite "lenny-backports";
37    Reject
38    {
39      NoSourceOnly "true";
40      ReleaseTransitions "/srv/backports-master.debian.org/hints/transitions.yaml";
41    };
42    // If set, only send mails to addresses listed there.
43    // format of entries: one entry per line. Either an email address directly, or a regular expression,
44    // prefixed by "RE:". Examples: "jane.doe@domain.com" or "RE:jane[^@]@domain.com", where the first will
45    // only allow to mail jane.doe@domain.com while the second will mail all of jane*@domain.com
46    MailWhiteList "/srv/backports-master.debian.org/dak/config/backports/mail-whitelist";
47 };
48
49 Generate-Index-Diffs
50 {
51    Options
52    {
53      TempDir "/srv/backports-master.debian.org/tiffani";
54      MaxDiffs { Default 50; };
55    };
56 };
57
58 Add-User
59 {
60 // Should we sent a mail to newly added users?
61   SendEmail "true";
62
63 // Should we create an account so they can login?
64 // Account will be created with the defaults from adduser, so adjust
65 // it's configuration to fit your needs.
66 // NOTE: This requires that your dak user has a sudo entry, allowing
67 // to run /usr/sbin/useradd!
68   CreateAccount "false";
69
70 // Note: This is a comma separated list of additional groupnames to
71 // which uma should add the user. NO spaces between the groupnames or
72 // useradd will die.
73 // Disable it if you dont want or need that feature.
74 //  GID "debuser";
75
76 };
77
78 Show-New
79 {
80   HTMLPath "/srv/backports-web.debian.org/underlay/new/";
81 }
82
83 Check-Overrides
84 {
85   OverrideSuites
86   {
87     lenny-backports
88     {
89       Process "1";
90 //      OriginSuite "Unstable";
91     };
92
93     lenny-backports-sloppy
94     {
95       Process "1";
96 //      OriginSuite "Unstable";
97     };
98
99     squeeze-backports
100     {
101       Process "1";
102 //      OriginSuite "Unstable";
103     };
104
105   };
106 };
107
108
109 Import-Users-From-Passwd
110 {
111   // The Primary GID of your users. Using uma it is the gid from group users.
112   ValidGID "800";
113   // Comma separated list of users who are in Postgres but not the passwd file
114   KnownPostgres "postgres,katie,dak,www-data,qa,guest,repuser";
115 };
116
117 Queue-Report
118 {
119   ReportLocations
120   {
121     822Location "/srv/backports-web.debian.org/underlay/new.822";
122   };
123 };
124
125 Clean-Queues
126 {
127   Options
128   {
129     Days 14;
130    };
131  MorgueSubDir "queues";
132 };
133
134 Control-Overrides
135 {
136   Options
137   {
138     Component "main";
139     Suite "lenny-backports";
140     Type "deb";
141    };
142
143  ComponentPosition "prefix"; // Whether the component is prepended or appended to the section name
144 };
145
146 Rm
147 {
148   Options
149   {
150     Suite "lenny-backports";
151    };
152
153    LogFile "/srv/backports-web.debian.org/underlay/removals.txt";
154    LogFile822 "/srv/backports-web.debian.org/underlay/removals.822";
155 };
156
157 Import-Archive
158 {
159   ExportDir "/srv/backports-master.debian.org/dak/import-archive-files/";
160 };
161
162 Clean-Suites
163 {
164   // How long (in seconds) dead packages are left before being killed
165   StayOfExecution 1209600; // 14 days
166   AcceptedAutoBuildStayOfExecution 86400; // 24 hours
167   MorgueSubDir "pool";
168 };
169
170 Process-New
171 {
172   DinstallLockFile "/srv/backports-master.debian.org/lock/processnew.lock";
173   LockDir "/srv/backports-master.debian.org/lock/new/";
174 };
175
176 Suite
177 {
178   lenny-backports
179   {
180         Components
181         {
182           main;
183           contrib;
184           non-free;
185         };
186   };
187
188   lenny-backports-sloppy
189   {
190         Components
191         {
192           main;
193           contrib;
194           non-free;
195         };
196   };
197
198   squeeze-backports
199   {
200         Components
201         {
202           main;
203           contrib;
204           non-free;
205         };
206   };
207
208 };
209
210 Dir
211 {
212   Root "/srv/backports-master.debian.org/ftp/";
213   Pool "/srv/backports-master.debian.org/ftp/pool/";
214   Export "/srv/backports-master.debian.org/export/";
215   Templates "/srv/backports-master.debian.org/dak/templates/";
216   PoolRoot "pool/";
217   Lists "/srv/backports-master.debian.org/database/dists/";
218   Cache "/srv/backports-master.debian.org/database/";
219   Log "/srv/backports-master.debian.org/log/";
220   Lock "/srv/backports-master.debian.org/lock";
221   Morgue "/srv/backports-master.debian.org/morgue/";
222   Override "/srv/backports-master.debian.org/scripts/override/";
223   QueueBuild "/srv/backports-master.debian.org/buildd/";
224   UrgencyLog "/srv/backports-master.debian.org/testing/urgencies/";
225   TempPath "/srv/backports-master.debian.org/tmp";
226   Queue
227   {
228     Byhand "/srv/backports-master.debian.org/queue/byhand/";
229     Done "/srv/backports-master.debian.org/queue/done/";
230     Holding "/srv/backports-master.debian.org/queue/holding/";
231     New "/srv/backports-master.debian.org/queue/new/";
232     Reject "/srv/backports-master.debian.org/queue/reject/";
233     Unchecked "/srv/backports-master.debian.org/queue/unchecked/";
234     BTSVersionTrack "/srv/backports-master.debian.org/queue/bts_version_track/";
235     Newstage "/srv/backports-master.debian.org/queue/newstage/";
236     Embargoed "/srv/backports-master.debian.org/queue/Embargoed/";
237     Unembargoed "/srv/backports-master.debian.org/queue/Unembargoed/";
238     ProposedUpdates "/srv/backports-master.debian.org/queue/p-u-new/";
239     OldProposedUpdates "/srv/backports-master.debian.org/queue/Unembargoed/";
240   };
241 };
242
243 DB
244 {
245   Service "backports";
246   // PoolSize should be at least ThreadCount + 1
247   PoolSize 5;
248   // MaxOverflow shouldn't exceed postgresql.conf's max_connections - PoolSize
249   MaxOverflow 13;
250   // should be false for encoding == SQL_ASCII
251   Unicode "false"
252 };
253
254 SuiteMappings
255 {
256  "map lenny lenny-backports";
257  "map lenny-bpo lenny-backports";
258  "map lenny-bpo-sloppy lenny-backports-sloppy";
259  "map squeeze squeeze-backports";
260  "map squeeze-bpo squeeze-backports";
261 };
262
263 Architectures
264 {
265   source "Source";
266   all "Architecture Independent";
267   alpha "DEC Alpha";
268   amd64 "AMD x86_64 (AMD64)";
269   hurd-i386 "Intel ia32 running the HURD";
270   hppa "HP PA RISC";
271   arm "ARM";
272   armel "ARM EABI";
273   i386 "Intel ia32";
274   ia64 "Intel ia64";
275   m68k "Motorola Mc680x0";
276   mips "MIPS (Big Endian)";
277   mipsel "MIPS (Little Endian)";
278   powerpc "PowerPC";
279   s390 "IBM S/390";
280   sh "Hitatchi SuperH";
281   sparc "Sun SPARC/UltraSPARC";
282   kfreebsd-i386 "GNU/kFreeBSD i386";
283   kfreebsd-amd64 "GNU/kFreeBSD amd64";
284 };
285
286 Archive
287 {
288   backports
289   {
290     OriginServer "backports.debian.org";
291     PrimaryMirror "backports.debian.org";
292     Description "Master Archive for backports.debian.org archive";
293   };
294 };
295
296 Section
297 {
298   admin;
299   cli-mono;
300   comm;
301   database;
302   debian-installer;
303   debug;
304   devel;
305   doc;
306   editors;
307   embedded;
308   electronics;
309   fonts;
310   games;
311   gnome;
312   graphics;
313   gnu-r;
314   gnustep;
315   hamradio;
316   haskell;
317   httpd;
318   interpreters;
319   java;
320   kde;
321   kernel;
322   libdevel;
323   libs;
324   lisp;
325   localization;
326   mail;
327   math;
328   misc;
329   net;
330   news;
331   ocaml;
332   oldlibs;
333   otherosfs;
334   perl;
335   php;
336   python;
337   ruby;
338   science;
339   shells;
340   sound;
341   tex;
342   text;
343   utils;
344   web;
345   vcs;
346   video;
347   x11;
348   xfce;
349   zope;
350 };
351
352 Priority
353 {
354   required 1;
355   important 2;
356   standard 3;
357   optional 4;
358   extra 5;
359   source 0; // i.e. unused
360 };
361
362 Urgency
363 {
364   Default "low";
365   Valid
366   {
367     low;
368     medium;
369     high;
370     emergency;
371     critical;
372   };
373 };
374
375 Common
376 {
377   // The default number of threads for multithreading parts of dak:
378   ThreadCount 16;
379 }
380
381 Import-LDAP-Fingerprints
382 {
383   LDAPDn "ou=users,dc=debian,dc=org";
384   LDAPServer "db.debian.org";
385   ExtraKeyrings
386   {
387     "/srv/keyring.debian.org/keyrings/removed-keys.pgp";
388     "/srv/keyring.debian.org/keyrings/removed-keys.gpg";
389     "/srv/keyring.debian.org/keyrings/extra-keys.pgp";
390   };
391   KeyServer "wwwkeys.eu.pgp.net";
392 };
393
394 Changelogs
395 {
396   Export "/srv/backports-master.debian.org/export/changelogs";
397 }
398
399 Generate-Releases
400 {
401   MD5Sum
402   {
403     lenny-backports;
404     lenny-backports-sloppy;
405     squeeze-backports;
406   };
407   SHA1
408   {
409     lenny-backports;
410     lenny-backports-sloppy;
411     squeeze-backports;
412   };
413   SHA256
414   {
415     lenny-backports;
416     lenny-backports-sloppy;
417     squeeze-backports;
418   };
419 }