1 2008-05-10 Stephen Gran <sgran@debian.org>
2 * debianqueued: First pass at a send_mail implementation that
3 sucks less. This also gives us X-Debian-Package
5 2008-05-08 Joerg Jaspert <joerg@debian.org>
7 * debianqueued: added header X-Debian: DAK
9 -- Version 0.9 released
11 1999-07-07 Linux FTP-Administrator <ftplinux@ftp.rrze.uni-erlangen.de>
13 * debianqueued: Implemented new upload methods "copy" and "ftp" as
14 alternatives to "ssh". "copy" simply copies files to another
15 directory on the queue host, "ftp" uses FTP to upload files. Both
16 of course need no ssh-agent.
18 $upload_method, $ftptimeout, $ftpdebug, $ls, $cp, $chmod,
21 $masterlogin -> $targetlogin
22 $masterdir -> $targetdir
23 $chmod_on_master -> $chmod_on_target
25 Note that the FTP method has some limitations: If no SITE MD5SUM
26 command is supported by the server, uploaded files can be verified
27 by their size only. And if removing of files in the target dir
28 isn't allowed, upload errors can't be handled gracefully.
30 * debianqueued: .changes files can now also be signed by GnuPG.
32 * dqueued-watcher: Also updates debian-keyring.gpg.
34 Tue Dec 8 14:09:44 1998 Linux FTP-Administrator <ftplinux@ftp.rrze.uni-erlangen.de>
36 * debianqueued (process_changes): After an upload, do not remove
37 files with the same name stem if a .changes file is among them.
38 Then there is probably a second upload for a different
41 -- Version 0.8 released
43 Thu May 14 16:17:48 1998 Linux FTP-Administrator <ftplinux@ftp.rrze.uni-erlangen.de>
45 * debianqueued (process_changes): When --after a successfull
46 upload-- deleting files that seem to belong to the same job, check
47 for equal revision number on files that have one. It has happened
48 that the daemon deleted files that belonged to another job with
49 different revision, which shouldn't happen. The current algorithm
50 is more conservative, i.e. it tends not to delete such files. They
51 will be removed as stray files anyway after some time.
53 Tue Apr 21 10:29:01 1998 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
55 * debianqueued (check_incoming_writable): Also recognize
56 "read-only filesystem" as an error message that makes the daemon
57 think the incoming is unwritable.
59 * debianqueued (check_dir): Break from the .changes loop if
60 $incoming_writable has become cleared.
62 * debianqueued (process_changes): Don't increment failure count if
63 upload failed due to incoming dir being unwritable.
65 * debianqueued (check_dir): Don't use return value of
66 debian_file_stem as regexp, it's a shell pattern.
68 Tue Mar 31 11:06:11 1998 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
70 * debianqueued (process_changes, process_commands): Check for
71 improper mail addresses from Maintainer: fields and try to handle
72 them by looking up the string in the Debian keyring. New funtion
73 try_to_get_mail_addr for the latter.
75 * debianqueued (fatal_signal): Kill status daemon only if it has
78 * debianqueued (copy_to_master): Change mode of files uploaded to
79 master explicitly to 644. scp uses the permission from the
80 original files, and those could be restricted due to local upload
83 Mon Mar 30 13:24:51 1998 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
85 * dqueued-watcher (main): If called with arguments, only make
86 summaries for the log files given. With this, you can view the
87 summaries also between normal watcher runs.
89 * dqueued-watcher (make_summary): New arg $to_stdout, to print
90 report directly to stdout instead of sending via mail.
92 Tue Mar 24 14:18:18 1998 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
94 * debianqueued (check_incoming_writable): New function that checks
95 if the incoming dir on master is writable (it isn't during a
96 freeze is done). The check is triggered if an upload fails due to
97 "permission denied" errors. Until the incoming is writable again,
98 the queue is holded and no uploads are tried (so that the max.
99 number of tries isn't exceeded.)
101 -- Version 0.7 released
103 Mon Mar 23 13:23:20 1998 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
105 * debianqueued (process_changes): In an upload failure message,
106 say explicitly that the job will be retried, to avoid confusion of
109 * debianqueued (process_changes): $failure_file was put on
110 @keep_list only for first retry.
112 * debianqueued (process_changes): If the daemon removes a
113 .changes, set SGID bit on all files associated with it, so that
114 the test for Debian files without a .changes doesn't find them.
116 * debianqueued (check_dir): Don't send reports for files without a
117 .changes if the files look like a recompilation for another
118 architecture. Then the maintainer extracted from the files isn't
119 the uploader. A job is treated like that if it doesn't include a
120 .dsc file and no *_{i386,all}.deb files.
122 * debianqueued (check_dir): Also don't send such a report if the
123 list of files with the same stem contains a .changes. This can be
124 the case if an upload failed and the .changes is still around, and
125 there's some file with the same name stem but which isn't in the
126 .changes (e.g. .orig.tar.gz).
128 * debianqueued (process_changes): Set @keep_list earlier, before
129 PGP and non-US checks.
131 * debianqueued (main): Fix recognition of -k argument.
133 Tue Feb 17 11:54:33 1998 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
135 * debianqueued (check_dir): Added test for binaries that could
136 reside on slow NFS filesystems. It is specially annoying if pgp
137 isn't found, because then the .changes is deleted. If one of the
138 files listed in @conf::test_binaries isn't present immediately
139 before a queue run, that one is delayed.
141 -- Version 0.6 released
143 Tue Dec 9 14:53:23 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
145 * debianqueued (process_changes): Reject jobs whose package name
146 is in @nonus_packages (new config var). These must be uploaded to
147 nonus.debian.org instead of master itself.
149 Tue Nov 25 11:02:38 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
151 * debianqueued (main): Implemented -k and -r arguments (kill or
152 restart daemon, resp.)
154 * debianqueued (is_debian_file): Exclude orig.tar.gz files from
155 that class, so that the maintainer address isn't searched in them
156 if they happen to come first in the dir.
158 * debianqueued (END): Fix kill call (pid and signo were swapped)
160 * debianqueued (process_changes): Moved check if job is already on
161 master to a later stage, to avoid connecting to master as long as
162 there are still errors with the job (missing files or the like).
164 * debianqueued (check_alive): Lookup master's IP address before
165 every ping, it could change while the daemon is running...
167 -- Version 0.5 released
169 Mon Nov 11 14:37:52 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
171 * debianqueued (process_commands): rm command now can process more
172 than one argument and knows about wildcards
174 Mon Nov 6 15:09:53 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
176 * debianqueued (process_commands): Recognize commands on the same
177 line as the Commands: keyword, not only on continuation lines.
179 Mon Nov 3 16:49:57 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
181 * debianqueued (close_log): After reopening the log file, write
182 one message it. This avoids that dqueued-watcher's rotating
183 algorithm delays from several minutes to a few hours on every
184 rotate, since it looks at the time of the first entry.
186 Thu Oct 30 13:56:35 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
188 * dqueued-watcher (make_summary): Added some new summary counters
191 * debianqueued (process_changes): Added check for files that seem
192 to belong to an upload (match debian_file_stem($changes)), but
193 aren't listed in the .changes. Most probably these are unneeded
194 .orig.tar.gz files. They are deleted.
196 * debianqueued (print_status): Print revision and version number
197 of debianqueued in status file.
199 * debianqueued (process_commands): New function, for processing
200 the new feature of .command files. These enable uploaders to
201 correct mistakes in the queue dir (corrupted/misnamed files)
203 Wed Oct 29 15:35:03 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
205 *debianqueued (check_dir): Extra check for files that look like an
206 upload, but miss a .changes file. A problem report is sent to the
207 probable uploader after $no_changes_timeout seconds (new config
208 var). The maintainer email can be extracted from .dsc, .deb,
209 .diff.gz and .tar.gz files (though the maintainer needs not
210 necessarily be the uploader...) New utility functions
211 is_debian_file, get_maintainer, debian_file_stem.
213 * debianqueued (pgp_check, get_maintainer): Quote filenames used
214 on sh command lines, so metacharacters in the names can't do bad
215 things. (Though wu-ftpd generally shouldn't allow uploading files
218 * debianqueued (print_time): Print times always as
219 hour:minute:second, i.e. don't omit the hour if it's 0. This could
220 confuse users, because they don't know if the hour or the seconds
223 -- Version 0.4 released
225 Thu Sep 25 13:18:57 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
227 * debianqueued (process_changes): Forgot to remove a bad .changes
228 file in some cases (no mail address, not PGP signed at all, no
229 files mentioned). Also initialize some variables to avoid Perl
232 Wed Sep 17 14:15:21 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
234 * dqueued-watcher (make_summary): Add feature of writing summaries
235 also to a file. Config var do_summary renamed to mail_summary,
236 additional var summary_file.
238 Mon Sep 15 11:56:59 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
240 * dqueued-watcher: Log several activities of the watcher to the log
241 file; new function logger() for this.
243 * debianqueued (process_changes, check_alive): Make some things more
244 verbose in non-debug mode.
246 Mon Aug 18 13:25:04 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
248 * dqueued-watcher (rotate_log): Using the log file's ctime for
249 calculating its age was a rather bad idea -- starting the daemon
250 updates that time stamp. Now the first date found in the log file
251 is used as basis for age calculation.
253 * dqeued-watcher (make_summary): New function to build a summary
254 of daemon actions when rotating logs. Controlled by config
255 variable $do_summary.
257 Tue Aug 12 13:26:52 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
259 * Makefile: new files with targets for automating various
262 -- Version 0.3 released
264 Mon Aug 11 10:48:31 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
266 * debianqueued (is_on_master, copy_to_master): Oops, forget
267 alarm(0)'s to turn off timeouts again.
269 * debianqueued: Revised the startup scheme so that it also works
270 with the socket-based ssh-agent. That agent periodically checks
271 whether the process it started is still alive and otherwise exits.
272 For that, the go-into-background fork must be done before
273 ssh-agent is started.
275 * debianqueued: Implemented close_log and SIGHUP handling for
278 * dqueued-watcher: Implemented log file rotating.
280 Thu Aug 07 11:25:22 1997 Linux FTP-Administrator <ftplinux@arachnia.rrze.uni-erlangen.de>
282 * debianqueued (is_on_master, copy_to_master): added timeouts to
283 all ssh/scp operations, because I've seen one once hanging...
286 -- Version 0.2 released
288 $Id: ChangeLog,v 1.36 1999/07/08 09:43:24 ftplinux Exp $