]> git.decadent.org.uk Git - dak.git/blob - config/backports/dak.conf
82af9cadace0cda0d295919de53dda997abb3795
[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
143 Rm
144 {
145   Options
146   {
147     Suite "lenny-backports";
148    };
149
150    LogFile "/srv/backports-web.debian.org/underlay/removals.txt";
151    LogFile822 "/srv/backports-web.debian.org/underlay/removals.822";
152 };
153
154 Import-Archive
155 {
156   ExportDir "/srv/backports-master.debian.org/dak/import-archive-files/";
157 };
158
159 Clean-Suites
160 {
161   // How long (in seconds) dead packages are left before being killed
162   StayOfExecution 1209600; // 14 days
163   AcceptedAutoBuildStayOfExecution 86400; // 24 hours
164   MorgueSubDir "pool";
165 };
166
167 Process-New
168 {
169   DinstallLockFile "/srv/backports-master.debian.org/lock/processnew.lock";
170   LockDir "/srv/backports-master.debian.org/lock/new/";
171 };
172
173 Suite
174 {
175   lenny-backports
176   {
177         Components
178         {
179           main;
180           contrib;
181           non-free;
182         };
183   };
184
185   lenny-backports-sloppy
186   {
187         Components
188         {
189           main;
190           contrib;
191           non-free;
192         };
193   };
194
195   squeeze-backports
196   {
197         Components
198         {
199           main;
200           contrib;
201           non-free;
202         };
203   };
204
205 };
206
207 Dir
208 {
209   Root "/srv/backports-master.debian.org/ftp/";
210   Pool "/srv/backports-master.debian.org/ftp/pool/";
211   Export "/srv/backports-master.debian.org/export/";
212   Templates "/srv/backports-master.debian.org/dak/templates/";
213   PoolRoot "pool/";
214   Lists "/srv/backports-master.debian.org/database/dists/";
215   Cache "/srv/backports-master.debian.org/database/";
216   Log "/srv/backports-master.debian.org/log/";
217   Lock "/srv/backports-master.debian.org/lock";
218   Morgue "/srv/backports-master.debian.org/morgue/";
219   Override "/srv/backports-master.debian.org/scripts/override/";
220   QueueBuild "/srv/backports-master.debian.org/buildd/";
221   UrgencyLog "/srv/backports-master.debian.org/testing/urgencies/";
222   TempPath "/srv/backports-master.debian.org/tmp";
223   Queue
224   {
225     Byhand "/srv/backports-master.debian.org/queue/byhand/";
226     Done "/srv/backports-master.debian.org/queue/done/";
227     Holding "/srv/backports-master.debian.org/queue/holding/";
228     New "/srv/backports-master.debian.org/queue/new/";
229     Reject "/srv/backports-master.debian.org/queue/reject/";
230     Unchecked "/srv/backports-master.debian.org/queue/unchecked/";
231     BTSVersionTrack "/srv/backports-master.debian.org/queue/bts_version_track/";
232     Newstage "/srv/backports-master.debian.org/queue/newstage/";
233     Embargoed "/srv/backports-master.debian.org/queue/Embargoed/";
234     Unembargoed "/srv/backports-master.debian.org/queue/Unembargoed/";
235     ProposedUpdates "/srv/backports-master.debian.org/queue/p-u-new/";
236     OldProposedUpdates "/srv/backports-master.debian.org/queue/Unembargoed/";
237   };
238 };
239
240 DB
241 {
242   Service "backports";
243   // PoolSize should be at least ThreadCount + 1
244   PoolSize 5;
245   // MaxOverflow shouldn't exceed postgresql.conf's max_connections - PoolSize
246   MaxOverflow 13;
247   // should be false for encoding == SQL_ASCII
248   Unicode "false"
249 };
250
251 SuiteMappings
252 {
253  "map lenny lenny-backports";
254  "map lenny-bpo lenny-backports";
255  "map lenny-bpo-sloppy lenny-backports-sloppy";
256  "map squeeze squeeze-backports";
257  "map squeeze-bpo squeeze-backports";
258 };
259
260 Architectures
261 {
262   source "Source";
263   all "Architecture Independent";
264   alpha "DEC Alpha";
265   amd64 "AMD x86_64 (AMD64)";
266   hurd-i386 "Intel ia32 running the HURD";
267   hppa "HP PA RISC";
268   arm "ARM";
269   armel "ARM EABI";
270   i386 "Intel ia32";
271   ia64 "Intel ia64";
272   m68k "Motorola Mc680x0";
273   mips "MIPS (Big Endian)";
274   mipsel "MIPS (Little Endian)";
275   powerpc "PowerPC";
276   s390 "IBM S/390";
277   sh "Hitatchi SuperH";
278   sparc "Sun SPARC/UltraSPARC";
279   kfreebsd-i386 "GNU/kFreeBSD i386";
280   kfreebsd-amd64 "GNU/kFreeBSD amd64";
281 };
282
283 Archive
284 {
285   backports
286   {
287     OriginServer "backports.debian.org";
288     PrimaryMirror "backports.debian.org";
289     Description "Master Archive for backports.debian.org archive";
290   };
291 };
292
293 Section
294 {
295   admin;
296   cli-mono;
297   comm;
298   database;
299   debian-installer;
300   debug;
301   devel;
302   doc;
303   editors;
304   embedded;
305   electronics;
306   fonts;
307   games;
308   gnome;
309   graphics;
310   gnu-r;
311   gnustep;
312   hamradio;
313   haskell;
314   httpd;
315   interpreters;
316   java;
317   kde;
318   kernel;
319   libdevel;
320   libs;
321   lisp;
322   localization;
323   mail;
324   math;
325   misc;
326   net;
327   news;
328   ocaml;
329   oldlibs;
330   otherosfs;
331   perl;
332   php;
333   python;
334   ruby;
335   science;
336   shells;
337   sound;
338   tex;
339   text;
340   utils;
341   web;
342   vcs;
343   video;
344   x11;
345   xfce;
346   zope;
347 };
348
349 Priority
350 {
351   required 1;
352   important 2;
353   standard 3;
354   optional 4;
355   extra 5;
356   source 0; // i.e. unused
357 };
358
359 Urgency
360 {
361   Default "low";
362   Valid
363   {
364     low;
365     medium;
366     high;
367     emergency;
368     critical;
369   };
370 };
371
372 Common
373 {
374   // The default number of threads for multithreading parts of dak:
375   ThreadCount 16;
376 }
377
378 Import-LDAP-Fingerprints
379 {
380   LDAPDn "ou=users,dc=debian,dc=org";
381   LDAPServer "db.debian.org";
382   ExtraKeyrings
383   {
384     "/srv/keyring.debian.org/keyrings/removed-keys.pgp";
385     "/srv/keyring.debian.org/keyrings/removed-keys.gpg";
386     "/srv/keyring.debian.org/keyrings/extra-keys.pgp";
387   };
388   KeyServer "wwwkeys.eu.pgp.net";
389 };
390
391 Changelogs
392 {
393   Export "/srv/backports-master.debian.org/export/changelogs";
394 }
395
396 Generate-Releases
397 {
398   MD5Sum
399   {
400     lenny-backports;
401     lenny-backports-sloppy;
402     squeeze-backports;
403   };
404   SHA1
405   {
406     lenny-backports;
407     lenny-backports-sloppy;
408     squeeze-backports;
409   };
410   SHA256
411   {
412     lenny-backports;
413     lenny-backports-sloppy;
414     squeeze-backports;
415   };
416 }