]> git.donarmstrong.com Git - debbugs.git/log
debbugs.git
11 years agodecode_rfc1522 returns strings in perl's internal encoding
Don Armstrong [Thu, 14 Mar 2013 16:12:22 +0000 (09:12 -0700)]
decode_rfc1522 returns strings in perl's internal encoding

11 years agothe fake control mesage must have its headers escaped
Don Armstrong [Thu, 14 Mar 2013 16:11:47 +0000 (09:11 -0700)]
the fake control mesage must have its headers escaped

11 years agoMerge branch 'master' into don/fix_encoding
Don Armstrong [Thu, 14 Mar 2013 15:34:09 +0000 (08:34 -0700)]
Merge branch 'master' into don/fix_encoding

11 years agoMerge branch 'master' into don/fix_encoding
Don Armstrong [Thu, 14 Mar 2013 15:33:30 +0000 (08:33 -0700)]
Merge branch 'master' into don/fix_encoding

11 years agoreturn perl-internal encoding even if MIME::Parser fails don/processcleanup
Don Armstrong [Tue, 12 Mar 2013 21:55:24 +0000 (14:55 -0700)]
return perl-internal encoding even if MIME::Parser fails

11 years agofix item typo
Don Armstrong [Tue, 12 Mar 2013 21:21:29 +0000 (14:21 -0700)]
fix item typo

11 years agoproperly test pod files
Don Armstrong [Tue, 12 Mar 2013 21:21:16 +0000 (14:21 -0700)]
properly test pod files

11 years agoadd test rule to run individual tests more easily
Don Armstrong [Tue, 12 Mar 2013 21:21:03 +0000 (14:21 -0700)]
add test rule to run individual tests more easily

11 years agoconvert_to_utf8 now returns perl's internal encoding
Don Armstrong [Tue, 12 Mar 2013 21:16:34 +0000 (14:16 -0700)]
convert_to_utf8 now returns perl's internal encoding
add decode_utf8_safely
fix return of encode_utf8_safely

11 years agoswitch away from using MIME::WordDecoder and do the encoding ourselves using decode_m...
Don Armstrong [Tue, 12 Mar 2013 21:15:42 +0000 (14:15 -0700)]
switch away from using MIME::WordDecoder and do the encoding ourselves using decode_mimewords

11 years agoeverything should be in perl's internal encoding
Don Armstrong [Tue, 12 Mar 2013 21:13:12 +0000 (14:13 -0700)]
everything should be in perl's internal encoding

11 years agoencode_utf8_structure is in Debbugs::UTF8 now
Don Armstrong [Tue, 12 Mar 2013 21:12:42 +0000 (14:12 -0700)]
encode_utf8_structure is in Debbugs::UTF8 now

11 years agodecode_rfc1522 returns perl internal encoding instead of octets
Don Armstrong [Tue, 12 Mar 2013 21:11:23 +0000 (14:11 -0700)]
decode_rfc1522 returns perl internal encoding instead of octets

11 years agouse debbugs::utf8
Don Armstrong [Tue, 12 Mar 2013 20:50:18 +0000 (13:50 -0700)]
use debbugs::utf8

11 years agodecode_utf8 the html record before calling decode_rfc1522; use Debbugs::UTF8
Don Armstrong [Tue, 12 Mar 2013 20:48:11 +0000 (13:48 -0700)]
decode_utf8 the html record before calling decode_rfc1522; use Debbugs::UTF8

11 years agoswitch STDOUT to raw first, then use encoding(UTF-8)
Don Armstrong [Tue, 12 Mar 2013 20:47:32 +0000 (13:47 -0700)]
switch STDOUT to raw first, then use encoding(UTF-8)

11 years agoswitch to encoding(UTF-8) from utf8
Don Armstrong [Tue, 12 Mar 2013 20:46:51 +0000 (13:46 -0700)]
switch to encoding(UTF-8) from utf8

11 years agouse encode_utf8_safely in Debbugs::MIME
Don Armstrong [Fri, 8 Mar 2013 01:09:42 +0000 (17:09 -0800)]
use encode_utf8_safely in Debbugs::MIME

11 years agomove UTF8 routines out of Debbugs::Common and into Debbugs::UTF8 so Debbugs::Config...
Don Armstrong [Fri, 1 Mar 2013 05:56:28 +0000 (21:56 -0800)]
move UTF8 routines out of Debbugs::Common and into Debbugs::UTF8 so Debbugs::Config isn't loaded early

11 years agodecode_rfc1522 now returns utf8 octets
Don Armstrong [Thu, 28 Feb 2013 17:17:12 +0000 (09:17 -0800)]
decode_rfc1522 now returns utf8 octets

11 years agouse encode_utf8_safely instead of just encode_utf8
Don Armstrong [Thu, 28 Feb 2013 17:16:32 +0000 (09:16 -0800)]
use encode_utf8_safely instead of just encode_utf8

11 years agoWe now return UTF8 octets from parse instead of whatever the message encoding was
Don Armstrong [Thu, 28 Feb 2013 17:16:02 +0000 (09:16 -0800)]
We now return UTF8 octets from parse instead of whatever the message encoding was
convert_to_utf8 is now in Debbugs::Common
handle message bodies and headers being in perl's internal encoding

11 years agoMake convert_to_utf8 use Text::Iconv and fallback to Encode; move convert_to_utf8...
Don Armstrong [Thu, 28 Feb 2013 17:12:52 +0000 (09:12 -0800)]
Make convert_to_utf8 use Text::Iconv and fallback to Encode; move convert_to_utf8 to Debbugs::Common.pm

11 years agoadd encode_utf8_safely function
Don Armstrong [Thu, 28 Feb 2013 16:45:31 +0000 (08:45 -0800)]
add encode_utf8_safely function

11 years agoWe should only delete a version in found if it's not already a fully qualified source...
Don Armstrong [Wed, 27 Feb 2013 20:09:38 +0000 (12:09 -0800)]
We should only delete a version in found if it's not already a fully qualified source version.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=20;bug=701350 for the failure.

11 years agoimport encode_utf8
Don Armstrong [Thu, 7 Feb 2013 16:44:53 +0000 (08:44 -0800)]
import encode_utf8

11 years ago- carp if the a log text record is in perl's internal encoding instead of octets
Don Armstrong [Thu, 7 Feb 2013 16:37:20 +0000 (08:37 -0800)]
- carp if the a log text record is in perl's internal encoding instead of octets
- attempt to encode the text to fix the problem after complaining

11 years agoadd templating for pkgindex.cgi
Don Armstrong [Thu, 6 Dec 2012 20:13:28 +0000 (12:13 -0800)]
add templating for pkgindex.cgi

11 years agofix another htmlize_maintlinks
Don Armstrong [Wed, 5 Dec 2012 01:55:20 +0000 (17:55 -0800)]
fix another htmlize_maintlinks

11 years agohandle non-existant Message-Id: properly
Don Armstrong [Tue, 4 Dec 2012 00:52:06 +0000 (16:52 -0800)]
handle non-existant Message-Id: properly

11 years agohandle the maintainer being undef properly
Don Armstrong [Tue, 4 Dec 2012 00:50:18 +0000 (16:50 -0800)]
handle the maintainer being undef properly

11 years agocall package_links instead of maintainer_links
Don Armstrong [Tue, 4 Dec 2012 00:23:53 +0000 (16:23 -0800)]
call package_links instead of maintainer_links

11 years agoFix set_found bug which cleared partially matching versions; thanks to Andreas Beckma...
Don Armstrong [Tue, 4 Dec 2012 00:18:42 +0000 (16:18 -0800)]
Fix set_found bug which cleared partially matching versions; thanks to Andreas Beckmann for noticing this.

12 years agoabstract out bug number regex; fix clone regex to allow negative bugs
Don Armstrong [Thu, 15 Nov 2012 08:21:08 +0000 (00:21 -0800)]
abstract out bug number regex; fix clone regex to allow negative bugs

12 years agooutput errors to the transcript if we are parsing control operations
Don Armstrong [Thu, 15 Nov 2012 08:11:19 +0000 (00:11 -0800)]
output errors to the transcript if we are parsing control operations

12 years agodocument the fix of #670456 origin/spacefun origin/spacefun.zobel
Don Armstrong [Thu, 8 Nov 2012 22:38:40 +0000 (14:38 -0800)]
document the fix of #670456

12 years agoif there is a non-source qualified version with a corresponding source
Don Armstrong [Thu, 8 Nov 2012 22:38:28 +0000 (14:38 -0800)]
if there is a non-source qualified version with a corresponding source
qualified version, we only want to merge the source qualified
version(s)

This fixes #670456

12 years agochanges is a hash of arrayrefs; properly handle it when merge fails
Don Armstrong [Thu, 8 Nov 2012 22:14:59 +0000 (14:14 -0800)]
changes is a hash of arrayrefs; properly handle it when merge fails

12 years agodocument fix of #691573 in acb6e
Don Armstrong [Mon, 29 Oct 2012 11:40:49 +0000 (04:40 -0700)]
document fix of #691573 in acb6e

12 years agocontrol: print message to transcript when command is unrecognized
Jonathan Nieder [Mon, 29 Oct 2012 06:46:12 +0000 (23:46 -0700)]
control: print message to transcript when command is unrecognized

We accidentally dropped this error message in 56704088 (call
Debbugs::Control::service for all services, 2012-07-12).
Closes: #691573
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoFix lack of archive support in pkgindex.cgi.
Don Armstrong [Fri, 19 Oct 2012 16:42:03 +0000 (09:42 -0700)]
Fix lack of archive support in pkgindex.cgi.

12 years agoOnly remove list headers if the message appears to have traversed a mailing list...
Don Armstrong [Sun, 14 Oct 2012 00:41:51 +0000 (17:41 -0700)]
Only remove list headers if the message appears to have traversed a mailing list to get to us. (closes: #690408)

12 years agochange how $generalbcc is assigned
Don Armstrong [Fri, 28 Sep 2012 17:23:45 +0000 (10:23 -0700)]
change how $generalbcc is assigned

12 years agoadd Debian BTS closures to /debian/changelog
Mike Gabriel [Fri, 28 Sep 2012 12:55:14 +0000 (14:55 +0200)]
add Debian BTS closures to /debian/changelog

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoUse locale independent date format for mail processing and service mail generation.
Mike Gabriel [Fri, 28 Sep 2012 12:29:00 +0000 (14:29 +0200)]
Use locale independent date format for mail processing and service mail generation.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoMake sure that mails to gSubscriptionDomain and gBugSubscriptionDomain are only sent...
Mike Gabriel [Fri, 21 Sep 2012 19:57:14 +0000 (21:57 +0200)]
Make sure that mails to gSubscriptionDomain and gBugSubscriptionDomain are only sent out if the variables in config are defined and have a lenght < 0.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoProvide gStrongList configuration option in config file to make a site admin aware...
Mike Gabriel [Fri, 21 Sep 2012 19:14:05 +0000 (21:14 +0200)]
Provide gStrongList configuration option in config file to make a site admin aware of its existence.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoUpdate postfix section in Readme.mail. Closes: #688109.
Mike Gabriel [Wed, 19 Sep 2012 20:06:17 +0000 (22:06 +0200)]
Update postfix section in Readme.mail. Closes: #688109.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoRemove mailing list markers of the form [<list-name>] from the subject line to avoid...
Mike Gabriel [Wed, 12 Sep 2012 09:42:05 +0000 (11:42 +0200)]
Remove mailing list markers of the form [<list-name>] from the subject line to avoid duplication (and more) of the bug number when replying to bug postings.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoAdd empty $gBugSubscriptionDomain variable to config file template.
Mike Gabriel [Wed, 12 Sep 2012 09:09:37 +0000 (11:09 +0200)]
Add empty $gBugSubscriptionDomain variable to config file template.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agochangelog cleanup for last commits
Mike Gabriel [Wed, 12 Sep 2012 07:10:46 +0000 (09:10 +0200)]
changelog cleanup for last commits

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoAllow directory index for /var/lib/debbugs/www to be shown TTW (in apache.conf example).
Mike Gabriel [Wed, 12 Sep 2012 06:31:13 +0000 (08:31 +0200)]
Allow directory index for /var/lib/debbugs/www to be shown TTW (in apache.conf example).

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoLet generated index pages load css file.
Mike Gabriel [Mon, 10 Sep 2012 11:09:29 +0000 (13:09 +0200)]
Let generated index pages load css file.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoExtend examples/apache.conf, add directory rules. Esp. allow Indexes to be overridden...
Mike Gabriel [Mon, 10 Sep 2012 11:05:18 +0000 (13:05 +0200)]
Extend examples/apache.conf, add directory rules. Esp. allow Indexes to be overridden in /var/lib/debbugs/www/db to allow mod_expires apache configuration options in .htaccess.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years ago/debian/control: Add ${misc:Depends} to Depends.
Mike Gabriel [Mon, 10 Sep 2012 10:16:44 +0000 (12:16 +0200)]
/debian/control: Add ${misc:Depends} to Depends.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoFix pkgindex.cgi concerning several issues: load proper Perl modules, replace usage...
Mike Gabriel [Wed, 12 Sep 2012 07:04:49 +0000 (09:04 +0200)]
Fix pkgindex.cgi concerning several issues: load proper Perl modules, replace usage of src_url and pkg_url by package_links, use html_tail from templates, use count_bugs everywhere, load bugs.css, fix global variable usage in html header.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoBe more generic, comment out rewrite rule that directly redirects http://<debbugs...
Mike Gabriel [Sat, 8 Sep 2012 20:41:23 +0000 (22:41 +0200)]
Be more generic, comment out rewrite rule that directly redirects http://<debbugs-webhost>/ to http://www.debian.org/Bugs.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoFix sani function in scripts/errorlib. Generate html entities correctly (prepend...
Mike Gabriel [Sat, 8 Sep 2012 20:34:11 +0000 (22:34 +0200)]
Fix sani function in scripts/errorlib. Generate html entities correctly (prepend ampersand, append semicolon).

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoRewrite rule example: http://<webhost>/<nnn> -> show bug report for bug <nnn>.
Mike Gabriel [Sat, 8 Sep 2012 20:31:15 +0000 (22:31 +0200)]
Rewrite rule example: http://<webhost>/<nnn> -> show bug report for bug <nnn>.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoAssure in apache.conf example that documentation html pages get loaded.
Mike Gabriel [Sat, 8 Sep 2012 20:27:51 +0000 (22:27 +0200)]
Assure in apache.conf example that documentation html pages get loaded.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoLoad bugs.css file in documentation html pages.
Mike Gabriel [Sat, 8 Sep 2012 20:24:04 +0000 (22:24 +0200)]
Load bugs.css file in documentation html pages.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agomark package as unreleased to make dch work correctly
Mike Gabriel [Sat, 8 Sep 2012 20:22:47 +0000 (22:22 +0200)]
mark package as unreleased to make dch work correctly

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agofix missing +
Don Armstrong [Mon, 17 Sep 2012 22:04:04 +0000 (15:04 -0700)]
fix missing +

12 years agowork around broken .debinfo files by faking the binarch from the
Don Armstrong [Mon, 17 Sep 2012 21:54:09 +0000 (14:54 -0700)]
work around broken .debinfo files by faking the binarch from the
filename if there are only four fields.

12 years agoFix installation of templates (closes: #686928). Thanks to Mike Gabriel.
Don Armstrong [Fri, 7 Sep 2012 17:43:39 +0000 (10:43 -0700)]
Fix installation of templates (closes: #686928). Thanks to Mike Gabriel.

12 years agoDocument what Debbugs::Status::get_bug_status returns
Don Armstrong [Thu, 6 Sep 2012 22:23:43 +0000 (15:23 -0700)]
Document what Debbugs::Status::get_bug_status returns

12 years agoclose directory after reading from it
Don Armstrong [Tue, 24 Jul 2012 17:53:32 +0000 (10:53 -0700)]
close directory after reading from it

12 years agosummary and outlook actually accept any text
Don Armstrong [Fri, 20 Jul 2012 22:47:16 +0000 (15:47 -0700)]
summary and outlook actually accept any text

12 years agoApply fix for ! in owner et al; fixes #681853 Thanks to jwilk for reporting
Don Armstrong [Tue, 17 Jul 2012 17:16:56 +0000 (10:16 -0700)]
Apply fix for ! in owner et al; fixes #681853 Thanks to jwilk for reporting

12 years agofix undefined value in print (should be $version, not $2)
Don Armstrong [Mon, 16 Jul 2012 23:31:04 +0000 (16:31 -0700)]
fix undefined value in print (should be $version, not $2)

12 years agofix lack of unlocking in process before we start control
Don Armstrong [Sun, 15 Jul 2012 23:00:45 +0000 (16:00 -0700)]
fix lack of unlocking in process before we start control

12 years agooutput outlook in bugreport outlook
Don Armstrong [Sat, 14 Jul 2012 21:40:10 +0000 (14:40 -0700)]
output outlook in bugreport

12 years agoAdd support for outlook in control
Don Armstrong [Sat, 14 Jul 2012 21:37:56 +0000 (14:37 -0700)]
Add support for outlook in control

12 years agosubmitter is U, not S
Don Armstrong [Sat, 14 Jul 2012 20:42:11 +0000 (13:42 -0700)]
submitter is U, not S

12 years agotest that -1 actually refers to the current bug control.at.submit
Don Armstrong [Sat, 14 Jul 2012 19:52:46 +0000 (12:52 -0700)]
test that -1 actually refers to the current bug
Fix clearing of %clonebugs

12 years agodata can be a HASHREF not a SCALAR in check_limit
Don Armstrong [Sat, 14 Jul 2012 18:31:33 +0000 (11:31 -0700)]
data can be a HASHREF not a SCALAR in check_limit

12 years agoMerge branch 'control.at.submit'
Don Armstrong [Sat, 14 Jul 2012 03:54:18 +0000 (20:54 -0700)]
Merge branch 'control.at.submit'

12 years agoadd submit at control support to process
Don Armstrong [Sat, 14 Jul 2012 03:50:59 +0000 (20:50 -0700)]
add submit at control support to process

12 years agoFix block stanza
Don Armstrong [Sat, 14 Jul 2012 03:50:17 +0000 (20:50 -0700)]
Fix block stanza

12 years agouse bug_links intsead of bug_url
Don Armstrong [Sat, 14 Jul 2012 03:49:56 +0000 (20:49 -0700)]
use bug_links intsead of bug_url

12 years agoadd tests for control at submit time
Don Armstrong [Sat, 14 Jul 2012 03:49:24 +0000 (20:49 -0700)]
add tests for control at submit time

12 years agoremove -1.log
Don Armstrong [Fri, 13 Jul 2012 23:21:46 +0000 (16:21 -0700)]
remove -1.log

12 years agoRemove obsolute @maintcc and $packagepr bits
Don Armstrong [Fri, 13 Jul 2012 23:21:21 +0000 (16:21 -0700)]
Remove obsolute @maintcc and $packagepr bits

12 years agoRemote obsolute @bcc code
Don Armstrong [Fri, 13 Jul 2012 23:20:50 +0000 (16:20 -0700)]
Remote obsolute @bcc code

12 years agoMerge branch 'don/processcleanup' into control.at.submit
Don Armstrong [Fri, 13 Jul 2012 00:14:00 +0000 (17:14 -0700)]
Merge branch 'don/processcleanup' into control.at.submit

12 years agouse slurp and io file to read the original report
Don Armstrong [Thu, 12 Jul 2012 23:57:11 +0000 (16:57 -0700)]
use slurp and io file to read the original report

12 years agoswitch to finish()
Don Armstrong [Thu, 12 Jul 2012 23:19:52 +0000 (16:19 -0700)]
switch to finish()
appendlog() now uses Debbugs::Log::write_log_records

12 years agoextract control psuedoheaders into @control_bits
Don Armstrong [Thu, 12 Jul 2012 21:10:23 +0000 (14:10 -0700)]
extract control psuedoheaders into @control_bits

12 years agoFix wrong @matches indexing
Don Armstrong [Thu, 12 Jul 2012 21:08:56 +0000 (14:08 -0700)]
Fix wrong @matches indexing
Support %limit properly
Handle block/unblock with bug not being the first match
Export valid_control

12 years agoexport check_limit
Don Armstrong [Thu, 12 Jul 2012 20:17:19 +0000 (13:17 -0700)]
export check_limit

12 years agocall Debbugs::Control::service for all services
Don Armstrong [Thu, 12 Jul 2012 20:16:26 +0000 (13:16 -0700)]
call Debbugs::Control::service for all services
use check_limit instead of &setbug

12 years agoadd Service abstraction
Don Armstrong [Wed, 11 Jul 2012 00:13:18 +0000 (17:13 -0700)]
add Service abstraction

12 years agouse Getopt::Long and Pod::Usage in process
Don Armstrong [Tue, 10 Jul 2012 18:00:30 +0000 (11:00 -0700)]
use Getopt::Long and Pod::Usage in process
remove DEBUG filehandle; replace with lexical filehandle
use Debbugs::MIME::parse instead of custom code in process
use undef $tryref instead of -1 for unknown bug number

12 years agofix export tags in MIME
Don Armstrong [Tue, 10 Jul 2012 02:28:17 +0000 (19:28 -0700)]
fix export tags in MIME
use vars $DEBUG

12 years agosupport export tags
Don Armstrong [Mon, 9 Jul 2012 19:21:44 +0000 (12:21 -0700)]
support export tags

12 years agocall decode_rfc1522 before calling decode_utf8 cgiencoding
Don Armstrong [Sun, 8 Jul 2012 21:42:13 +0000 (14:42 -0700)]
call decode_rfc1522 before calling decode_utf8

12 years agoMerge branch 'master' into don/processcleanup
Don Armstrong [Sun, 8 Jul 2012 18:23:18 +0000 (11:23 -0700)]
Merge branch 'master' into don/processcleanup

12 years agodocument that encoding issues have been resolved don/processencoding
Don Armstrong [Sun, 8 Jul 2012 17:30:38 +0000 (10:30 -0700)]
document that encoding issues have been resolved

12 years agoDebbugs::Log no longer attempts to convert to perl's internal encoding
Don Armstrong [Sun, 8 Jul 2012 16:56:03 +0000 (09:56 -0700)]
Debbugs::Log no longer attempts to convert to perl's internal encoding

12 years ago* Use encode_utf8 to encode perl strings before appending to log
Don Armstrong [Sun, 8 Jul 2012 16:13:16 +0000 (09:13 -0700)]
* Use encode_utf8 to encode perl strings before appending to log