]> git.donarmstrong.com Git - debbugs.git/log
debbugs.git
7 years agoupdate for correspondent in maintainer
Don Armstrong [Thu, 7 Nov 2013 05:20:50 +0000 (21:20 -0800)]
update for correspondent in maintainer

7 years agothe maintainer address should be a correspondent
Don Armstrong [Thu, 7 Nov 2013 05:19:21 +0000 (21:19 -0800)]
the maintainer address should be a correspondent

7 years agodocument verbose and progress; add back quiet tag
Don Armstrong [Tue, 2 Apr 2013 01:07:49 +0000 (18:07 -0700)]
document verbose and progress; add back quiet tag

7 years agoonly remove the progress bar if $p is defined
Don Armstrong [Tue, 2 Apr 2013 01:04:25 +0000 (18:04 -0700)]
only remove the progress bar if $p is defined

7 years agouse Term::Progress bar; output information on failure
Don Armstrong [Tue, 2 Apr 2013 00:52:00 +0000 (17:52 -0700)]
use Term::Progress bar; output information on failure

7 years agohandle tags, and new submitter/correspondent setup
Don Armstrong [Tue, 2 Apr 2013 00:50:52 +0000 (17:50 -0700)]
handle tags, and new submitter/correspondent setup

7 years agowe now require libdbix-class-perl and libdatetime-format-pg-perl
Don Armstrong [Tue, 2 Apr 2013 00:50:18 +0000 (17:50 -0700)]
we now require libdbix-class-perl and libdatetime-format-pg-perl

7 years agotry very hard to output a reported date for bugs even when summary is missing information
Don Armstrong [Tue, 2 Apr 2013 00:49:49 +0000 (17:49 -0700)]
try very hard to output a reported date for bugs even when summary is missing information

7 years agoupdate result classes for new relationships
Don Armstrong [Tue, 2 Apr 2013 00:48:18 +0000 (17:48 -0700)]
update result classes for new relationships

7 years agoget rid of obsolete results
Don Armstrong [Tue, 2 Apr 2013 00:47:59 +0000 (17:47 -0700)]
get rid of obsolete results

7 years agoremove bug_severity
Don Armstrong [Tue, 2 Apr 2013 00:47:34 +0000 (17:47 -0700)]
remove bug_severity
add bug_status cache
change how bug submitters, done and owner are tracked

7 years agoSwitch to severity table
Don Armstrong [Tue, 26 Mar 2013 01:44:46 +0000 (18:44 -0700)]
Switch to severity table
Add more links into the correspondent table so we can show all a persons bugs together
stop using _id
Add correspondent full name

7 years agoadd submitter field to bug table
Don Armstrong [Fri, 22 Mar 2013 23:21:11 +0000 (16:21 -0700)]
add submitter field to bug table

7 years agoabstract out some of the bug loading code into Debbugs::DB::Load
Don Armstrong [Fri, 15 Mar 2013 00:04:57 +0000 (17:04 -0700)]
abstract out some of the bug loading code into Debbugs::DB::Load

7 years agoalter binary version view to include based on versions
Don Armstrong [Fri, 15 Mar 2013 00:03:58 +0000 (17:03 -0700)]
alter binary version view to include based on versions

7 years agocache arch because there aren't very many of them
Don Armstrong [Fri, 15 Mar 2013 00:03:22 +0000 (17:03 -0700)]
cache arch because there aren't very many of them

7 years agocache src_pkgs for a single file as it's highly likely to be the same.
Don Armstrong [Fri, 15 Mar 2013 00:02:23 +0000 (17:02 -0700)]
cache src_pkgs for a single file as it's highly likely to be the same.

7 years agofix handle_queue typo
Don Armstrong [Thu, 31 Jan 2013 16:34:30 +0000 (08:34 -0800)]
fix handle_queue typo

7 years agodocument that the spool directory can be set
Don Armstrong [Thu, 31 Jan 2013 16:33:33 +0000 (08:33 -0800)]
document that the spool directory can be set

7 years agoadd .gitignore file to ignore the table comments
Don Armstrong [Wed, 23 Jan 2013 05:39:48 +0000 (21:39 -0800)]
add .gitignore file to ignore the table comments

7 years agodelete mispelled corespondent packages
Don Armstrong [Wed, 23 Jan 2013 05:37:59 +0000 (21:37 -0800)]
delete mispelled corespondent packages

7 years agoupdate db::result class and add correspondent and message correspondent
Don Armstrong [Wed, 23 Jan 2013 05:37:29 +0000 (21:37 -0800)]
update db::result class and add correspondent and message correspondent

7 years agoupdate db::result class
Don Armstrong [Wed, 23 Jan 2013 05:36:44 +0000 (21:36 -0800)]
update db::result class

7 years agofix timezone and correspondent typos
Don Armstrong [Wed, 23 Jan 2013 05:36:09 +0000 (21:36 -0800)]
fix timezone and correspondent typos

7 years agoadd the rest of the sql documentation
Don Armstrong [Wed, 23 Jan 2013 05:33:02 +0000 (21:33 -0800)]
add the rest of the sql documentation

7 years agoadd more documentation of the debbugs schema
Don Armstrong [Mon, 3 Dec 2012 23:58:19 +0000 (15:58 -0800)]
add more documentation of the debbugs schema

7 years agoadd bug message bits to sql
Don Armstrong [Thu, 29 Nov 2012 23:38:57 +0000 (15:38 -0800)]
add bug message bits to sql

7 years agoadd message tables
Don Armstrong [Thu, 29 Nov 2012 07:15:51 +0000 (23:15 -0800)]
add message tables

7 years agoadd initial version of debbugs-loadsql-debinfo and debbugs-loadsql-versions
Don Armstrong [Thu, 29 Nov 2012 00:21:00 +0000 (16:21 -0800)]
add initial version of debbugs-loadsql-debinfo and debbugs-loadsql-versions

7 years agoAdd bin and source associations
Don Armstrong [Sun, 25 Nov 2012 08:10:31 +0000 (00:10 -0800)]
Add bin and source associations
Add suites and maintainer tables
Update srcver with maintainer

7 years agoswitch to debversion
Don Armstrong [Sat, 24 Nov 2012 02:43:23 +0000 (18:43 -0800)]
switch to debversion

7 years agoadd initial work on sql for debbugs
Don Armstrong [Sat, 24 Nov 2012 01:47:46 +0000 (17:47 -0800)]
add initial work on sql for debbugs

7 years agoupdate testcover rule
Don Armstrong [Wed, 10 Aug 2016 20:33:55 +0000 (13:33 -0700)]
update testcover rule

7 years agoremove double colon in Debbugs::CGI
Don Armstrong [Wed, 10 Aug 2016 19:40:59 +0000 (12:40 -0700)]
remove double colon in Debbugs::CGI

7 years agoUse ETags; return timestamp not is_valid
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

7 years agoDrop unused my $vars
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>
7 years agoLibravatar: Refactor cache handling to avoid unncessary stat
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>
7 years agolibravatar.cgi: Drop unused import/module loads
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>
7 years agoLibravatar: Lazy-load LWP::UserAgent
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>
7 years agoPrefer "use Exporter qw(import)" to inheriting from it
Niels Thykier [Wed, 3 Aug 2016 21:10:30 +0000 (21:10 +0000)]
Prefer "use Exporter qw(import)" to inheriting from it

Signed-off-by: Niels Thykier <niels@thykier.net>
7 years agod/control: Add missing Build-Depends for test
Niels Thykier [Thu, 4 Aug 2016 18:54:19 +0000 (18:54 +0000)]
d/control: Add missing Build-Depends for test

Signed-off-by: Niels Thykier <niels@thykier.net>
7 years agoStandardize on using <br> (as opposed to <br/>)
Niels Thykier [Wed, 3 Aug 2016 19:57:05 +0000 (19:57 +0000)]
Standardize on using <br> (as opposed to <br/>)

Previously, the code used a bit of both.  Since the HTML pages are
HTML, standardize on "<br>".

Signed-off-by: Niels Thykier <niels@thykier.net>
7 years agohtml_tail.tmpl: Add missing </p>
Niels Thykier [Wed, 3 Aug 2016 19:52:05 +0000 (19:52 +0000)]
html_tail.tmpl: Add missing </p>

Signed-off-by: Niels Thykier <niels@thykier.net>
7 years agoignore Extra-Source-Only: yes packages and make sure the last entry gets inserted
Don Armstrong [Wed, 3 Aug 2016 14:35:19 +0000 (07:35 -0700)]
ignore Extra-Source-Only: yes packages and make sure the last entry gets inserted

7 years agoAdd viewport in HTML
Niels Thykier [Wed, 13 Jul 2016 19:15:31 +0000 (19:15 +0000)]
Add viewport in HTML

Signed-off-by: Niels Thykier <niels@thykier.net>
7 years agoit should be decode_utf8, not encode_utf8
Don Armstrong [Mon, 18 Jul 2016 03:26:49 +0000 (20:26 -0700)]
it should be decode_utf8, not encode_utf8

7 years agoswitch mailbox mime type to application/mbox
Don Armstrong [Thu, 16 Jun 2016 16:38:00 +0000 (09:38 -0700)]
switch mailbox mime type to application/mbox

7 years agoCall encode_utf8 in generate_package_info
Don Armstrong [Mon, 18 Jul 2016 02:36:07 +0000 (19:36 -0700)]
Call encode_utf8 in generate_package_info

- This change fixes the issue where package maintainers names were
  double encoded

7 years agofix captialization of cache control
Don Armstrong [Mon, 18 Jul 2016 02:20:55 +0000 (19:20 -0700)]
fix captialization of cache control

7 years agoset cache-control for pkgreport to 300 seconds don/cachecontrol
Don Armstrong [Fri, 10 Jun 2016 20:48:31 +0000 (13:48 -0700)]
set cache-control for pkgreport to 300 seconds

7 years agotest for Etag support in bugreport
Don Armstrong [Fri, 10 Jun 2016 04:04:49 +0000 (21:04 -0700)]
test for Etag support in bugreport

7 years agoswitch 17_version_cgi.t to use DebbugsTest::HTTPServer
Don Armstrong [Thu, 2 Jun 2016 00:54:26 +0000 (17:54 -0700)]
switch 17_version_cgi.t to use DebbugsTest::HTTPServer

7 years agoadd etag and caching support to bugreport.cgi
Don Armstrong [Wed, 1 Jun 2016 19:06:43 +0000 (12:06 -0700)]
add etag and caching support to bugreport.cgi

 - Calculate etag based on file modification times and all parameters
 - Set etag everywhere
 - Use reasonable cache retention times
   - 5m minimum
   - 10m for head requests and bug logs
   - 7d for bug attachments (which should never change, really)

7 years agoabstract out no_such_bug
Don Armstrong [Wed, 1 Jun 2016 19:06:20 +0000 (12:06 -0700)]
abstract out no_such_bug

7 years agomove CGI parameter definitions earlier
Don Armstrong [Wed, 1 Jun 2016 19:05:22 +0000 (12:05 -0700)]
move CGI parameter definitions earlier

7 years agoMake usertag_file_from_email a public function
Don Armstrong [Wed, 1 Jun 2016 18:07:31 +0000 (11:07 -0700)]
Make usertag_file_from_email a public function

8 years agoadd test for version.cgi cache control
Don Armstrong [Sun, 15 May 2016 14:59:07 +0000 (07:59 -0700)]
add test for version.cgi cache control

8 years agoset etags and cache-control headers
Don Armstrong [Wed, 13 Apr 2016 02:35:13 +0000 (19:35 -0700)]
set etags and cache-control headers

This should make the version.cgi significantly faster
 - the html now should be alive for one day
 - the images should live for 300 seconds
 - etags should be calculated quickly, and in general before very many
   things are parsed

8 years agoadd calculate_etags and etags_do_not_match methods
Don Armstrong [Wed, 13 Apr 2016 02:34:39 +0000 (19:34 -0700)]
add calculate_etags and etags_do_not_match methods

8 years agoMake munge_url use repeatable sorting
Don Armstrong [Wed, 13 Apr 2016 02:34:20 +0000 (19:34 -0700)]
Make munge_url use repeatable sorting

8 years agodocument fixes that Frank Lichtenheld contributed
Don Armstrong [Tue, 29 Mar 2016 00:22:54 +0000 (17:22 -0700)]
document fixes that Frank Lichtenheld contributed

8 years agofix inversion of date/versions in Debbugs::Status leading to negative times argument
Don Armstrong [Tue, 29 Mar 2016 00:21:04 +0000 (17:21 -0700)]
fix inversion of date/versions in Debbugs::Status leading to negative times argument

8 years agoControl: Add missing full stop at the end of "Changed" messages
Frank Lichtenheld [Sun, 27 Mar 2016 15:01:46 +0000 (17:01 +0200)]
Control: Add missing full stop at the end of "Changed" messages

This leads to broken links for at least the forwarded-to case.
(Closes: #782740)

Signed-off-by: Don Armstrong <don@donarmstrong.com>
8 years agoBugreport: Fix problems with reassign message
Frank Lichtenheld [Sun, 27 Mar 2016 13:26:20 +0000 (15:26 +0200)]
Bugreport: Fix problems with reassign message

* Matched hardcoded "Bug" instead of $config{bug} (which leads
  to problems at least in the test suite)
* Use package_links() wrong. package_links() already adds HTML.
  (Closes: #767327)

Signed-off-by: Don Armstrong <don@donarmstrong.com>
8 years agoExtend bugreport test cases to check the output of some control messages
Frank Lichtenheld [Sun, 27 Mar 2016 13:24:15 +0000 (15:24 +0200)]
Extend bugreport test cases to check the output of some control messages

This exposes #767327 (wrong package links in "reassigned" message)
as a test failure.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
8 years agocloning had the blocking reversed
Don Armstrong [Fri, 12 Feb 2016 21:01:03 +0000 (13:01 -0800)]
cloning had the blocking reversed

Bugs which were cloned had the block/blockedby sense reversed. This has
now been cleaned up.

8 years agoRemove an obsolete comment
Paul Wise [Thu, 15 Oct 2015 14:40:44 +0000 (22:40 +0800)]
Remove an obsolete comment

8 years agohandle receips state properly; check for unescaped output in mbox
Don Armstrong [Thu, 1 Oct 2015 00:29:08 +0000 (17:29 -0700)]
handle receips state properly; check for unescaped output in mbox

8 years agoFix mbox output of bugreports to properly use filehandle
Don Armstrong [Thu, 1 Oct 2015 00:14:01 +0000 (17:14 -0700)]
Fix mbox output of bugreports to properly use filehandle
Write test to actually test mbox output

Closes: #800497
8 years agoimport :read in bugreport.cgi
Don Armstrong [Wed, 30 Sep 2015 03:41:26 +0000 (20:41 -0700)]
import :read in bugreport.cgi

8 years agoAdd IO::InnerFile support to Debbugs::Log and use it
Don Armstrong [Wed, 30 Sep 2015 03:31:32 +0000 (20:31 -0700)]
Add IO::InnerFile support to Debbugs::Log and use it

Use the inner_file handle in cgi/bugreport and Debbugs::CGI::Bugreport
to avoid having the entire file in memory all of the time

Eventually we will want to use an index to avoid having to read every
single line of the bug log for every single message. Some day. [If
you're reading this, you could make that day sooner!]

8 years agochange the scope of tempdir so that it stays in scope until after display_entity...
Don Armstrong [Sat, 26 Sep 2015 22:58:49 +0000 (15:58 -0700)]
change the scope of tempdir so that it stays in scope until after display_entity is done

8 years agoalso use a filesystem in handle_email_message to avoid running out of memory
Don Armstrong [Wed, 23 Sep 2015 16:17:15 +0000 (09:17 -0700)]
also use a filesystem in handle_email_message to avoid running out of memory

8 years agouse tmpdir for bugs instead of memory to avoid trouble with large bugs
Don Armstrong [Wed, 23 Sep 2015 16:01:07 +0000 (11:01 -0500)]
use tmpdir for bugs instead of memory to avoid trouble with large bugs

8 years agodocument fix for #790716 in changelog
Don Armstrong [Sat, 4 Jul 2015 23:39:03 +0000 (16:39 -0700)]
document fix for #790716 in changelog

8 years agoPlural/singular agreement in error message
Rafael Laboissiere [Tue, 30 Jun 2015 21:54:15 +0000 (23:54 +0200)]
Plural/singular agreement in error message

Make the error text message correctly respect the singular/plural
agreement with the number of errors.  We have now "with 1 error"
instead of "with 1 errors".

Also, change the 07_control_limit unit test accordingly.

8 years agopoint at config.debian's new location
Dave Loyall [Thu, 11 Jun 2015 19:46:21 +0000 (14:46 -0500)]
point at config.debian's new location

9 years agoremove debbugging effective_type output
Don Armstrong [Mon, 25 May 2015 17:38:43 +0000 (10:38 -0700)]
remove debbugging effective_type output

9 years agouse Sys::Hostname::hostname instead of hostname --fqdn
Don Armstrong [Mon, 25 May 2015 17:17:12 +0000 (10:17 -0700)]
use Sys::Hostname::hostname instead of hostname --fqdn

9 years agoFix SOAP module hack to work around Date/Time encoding which broke in newer versions...
Don Armstrong [Fri, 15 May 2015 23:18:00 +0000 (16:18 -0700)]
Fix SOAP module hack to work around Date/Time encoding which broke in newer versions of SOAP::Lite. (Closes: #785405)

9 years agowe know that the statement is ok; use $1 to avoid taint issues
Don Armstrong [Tue, 24 Feb 2015 05:00:57 +0000 (21:00 -0800)]
we know that the statement is ok; use $1 to avoid taint issues

9 years agonext release will be 2.6.0; document more issues which have been fixed
Don Armstrong [Sun, 22 Feb 2015 05:55:13 +0000 (21:55 -0800)]
next release will be 2.6.0; document more issues which have been fixed

9 years agoperl 5.14 does not support named capture groups, apparently
Don Armstrong [Sat, 21 Feb 2015 22:53:58 +0000 (14:53 -0800)]
perl 5.14 does not support named capture groups, apparently

9 years agoit's tags, not tag
Don Armstrong [Sat, 21 Feb 2015 22:23:53 +0000 (14:23 -0800)]
it's tags, not tag

9 years agoallow arbitrarily complex boolean operations in usercategories selection statements
Don Armstrong [Sat, 21 Feb 2015 19:25:37 +0000 (11:25 -0800)]
allow arbitrarily complex boolean operations in usercategories selection statements

9 years agoadd test for get_bug_order_index; fix faulty regex in while()
Don Armstrong [Sat, 21 Feb 2015 08:05:01 +0000 (00:05 -0800)]
add test for get_bug_order_index; fix faulty regex in while()

9 years agoadd missing /g
Don Armstrong [Sat, 21 Feb 2015 07:49:51 +0000 (23:49 -0800)]
add missing /g

9 years agosupport or matching in fields in usercategories
Don Armstrong [Sat, 21 Feb 2015 07:45:18 +0000 (23:45 -0800)]
support or matching in fields in usercategories

9 years agoMinor edits for clarity don/json_support
Virginia King [Thu, 29 Jan 2015 20:25:52 +0000 (20:25 +0000)]
Minor edits for clarity

9 years agoFixed MORE code block formatting
Virginia King [Thu, 29 Jan 2015 19:58:09 +0000 (19:58 +0000)]
Fixed MORE code block formatting

9 years agoFixed MORE code block formatting
Virginia King [Thu, 29 Jan 2015 19:22:45 +0000 (19:22 +0000)]
Fixed MORE code block formatting

9 years agoFixed code block formatting
Virginia King [Thu, 29 Jan 2015 19:19:04 +0000 (19:19 +0000)]
Fixed code block formatting

9 years agoUpdated the installation instructions
Virginia King [Thu, 29 Jan 2015 19:14:09 +0000 (19:14 +0000)]
Updated the installation instructions

9 years agoAdjusted README.md with minor structural changes and edits
Virginia King [Thu, 29 Jan 2015 17:14:31 +0000 (17:14 +0000)]
Adjusted README.md with minor structural changes and edits

9 years agoMerge remote-tracking branch 'don/master' into pindy/docs
Virginia King [Thu, 29 Jan 2015 16:02:01 +0000 (16:02 +0000)]
Merge remote-tracking branch 'don/master' into pindy/docs

9 years agomove scripts/config to examples/
Don Armstrong [Wed, 21 Jan 2015 06:56:43 +0000 (22:56 -0800)]
move scripts/config to examples/

9 years agodepend on apache2 or httpd
Don Armstrong [Wed, 21 Jan 2015 06:31:23 +0000 (22:31 -0800)]
depend on apache2 or httpd

9 years agoswitch to using Require all granted from old Options allow,deny
Don Armstrong [Thu, 15 Jan 2015 01:18:57 +0000 (17:18 -0800)]
switch to using Require all granted from old Options allow,deny

9 years agouse + for symlinks and multiviews; newer apache doesn't like it otherwise
Don Armstrong [Thu, 15 Jan 2015 01:08:29 +0000 (17:08 -0800)]
use + for symlinks and multiviews; newer apache doesn't like it otherwise

9 years agowe don't need to expose the txt directory either
Don Armstrong [Thu, 15 Jan 2015 01:03:40 +0000 (17:03 -0800)]
we don't need to expose the txt directory either