]>
git.donarmstrong.com Git - debbugs.git/log
Don Armstrong [Mon, 10 Jul 2017 00:49:46 +0000 (17:49 -0700)]
strip out Mail-Followup-To
Don Armstrong [Sun, 9 Jul 2017 02:16:26 +0000 (19:16 -0700)]
add test for multipart mime headers
Don Armstrong [Sat, 8 Jul 2017 23:32:40 +0000 (16:32 -0700)]
fix wrong s/// on package_pages
Don Armstrong [Sat, 8 Jul 2017 23:23:20 +0000 (16:23 -0700)]
fix modification of $config{package_pages} in map
Don Armstrong [Thu, 6 Jul 2017 02:57:07 +0000 (19:57 -0700)]
document that format flowed and other messages are forcibly wrapped
Don Armstrong [Thu, 6 Jul 2017 02:56:54 +0000 (19:56 -0700)]
add a link to the bug when thanking new bug submissions
Don Armstrong [Thu, 6 Jul 2017 02:04:24 +0000 (19:04 -0700)]
Fix merged sort order to always be numeric
Don Armstrong [Thu, 6 Jul 2017 01:20:11 +0000 (18:20 -0700)]
parse the status before outputting it
Don Armstrong [Thu, 6 Jul 2017 01:20:02 +0000 (18:20 -0700)]
write out config local files
Don Armstrong [Thu, 6 Jul 2017 01:19:23 +0000 (18:19 -0700)]
handle --stop --exit or --quit
Don Armstrong [Thu, 6 Jul 2017 01:19:04 +0000 (18:19 -0700)]
handle pending being unset
Don Armstrong [Thu, 6 Jul 2017 01:18:45 +0000 (18:18 -0700)]
set Reply-To and Content-Type in done and forward
Don Armstrong [Thu, 6 Jul 2017 01:18:26 +0000 (18:18 -0700)]
croak in subroutines
Don Armstrong [Thu, 6 Jul 2017 01:17:02 +0000 (18:17 -0700)]
skip maintainer files if they are empty *or* undef
Don Armstrong [Tue, 4 Jul 2017 16:48:20 +0000 (09:48 -0700)]
use https for CVE tracker by default
Don Armstrong [Tue, 4 Jul 2017 16:47:45 +0000 (09:47 -0700)]
fix usertag_package_domain to strip protocol if its present
Don Armstrong [Tue, 4 Jul 2017 03:52:04 +0000 (20:52 -0700)]
fix the spam lockfile name
Don Armstrong [Mon, 3 Jul 2017 23:25:29 +0000 (16:25 -0700)]
handle SIGPIPE in spamc by skipping the message
Don Armstrong [Mon, 3 Jul 2017 15:41:14 +0000 (08:41 -0700)]
fix debbugs source location
Don Armstrong [Mon, 3 Jul 2017 15:01:04 +0000 (08:01 -0700)]
add missing package_tracking_domain configuration variable
Don Armstrong [Mon, 3 Jul 2017 00:23:54 +0000 (17:23 -0700)]
21bugclosers does not need common.pl
Don Armstrong [Sun, 2 Jul 2017 23:06:00 +0000 (16:06 -0700)]
Use List::AllUtils instead of List::Utils and List::MoreUtils
Because some commands have migrated from List::MoreUtils and List::Utils at
different times, we would have to run slightly different code in unstable,
stable, and oldstable. List::AllUtils wraps around this madness so we don't have
to think about it.
Don Armstrong [Sun, 2 Jul 2017 18:58:12 +0000 (11:58 -0700)]
older versions of List::Util (<1.26) do not have sum0; just use sum
Don Armstrong [Sun, 2 Jul 2017 18:52:36 +0000 (11:52 -0700)]
have the travis build script run the tests
Don Armstrong [Sun, 2 Jul 2017 18:43:24 +0000 (11:43 -0700)]
fix failure to import locking funcs and don't save empty spamlogs
Don Armstrong [Sun, 2 Jul 2017 18:43:10 +0000 (11:43 -0700)]
remove useless return in record_regex
Don Armstrong [Sun, 2 Jul 2017 18:42:48 +0000 (11:42 -0700)]
add debbugs-spamscan-log to run spamc on log files
Don Armstrong [Sun, 2 Jul 2017 17:02:48 +0000 (10:02 -0700)]
include links to anchors of html messages too
Don Armstrong [Sun, 2 Jul 2017 15:17:44 +0000 (08:17 -0700)]
Debbugs::CGI needs to load usertags
Don Armstrong [Sat, 1 Jul 2017 23:46:08 +0000 (16:46 -0700)]
if there is not a msgid, it cannot be spam
Don Armstrong [Sat, 1 Jul 2017 23:45:19 +0000 (16:45 -0700)]
add missing =back to Debbugs::Log::Spam
Don Armstrong [Sat, 1 Jul 2017 23:15:24 +0000 (16:15 -0700)]
forcibly wrap msgreceived
Don Armstrong [Sat, 1 Jul 2017 23:14:03 +0000 (16:14 -0700)]
fix links to merged and blocked bugs
Don Armstrong [Sat, 1 Jul 2017 17:45:22 +0000 (10:45 -0700)]
Add new Debbugs::Log::Spam module and use it to skip log spam
Don Armstrong [Sat, 1 Jul 2017 17:44:17 +0000 (10:44 -0700)]
Debbugs::Log now handles compressed bug logs
Don Armstrong [Sat, 1 Jul 2017 17:43:45 +0000 (10:43 -0700)]
set indent variables
Don Armstrong [Sat, 1 Jul 2017 17:43:36 +0000 (10:43 -0700)]
handle compressed logs in Debbugs::Log
Don Armstrong [Sat, 1 Jul 2017 17:43:23 +0000 (10:43 -0700)]
use feature state in Debbugs::Log for some small speed gain
Don Armstrong [Thu, 29 Jun 2017 19:29:51 +0000 (12:29 -0700)]
use UTF-8 encoding for 22oldbugs output
Don Armstrong [Wed, 28 Jun 2017 23:36:16 +0000 (16:36 -0700)]
try to forcibly wrap messages which have not been properly wrapped
Don Armstrong [Wed, 28 Jun 2017 23:31:18 +0000 (16:31 -0700)]
support the raw category again
Don Armstrong [Wed, 28 Jun 2017 23:31:07 +0000 (16:31 -0700)]
properly handle orderings in pkgreport.cgi
Don Armstrong [Sun, 25 Jun 2017 17:34:14 +0000 (10:34 -0700)]
convert to perl's internal utf8 in reply_headers
This fixes mojibake in the reply-to links
Don Armstrong [Sun, 25 Jun 2017 02:51:19 +0000 (19:51 -0700)]
add envelope_from option so a valid user can be set
Don Armstrong [Sun, 25 Jun 2017 02:32:42 +0000 (19:32 -0700)]
Provide a link to the current source code location for the BTS.
Don Armstrong [Sun, 25 Jun 2017 02:03:30 +0000 (19:03 -0700)]
support singular tag/usertag in psuedoheaders
Thanks to James Clarke for the suggested patch
Don Armstrong [Sat, 24 Jun 2017 23:03:51 +0000 (16:03 -0700)]
Reply Sent messages are not informational; they change state.
Don Armstrong [Sat, 24 Jun 2017 22:45:22 +0000 (15:45 -0700)]
pass terse to handle_record
Don Armstrong [Thu, 22 Jun 2017 02:16:12 +0000 (19:16 -0700)]
Include the protocol (http://) in gWebDomain and gCGIDomain
We now include the protocol so that we can easily specify all https links
instead of http links.
Don Armstrong [Thu, 22 Jun 2017 01:58:58 +0000 (18:58 -0700)]
add cc all mails to addr config
This address gets all messages; this probably won't get used, but I wrote the
code.
Don Armstrong [Fri, 9 Jun 2017 19:34:15 +0000 (12:34 -0700)]
pkgreport does not require common.pl; remove cd
Don Armstrong [Fri, 9 Jun 2017 19:34:02 +0000 (12:34 -0700)]
remove common.pl and old cgi code which is unused
Don Armstrong [Mon, 29 May 2017 14:33:47 +0000 (07:33 -0700)]
fix flie/file typo which broke usertags in bug reports
Don Armstrong [Sat, 29 Apr 2017 15:42:56 +0000 (08:42 -0700)]
Fix breakage caused by cdn.libravatar.org not setting Content-Type
- Actually test using libmagic and adjust type on that basis
Don Armstrong [Sun, 9 Apr 2017 23:26:04 +0000 (16:26 -0700)]
remove UTF8 warnings
Don Armstrong [Sun, 2 Apr 2017 21:42:29 +0000 (14:42 -0700)]
change fix to #858671 to split source with split_status_fields
Some consumers of get_bug_status via SOAP were not handling split packages
Don Armstrong [Sun, 2 Apr 2017 21:42:05 +0000 (14:42 -0700)]
remove two checks where dpkg now follows policy
foo- is not a legal version number
Don Armstrong [Fri, 31 Mar 2017 02:26:13 +0000 (19:26 -0700)]
prefix src: to all source packages
Don Armstrong [Fri, 31 Mar 2017 02:25:55 +0000 (19:25 -0700)]
Split source file properly
Thanks to James McCoy for the start of the patch
Don Armstrong [Fri, 27 Jan 2017 16:50:36 +0000 (08:50 -0800)]
include experimental in the default removal tags
Don Armstrong [Tue, 3 Jan 2017 18:16:22 +0000 (10:16 -0800)]
properly check close and closedir
- Thanks to Ian Jackson for noticing that we weren't properly checking
whether the decompression program properly exited by checking the
return value of close(). See
22635.45523.288493.760480@chiark.greenend.org.uk for discussion
Don Armstrong [Mon, 2 Jan 2017 18:27:31 +0000 (10:27 -0800)]
the versions database is rebuilt each time
- Because we allow more than one version, we need to rebuild the
versions database each time
Don Armstrong [Fri, 30 Dec 2016 00:19:55 +0000 (16:19 -0800)]
fix xzip/bzip2 regex
Don Armstrong [Fri, 30 Dec 2016 00:13:49 +0000 (16:13 -0800)]
support bzip2 (oldstable)
Don Armstrong [Thu, 29 Dec 2016 21:12:40 +0000 (13:12 -0800)]
build-versions-db now updates in-place
- remove all of the mv bits
Don Armstrong [Thu, 29 Dec 2016 21:10:33 +0000 (13:10 -0800)]
add update and --no-update options
+ Abstract out main routine
+ move versions time cleanup here
+ Hopefully this will avoid the issues of failures screwing up the
database
Don Armstrong [Thu, 29 Dec 2016 00:58:03 +0000 (16:58 -0800)]
IO::Uncompress is too slow; use open_compressed_file
Don Armstrong [Thu, 17 Nov 2016 01:15:05 +0000 (17:15 -0800)]
debbugs-web now breaks/replaces debbugs << 2.4.2
Don Armstrong [Thu, 17 Nov 2016 01:09:37 +0000 (17:09 -0800)]
use dh $@ and debehlper version 9
Don Armstrong [Thu, 17 Nov 2016 00:46:30 +0000 (16:46 -0800)]
Fix clone removing all other blocks instead of add
+ (Closes: #820044). Thanks to James Clarke.
Don Armstrong [Mon, 14 Nov 2016 15:46:05 +0000 (07:46 -0800)]
add back set -e in case of failure
Don Armstrong [Mon, 14 Nov 2016 15:45:19 +0000 (07:45 -0800)]
remove compprefix
Don Armstrong [Sun, 13 Nov 2016 00:07:09 +0000 (16:07 -0800)]
build-versions-db doesn't need hostname
Don Armstrong [Sat, 12 Nov 2016 22:55:38 +0000 (14:55 -0800)]
Handle Packages.xz etc.
Handle the removal of packages.gz while building the versions database
Don Armstrong [Sat, 24 Sep 2016 21:40:01 +0000 (14:40 -0700)]
send out the right charset on all requests
Don Armstrong [Wed, 7 Sep 2016 19:02:50 +0000 (12:02 -0700)]
document fix of #584922 by Niels
Niels Thykier [Sat, 6 Aug 2016 10:14:55 +0000 (10:14 +0000)]
D/Config: Add missing </P> in default html_tail
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Fri, 5 Aug 2016 20:12:42 +0000 (20:12 +0000)]
Drop more unused variables
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Fri, 5 Aug 2016 18:10:01 +0000 (18:10 +0000)]
Libravatar: Add caching of "negative" libravatar results
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Sun, 21 Aug 2016 09:46:32 +0000 (09:46 +0000)]
Set LC_ALL to an UTF-8 locale before running tests
To avoid noisy warnings from some tests that implicitly expect to be
run under an UTF-8 locale.
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Sun, 21 Aug 2016 10:24:20 +0000 (10:24 +0000)]
quitcgi: Return 400/500 status codes
Signed-off-by: Niels Thykier <niels@thykier.net>
Don Armstrong [Tue, 6 Sep 2016 17:20:45 +0000 (10:20 -0700)]
add notification settings to travis.yml
Don Armstrong [Mon, 5 Sep 2016 16:11:13 +0000 (09:11 -0700)]
Fix (and test) setting summary/outlook in Control: messages (Closes: #836613).
Don Armstrong [Mon, 5 Sep 2016 16:09:16 +0000 (09:09 -0700)]
create_config now calls BAIL_OUT on its own
Don Armstrong [Mon, 5 Sep 2016 16:05:38 +0000 (09:05 -0700)]
abstract out create config in tests
Don Armstrong [Sat, 3 Sep 2016 13:38:13 +0000 (06:38 -0700)]
make already runs test rules
Don Armstrong [Sat, 3 Sep 2016 13:22:48 +0000 (06:22 -0700)]
depend on libmagic, gravatar-url and www-perl
Don Armstrong [Sat, 3 Sep 2016 13:14:53 +0000 (06:14 -0700)]
try a different approach to using system perl
Don Armstrong [Sat, 3 Sep 2016 13:01:59 +0000 (06:01 -0700)]
system is in quotes
Don Armstrong [Sat, 3 Sep 2016 12:55:08 +0000 (05:55 -0700)]
only use the system perl install
Don Armstrong [Fri, 2 Sep 2016 21:46:45 +0000 (14:46 -0700)]
add PREREQ_PM for makefile
Don Armstrong [Fri, 2 Sep 2016 17:54:36 +0000 (12:54 -0500)]
add travis.yml
Don Armstrong [Mon, 29 Aug 2016 09:07:22 +0000 (02:07 -0700)]
stop double printing in run_rsync
Don Armstrong [Wed, 10 Aug 2016 20:33:55 +0000 (13:33 -0700)]
update testcover rule
Don Armstrong [Wed, 10 Aug 2016 19:40:59 +0000 (12:40 -0700)]
remove double colon in Debbugs::CGI
Don Armstrong [Wed, 10 Aug 2016 19:37:47 +0000 (12:37 -0700)]
Use ETags; return timestamp not is_valid
- Add test for libravatar.cgi
- retrieve_libravatar and cache_location now return a timestamp, not
is_valid which can then be used to calculate the Etag
- Use HTTP::Server::Simple::CGI::Environment
Niels Thykier [Fri, 5 Aug 2016 16:22:09 +0000 (16:22 +0000)]
Drop unused my $vars
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Wed, 3 Aug 2016 20:51:20 +0000 (20:51 +0000)]
Libravatar: Refactor cache handling to avoid unncessary stat
The basic pattern of the code we are dealing with is:
my $path = cache_location(...);
if (valid_cache($path)) {
...;
}
With cache_location possibly doing a stat() of $path and valid_cache
doing at least one stat() as well. Rewrite it so that cache_location
always stats and checks the cache (since we always need it). This way
we can now guarantee this flow requires at *most* 3 stats rather than
5.
The replacement for the above code becomes:
my ($path, $is_valid) = cache_location(...);
if ($is_valid) {
...;
}
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Wed, 3 Aug 2016 21:28:59 +0000 (21:28 +0000)]
libravatar.cgi: Drop unused import/module loads
Signed-off-by: Niels Thykier <niels@thykier.net>
Niels Thykier [Wed, 3 Aug 2016 21:12:13 +0000 (21:12 +0000)]
Libravatar: Lazy-load LWP::UserAgent
LWP::UserAgent costs about 0.05s to load, but we only need it when the
image is not already cached locally. Given we cache results for an
hour, it is fairly likely to be cached on subsequent requests.
Signed-off-by: Niels Thykier <niels@thykier.net>