]> git.donarmstrong.com Git - debbugs.git/log
debbugs.git
6 years agosupport --dsn option in debbugs-loadsql
Don Armstrong [Tue, 27 Feb 2018 22:50:23 +0000 (14:50 -0800)]
support --dsn option in debbugs-loadsql

6 years agoallow debbugs-installsql to take a --dsn option
Don Armstrong [Tue, 27 Feb 2018 22:49:38 +0000 (14:49 -0800)]
allow debbugs-installsql to take a --dsn option

6 years agoremove useless $time and $start_time variables
Don Armstrong [Fri, 9 Feb 2018 00:52:02 +0000 (16:52 -0800)]
remove useless $time and $start_time variables

6 years agoadd bugs_and_logs command to debbugs-loadsql
Don Armstrong [Fri, 9 Feb 2018 00:51:46 +0000 (16:51 -0800)]
add bugs_and_logs command to debbugs-loadsql

6 years agoMerge remote-tracking branch 'local/master' into database
Don Armstrong [Sat, 12 Aug 2017 15:58:14 +0000 (08:58 -0700)]
Merge remote-tracking branch 'local/master' into database

6 years agoremove bug_url from the codebase
Don Armstrong [Fri, 11 Aug 2017 21:52:09 +0000 (14:52 -0700)]
remove bug_url from the codebase

6 years agopass uri_escape to templates in bugreport.cgi
Don Armstrong [Fri, 11 Aug 2017 21:17:34 +0000 (14:17 -0700)]
pass uri_escape to templates in bugreport.cgi

6 years agoremove vestiges of Safe from Debbugs::Test
Don Armstrong [Fri, 11 Aug 2017 21:17:12 +0000 (14:17 -0700)]
remove vestiges of Safe from Debbugs::Test

6 years agoset local variables in Bugreport.pm
Don Armstrong [Fri, 11 Aug 2017 20:48:32 +0000 (13:48 -0700)]
set local variables in Bugreport.pm

6 years agoignore supplied filenames in MIME to avoid taint issues
Don Armstrong [Fri, 11 Aug 2017 20:42:53 +0000 (13:42 -0700)]
ignore supplied filenames in MIME to avoid taint issues

6 years agodocument pass-through urls in the example apache configuration
Don Armstrong [Fri, 11 Aug 2017 18:48:28 +0000 (11:48 -0700)]
document pass-through urls in the example apache configuration

6 years agoUse PT|passthrough redirects also for all other rewrites
Didier Raboud [Thu, 10 Aug 2017 22:30:12 +0000 (18:30 -0400)]
Use PT|passthrough redirects also for all other rewrites

Signed-off-by: Don Armstrong <don@donarmstrong.com>
6 years agoUse PT|passthrough redirects for ^/([0-9]+)$ for bugreport.cgi & ^/([^/]+)$ for pkgre...
Didier Raboud [Thu, 10 Aug 2017 22:27:12 +0000 (18:27 -0400)]
Use PT|passthrough redirects for ^/([0-9]+)$ for bugreport.cgi & ^/([^/]+)$ for pkgreport.cgi

Signed-off-by: Don Armstrong <don@donarmstrong.com>
6 years agoadd libnet-server-perl to build-deps for local-debbugs
Don Armstrong [Fri, 11 Aug 2017 18:36:11 +0000 (11:36 -0700)]
add libnet-server-perl to build-deps for local-debbugs

6 years agoset indent level and tabs mode
Don Armstrong [Fri, 11 Aug 2017 17:01:24 +0000 (10:01 -0700)]
set indent level and tabs mode

6 years agobecause pkgreport.cgi uses taint, use perl -I to set libraries
Don Armstrong [Fri, 11 Aug 2017 17:01:05 +0000 (10:01 -0700)]
because pkgreport.cgi uses taint, use perl -I to set libraries

6 years agodocument the synopsis slightly better
Don Armstrong [Fri, 11 Aug 2017 16:23:29 +0000 (09:23 -0700)]
document the synopsis slightly better

6 years agoautomatically identify if local-debbugs is being run out of git
Don Armstrong [Fri, 11 Aug 2017 16:23:00 +0000 (09:23 -0700)]
automatically identify if local-debbugs is being run out of git

 - Configures templates, css, lib path, and everything "correctly"

6 years agoadd bugs listed in the config file to the mirrored bugs
Don Armstrong [Thu, 10 Aug 2017 19:46:20 +0000 (12:46 -0700)]
add bugs listed in the config file to the mirrored bugs

6 years agoadd .log.spam.d support too
Don Armstrong [Thu, 10 Aug 2017 19:44:40 +0000 (12:44 -0700)]
add .log.spam.d support too

6 years agothere's no reason to use locale; in proces or service
Don Armstrong [Thu, 10 Aug 2017 00:55:28 +0000 (17:55 -0700)]
there's no reason to use locale; in proces or service

6 years agouse return, not next inside of sub
Don Armstrong [Thu, 10 Aug 2017 00:51:07 +0000 (17:51 -0700)]
use return, not next inside of sub

6 years agoid is the column in bug which has the bug number, not id
Don Armstrong [Thu, 10 Aug 2017 00:50:26 +0000 (17:50 -0700)]
id is the column in bug which has the bug number, not id

6 years agoskip empty correspondents
Don Armstrong [Thu, 10 Aug 2017 00:41:20 +0000 (17:41 -0700)]
skip empty correspondents

6 years agouse scalar IO::InnerFile::getline to work around an InnerFile bug
Don Armstrong [Wed, 9 Aug 2017 21:33:39 +0000 (14:33 -0700)]
use scalar IO::InnerFile::getline to work around an InnerFile bug

6 years agoallow codename or suite to match in updatesqlcache
Don Armstrong [Wed, 9 Aug 2017 01:16:13 +0000 (18:16 -0700)]
allow codename or suite to match in updatesqlcache

6 years agoallow specifying suites for bug status cache
Don Armstrong [Wed, 9 Aug 2017 01:01:42 +0000 (18:01 -0700)]
allow specifying suites for bug status cache

6 years agofix db_search options to use [] and {} when appropriate
Don Armstrong [Wed, 9 Aug 2017 00:51:45 +0000 (17:51 -0700)]
fix db_search options to use [] and {} when appropriate

6 years agouse state for Params::Validate options
Don Armstrong [Wed, 9 Aug 2017 00:51:30 +0000 (17:51 -0700)]
use state for Params::Validate options

6 years agoskip undefined source versions
Don Armstrong [Tue, 8 Aug 2017 23:45:16 +0000 (16:45 -0700)]
skip undefined source versions

6 years agouse get_src_pkg_id when loading versions
Don Armstrong [Tue, 8 Aug 2017 23:41:19 +0000 (16:41 -0700)]
use get_src_pkg_id when loading versions

6 years agoif there is an offset which is too large, set the TZ to UTC
Don Armstrong [Tue, 8 Aug 2017 19:39:48 +0000 (12:39 -0700)]
if there is an offset which is too large, set the TZ to UTC

6 years agothe bug status is only absent, found, fixed, and undef
Don Armstrong [Tue, 8 Aug 2017 18:50:04 +0000 (11:50 -0700)]
the bug status is only absent, found, fixed, and undef

6 years agohead entities do not have colons in MIME::Head
Don Armstrong [Tue, 8 Aug 2017 18:49:42 +0000 (11:49 -0700)]
head entities do not have colons in MIME::Head

6 years agoskip undefined src versions
Don Armstrong [Tue, 8 Aug 2017 15:06:08 +0000 (08:06 -0700)]
skip undefined src versions

6 years agopurge cache every 100 files
Don Armstrong [Tue, 8 Aug 2017 15:05:59 +0000 (08:05 -0700)]
purge cache every 100 files

6 years agodo not use HRI in arch selection
Don Armstrong [Tue, 8 Aug 2017 15:05:36 +0000 (08:05 -0700)]
do not use HRI in arch selection

6 years agouse get_*_id in load_debinfo; handle -0 correctly there too
Don Armstrong [Tue, 8 Aug 2017 14:19:46 +0000 (07:19 -0700)]
use get_*_id in load_debinfo; handle -0 correctly there too

6 years agofix load_bug failing to strip src: from source packages
Don Armstrong [Mon, 7 Aug 2017 21:57:06 +0000 (14:57 -0700)]
fix load_bug failing to strip src: from source packages

6 years agofix syntax error in bug
Don Armstrong [Mon, 7 Aug 2017 21:27:04 +0000 (14:27 -0700)]
fix syntax error in bug

6 years agohashrefinflator uses subhashes, not .
Don Armstrong [Mon, 7 Aug 2017 21:23:45 +0000 (14:23 -0700)]
hashrefinflator uses subhashes, not .

6 years agoimport uniq from List::MoreUtils into updatesqlcache
Don Armstrong [Mon, 7 Aug 2017 21:11:05 +0000 (14:11 -0700)]
import uniq from List::MoreUtils into updatesqlcache

6 years agothe column for the bug id is bug, not id
Don Armstrong [Mon, 7 Aug 2017 21:09:25 +0000 (14:09 -0700)]
the column for the bug id is bug, not id

6 years agofix plural of {src,bin}packages? in updatesql
Don Armstrong [Mon, 7 Aug 2017 21:06:41 +0000 (14:06 -0700)]
fix plural of {src,bin}packages? in updatesql

6 years agobinver goes to bin_pkg
Don Armstrong [Mon, 7 Aug 2017 21:05:05 +0000 (14:05 -0700)]
binver goes to bin_pkg

6 years agofix the bin->bin_ver join in updatesqlcache
Don Armstrong [Mon, 7 Aug 2017 21:03:33 +0000 (14:03 -0700)]
fix the bin->bin_ver join in updatesqlcache

6 years agofix wrong plural in join relationships
Don Armstrong [Mon, 7 Aug 2017 20:56:49 +0000 (13:56 -0700)]
fix wrong plural in join relationships

6 years agoBinAssociation is not plural
Don Armstrong [Mon, 7 Aug 2017 20:48:31 +0000 (13:48 -0700)]
BinAssociation is not plural

6 years agodelete associations in a transaction by 1000
Don Armstrong [Mon, 7 Aug 2017 20:10:45 +0000 (13:10 -0700)]
delete associations in a transaction by 1000

6 years agoonly update the @bugs_to_update
Don Armstrong [Mon, 7 Aug 2017 17:27:30 +0000 (10:27 -0700)]
only update the @bugs_to_update

6 years agomtime should be <= to skip during --quick, not just <
Don Armstrong [Mon, 7 Aug 2017 17:24:48 +0000 (10:24 -0700)]
mtime should be <= to skip during --quick, not just <

6 years agomodify bug_status_type to match what bug_presence returns
Don Armstrong [Mon, 7 Aug 2017 16:59:42 +0000 (09:59 -0700)]
modify bug_status_type to match what bug_presence returns

6 years agofix POD failures in DB::Load
Don Armstrong [Mon, 7 Aug 2017 16:30:58 +0000 (09:30 -0700)]
fix POD failures in DB::Load

6 years agouse COALESCE indexes for bug_status_cache
Don Armstrong [Mon, 7 Aug 2017 16:30:13 +0000 (09:30 -0700)]
use COALESCE indexes for bug_status_cache

Add prepare_execute util to DB::Util

6 years agoopen_compressed_file is in Debbugs::Common
Don Armstrong [Sun, 6 Aug 2017 00:22:27 +0000 (17:22 -0700)]
open_compressed_file is in Debbugs::Common

6 years agouse postgres_version of 9 for deployment (fixes missing enums)
Don Armstrong [Sun, 6 Aug 2017 00:19:02 +0000 (17:19 -0700)]
use postgres_version of 9 for deployment (fixes missing enums)

6 years agoInclude references from the original bug in replies
Don Armstrong [Sat, 5 Aug 2017 20:39:00 +0000 (13:39 -0700)]
Include references from the original bug in replies

6 years agoMerge remote-tracking branch 'origin/master' into database
Don Armstrong [Sat, 5 Aug 2017 19:27:14 +0000 (12:27 -0700)]
Merge remote-tracking branch 'origin/master' into database

6 years agoinclude non-breaking spaces in pheader regex for old perl (≤5.18)
Don Armstrong [Sat, 5 Aug 2017 15:32:32 +0000 (08:32 -0700)]
include non-breaking spaces in pheader regex for old perl (≤5.18)

6 years agoadd libtext-iconv-perl to depends
Don Armstrong [Sat, 5 Aug 2017 15:32:02 +0000 (08:32 -0700)]
add libtext-iconv-perl to depends

6 years agofix allutils typo
Don Armstrong [Sat, 5 Aug 2017 15:31:53 +0000 (08:31 -0700)]
fix allutils typo

6 years agocomments in control should not have leading spaces
Don Armstrong [Sat, 5 Aug 2017 15:31:37 +0000 (08:31 -0700)]
comments in control should not have leading spaces

6 years agoswitch travis to using trusty
Don Armstrong [Sat, 5 Aug 2017 03:12:31 +0000 (20:12 -0700)]
switch travis to using trusty

6 years agoadd Debbugs::DebArchive to read Packages, Releases, and Sources
Don Armstrong [Fri, 4 Aug 2017 21:56:00 +0000 (14:56 -0700)]
add Debbugs::DebArchive to read Packages, Releases, and Sources

6 years agoadd open_compressed_file routine to Debbugs::Common
Don Armstrong [Fri, 4 Aug 2017 21:55:15 +0000 (14:55 -0700)]
add open_compressed_file routine to Debbugs::Common

6 years agostrip out Mail-Followup-To
Don Armstrong [Mon, 10 Jul 2017 00:49:46 +0000 (17:49 -0700)]
strip out Mail-Followup-To

6 years agoadd test for multipart mime headers
Don Armstrong [Sun, 9 Jul 2017 02:16:26 +0000 (19:16 -0700)]
add test for multipart mime headers

6 years agofix wrong s/// on package_pages
Don Armstrong [Sat, 8 Jul 2017 23:32:40 +0000 (16:32 -0700)]
fix wrong s/// on package_pages

6 years agofix modification of $config{package_pages} in map
Don Armstrong [Sat, 8 Jul 2017 23:23:20 +0000 (16:23 -0700)]
fix modification of $config{package_pages} in map

6 years agodocument that format flowed and other messages are forcibly wrapped
Don Armstrong [Thu, 6 Jul 2017 02:57:07 +0000 (19:57 -0700)]
document that format flowed and other messages are forcibly wrapped

6 years agoadd a link to the bug when thanking new bug submissions
Don Armstrong [Thu, 6 Jul 2017 02:56:54 +0000 (19:56 -0700)]
add a link to the bug when thanking new bug submissions

6 years agoFix merged sort order to always be numeric
Don Armstrong [Thu, 6 Jul 2017 02:04:24 +0000 (19:04 -0700)]
Fix merged sort order to always be numeric

6 years agoparse the status before outputting it
Don Armstrong [Thu, 6 Jul 2017 01:20:11 +0000 (18:20 -0700)]
parse the status before outputting it

6 years agowrite out config local files
Don Armstrong [Thu, 6 Jul 2017 01:20:02 +0000 (18:20 -0700)]
write out config local files

6 years agohandle --stop --exit or --quit
Don Armstrong [Thu, 6 Jul 2017 01:19:23 +0000 (18:19 -0700)]
handle --stop --exit or --quit

6 years agohandle pending being unset
Don Armstrong [Thu, 6 Jul 2017 01:19:04 +0000 (18:19 -0700)]
handle pending being unset

6 years agoset Reply-To and Content-Type in done and forward
Don Armstrong [Thu, 6 Jul 2017 01:18:45 +0000 (18:18 -0700)]
set Reply-To and Content-Type in done and forward

6 years agocroak in subroutines
Don Armstrong [Thu, 6 Jul 2017 01:18:26 +0000 (18:18 -0700)]
croak in subroutines

6 years agoskip maintainer files if they are empty *or* undef
Don Armstrong [Thu, 6 Jul 2017 01:17:02 +0000 (18:17 -0700)]
skip maintainer files if they are empty *or* undef

6 years agouse https for CVE tracker by default
Don Armstrong [Tue, 4 Jul 2017 16:48:20 +0000 (09:48 -0700)]
use https for CVE tracker by default

6 years agofix usertag_package_domain to strip protocol if its present
Don Armstrong [Tue, 4 Jul 2017 16:47:45 +0000 (09:47 -0700)]
fix usertag_package_domain to strip protocol if its present

6 years agofix the spam lockfile name
Don Armstrong [Tue, 4 Jul 2017 03:52:04 +0000 (20:52 -0700)]
fix the spam lockfile name

6 years agohandle SIGPIPE in spamc by skipping the message
Don Armstrong [Mon, 3 Jul 2017 23:25:29 +0000 (16:25 -0700)]
handle SIGPIPE in spamc by skipping the message

6 years agofix debbugs source location
Don Armstrong [Mon, 3 Jul 2017 15:41:14 +0000 (08:41 -0700)]
fix debbugs source location

6 years agoadd missing package_tracking_domain configuration variable
Don Armstrong [Mon, 3 Jul 2017 15:01:04 +0000 (08:01 -0700)]
add missing package_tracking_domain configuration variable

6 years ago21bugclosers does not need common.pl
Don Armstrong [Mon, 3 Jul 2017 00:23:54 +0000 (17:23 -0700)]
21bugclosers does not need common.pl

6 years agoUse List::AllUtils instead of List::Utils and List::MoreUtils
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.

6 years agoolder versions of List::Util (<1.26) do not have sum0; just use sum
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

6 years agohave the travis build script run the tests
Don Armstrong [Sun, 2 Jul 2017 18:52:36 +0000 (11:52 -0700)]
have the travis build script run the tests

6 years agofix failure to import locking funcs and don't save empty spamlogs
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

6 years agoremove useless return in record_regex
Don Armstrong [Sun, 2 Jul 2017 18:43:10 +0000 (11:43 -0700)]
remove useless return in record_regex

6 years agoadd debbugs-spamscan-log to run spamc on log files
Don Armstrong [Sun, 2 Jul 2017 18:42:48 +0000 (11:42 -0700)]
add debbugs-spamscan-log to run spamc on log files

6 years agoinclude links to anchors of html messages too
Don Armstrong [Sun, 2 Jul 2017 17:02:48 +0000 (10:02 -0700)]
include links to anchors of html messages too

6 years agoDebbugs::CGI needs to load usertags
Don Armstrong [Sun, 2 Jul 2017 15:17:44 +0000 (08:17 -0700)]
Debbugs::CGI needs to load usertags

6 years agoif there is not a msgid, it cannot be spam
Don Armstrong [Sat, 1 Jul 2017 23:46:08 +0000 (16:46 -0700)]
if there is not a msgid, it cannot be spam

6 years agoadd missing =back to Debbugs::Log::Spam
Don Armstrong [Sat, 1 Jul 2017 23:45:19 +0000 (16:45 -0700)]
add missing =back to Debbugs::Log::Spam

6 years agoforcibly wrap msgreceived
Don Armstrong [Sat, 1 Jul 2017 23:15:24 +0000 (16:15 -0700)]
forcibly wrap msgreceived

6 years agofix links to merged and blocked bugs
Don Armstrong [Sat, 1 Jul 2017 23:14:03 +0000 (16:14 -0700)]
fix links to merged and blocked bugs

6 years agoAdd new Debbugs::Log::Spam module and use it to skip log spam
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

6 years agoDebbugs::Log now handles compressed bug logs
Don Armstrong [Sat, 1 Jul 2017 17:44:17 +0000 (10:44 -0700)]
Debbugs::Log now handles compressed bug logs