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