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