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