]> git.donarmstrong.com Git - debbugs.git/log
debbugs.git
7 years agoallow debinfo to be null separated
Don Armstrong [Thu, 11 Aug 2016 18:48:46 +0000 (11:48 -0700)]
allow debinfo to be null separated

7 years agodocument bug_status cache
Don Armstrong [Thu, 11 Aug 2016 18:48:21 +0000 (11:48 -0700)]
document bug_status cache

7 years agoif the upload date is not defined, update it
Don Armstrong [Wed, 9 Mar 2016 04:18:41 +0000 (20:18 -0800)]
if the upload date is not defined, update it

7 years agofix wrong calling of from_epoch
Don Armstrong [Wed, 9 Mar 2016 04:18:30 +0000 (20:18 -0800)]
fix wrong calling of from_epoch

7 years agofix strong severities syntax error
Don Armstrong [Mon, 29 Feb 2016 04:23:48 +0000 (20:23 -0800)]
fix strong severities syntax error

7 years agosupport install version storage
Don Armstrong [Mon, 29 Feb 2016 00:13:36 +0000 (16:13 -0800)]
support install version storage

7 years agoadd affects binpackage and affets srcpackage
Don Armstrong [Sun, 28 Feb 2016 23:39:04 +0000 (15:39 -0800)]
add affects binpackage and affets srcpackage

7 years agoadd creation times for debinfo addition
Don Armstrong [Sun, 28 Feb 2016 23:38:00 +0000 (15:38 -0800)]
add creation times for debinfo addition

7 years agostart add_packages and support add_configuration
Don Armstrong [Sun, 28 Feb 2016 23:31:47 +0000 (15:31 -0800)]
start add_packages and support add_configuration

7 years agostart add_suites support
Don Armstrong [Sun, 28 Feb 2016 23:31:14 +0000 (15:31 -0800)]
start add_suites support

7 years agoproperly use array ref
Don Armstrong [Sun, 28 Feb 2016 23:30:35 +0000 (15:30 -0800)]
properly use array ref

7 years agofix idx/db typo
Don Armstrong [Sun, 28 Feb 2016 23:30:20 +0000 (15:30 -0800)]
fix idx/db typo

7 years agoupgrade schema version
Don Armstrong [Sun, 28 Feb 2016 22:58:35 +0000 (14:58 -0800)]
upgrade schema version

7 years agoexport load_bug_log
Don Armstrong [Sun, 28 Feb 2016 22:58:24 +0000 (14:58 -0800)]
export load_bug_log

7 years agohandle affects properly and upgrade schema
Don Armstrong [Sun, 28 Feb 2016 22:58:10 +0000 (14:58 -0800)]
handle affects properly and upgrade schema

7 years agostart work on load_bug_log
Don Armstrong [Sun, 28 Feb 2016 19:46:06 +0000 (11:46 -0800)]
start work on load_bug_log

7 years agomake debbugs-loadsql executable
Don Armstrong [Mon, 7 Sep 2015 15:03:47 +0000 (08:03 -0700)]
make debbugs-loadsql executable

7 years agotrack when a record ends and begins
Don Armstrong [Sat, 8 Aug 2015 05:28:09 +0000 (22:28 -0700)]
track when a record ends and begins

7 years agoallow specifying DEBBUGS_SERVICE for dbicdump_command.sh
Don Armstrong [Sat, 29 Nov 2014 21:04:34 +0000 (13:04 -0800)]
allow specifying DEBBUGS_SERVICE for dbicdump_command.sh

7 years agoAbstract out walk_bugs for load_bug_log
Don Armstrong [Tue, 25 Nov 2014 03:49:18 +0000 (19:49 -0800)]
Abstract out walk_bugs for load_bug_log

7 years agofix pod2usage typo
Don Armstrong [Thu, 21 Aug 2014 00:02:49 +0000 (17:02 -0700)]
fix pod2usage typo

7 years agohandle quick bug loading by checking the database for the last modified time
Don Armstrong [Sat, 16 Aug 2014 21:14:45 +0000 (14:14 -0700)]
handle quick bug loading by checking the database for the last modified time

7 years agowhen splitting fields, uniquify and sort them if they are numeric
Don Armstrong [Thu, 7 Aug 2014 19:42:26 +0000 (12:42 -0700)]
when splitting fields, uniquify and sort them if they are numeric

7 years agoservice and sysconfdir all take options
Don Armstrong [Wed, 6 Aug 2014 23:05:22 +0000 (16:05 -0700)]
service and sysconfdir all take options

7 years agoThe wheezy getopt::long basically doesn't support any of the OO stuff. Switch back...
Don Armstrong [Wed, 6 Aug 2014 23:03:03 +0000 (16:03 -0700)]
The wheezy getopt::long basically doesn't support any of the OO stuff. Switch back to functional interface

7 years agoif there is no subcommand to debbugs-loadsql, display help
Don Armstrong [Wed, 6 Aug 2014 21:25:50 +0000 (14:25 -0700)]
if there is no subcommand to debbugs-loadsql, display help

7 years agouse GetOptionsFromArray instead of the OO method, because wheezy's Getopt doesn't...
Don Armstrong [Wed, 6 Aug 2014 21:25:36 +0000 (14:25 -0700)]
use GetOptionsFromArray instead of the OO method, because wheezy's Getopt doesn't support it

7 years agowe should not include DBIx::ClassDeploymentHandlerVersion as a table in its own right
Don Armstrong [Wed, 6 Aug 2014 21:13:21 +0000 (14:13 -0700)]
we should not include DBIx::ClassDeploymentHandlerVersion as a table in its own right

7 years agoadd first stab at using DBIx::Class::DeploymentHandler to deploy the database
Don Armstrong [Wed, 6 Aug 2014 16:26:52 +0000 (09:26 -0700)]
add first stab at using DBIx::Class::DeploymentHandler to deploy the database

7 years agoadd affects to schema
Don Armstrong [Sun, 1 Jun 2014 03:07:47 +0000 (20:07 -0700)]
add affects to schema

7 years agouse debbugs_db from config
Don Armstrong [Sun, 1 Jun 2014 03:07:34 +0000 (20:07 -0700)]
use debbugs_db from config

7 years agoAdd initial DB search support to Debbugs::Bugs
Don Armstrong [Mon, 19 May 2014 23:04:19 +0000 (16:04 -0700)]
Add initial DB search support to Debbugs::Bugs

7 years agomake all of the options for get_bugs_* come from a single set of common options
Don Armstrong [Thu, 23 Jan 2014 01:26:43 +0000 (17:26 -0800)]
make all of the options for get_bugs_* come from a single set of common options

7 years agofix missing =over/=back
Don Armstrong [Thu, 23 Jan 2014 01:25:17 +0000 (17:25 -0800)]
fix missing =over/=back

7 years agofix unterminated B<> sequence
Don Armstrong [Thu, 23 Jan 2014 01:25:03 +0000 (17:25 -0800)]
fix unterminated B<> sequence

7 years agoadd $gDebbugsDb (debbugs_db) configuration option to specify the debbugs database...
Don Armstrong [Sat, 30 Nov 2013 04:19:43 +0000 (20:19 -0800)]
add $gDebbugsDb (debbugs_db) configuration option to specify the debbugs database service

7 years agofix mistake in bug_message indexes
Don Armstrong [Mon, 25 Nov 2013 04:30:30 +0000 (20:30 -0800)]
fix mistake in bug_message indexes

7 years agofix bug_id problem; try to update merge/blocks if all bugs are present
Don Armstrong [Mon, 25 Nov 2013 01:16:20 +0000 (17:16 -0800)]
fix bug_id problem; try to update merge/blocks if all bugs are present

7 years agoAdd id to bug_ver and some more indices
Don Armstrong [Mon, 25 Nov 2013 01:15:39 +0000 (17:15 -0800)]
Add id to bug_ver and some more indices

7 years agoremove _id; fix correspondent and test
Don Armstrong [Fri, 22 Nov 2013 17:14:26 +0000 (09:14 -0800)]
remove _id; fix correspondent and test

7 years agoget rid of _id in database
Don Armstrong [Fri, 22 Nov 2013 17:13:43 +0000 (09:13 -0800)]
get rid of _id in database

7 years agoadd source maintainers code in loadsql
Don Armstrong [Thu, 21 Nov 2013 05:14:58 +0000 (21:14 -0800)]
add source maintainers code in loadsql

7 years agoexport the get source maintainers
Don Armstrong [Sat, 16 Nov 2013 01:00:50 +0000 (17:00 -0800)]
export the get source maintainers

7 years agoconsolidate debbugs-loadsql commands
Don Armstrong [Sat, 16 Nov 2013 00:58:13 +0000 (16:58 -0800)]
consolidate debbugs-loadsql commands

7 years agoadd get source maintainers command
Don Armstrong [Sat, 16 Nov 2013 00:57:55 +0000 (16:57 -0800)]
add get source maintainers command

7 years agoremove pkg/alias_of/obsolete index; add obsolete/disabled time constraint
Don Armstrong [Wed, 13 Nov 2013 17:21:06 +0000 (09:21 -0800)]
remove pkg/alias_of/obsolete index; add obsolete/disabled time constraint

7 years agoallow for duplicate, disabled src packages
Don Armstrong [Wed, 13 Nov 2013 17:15:46 +0000 (09:15 -0800)]
allow for duplicate, disabled src packages

7 years agoset the version to 1; eventually we will use this to update schemas
Don Armstrong [Thu, 7 Nov 2013 05:21:15 +0000 (21:21 -0800)]
set the version to 1; eventually we will use this to update schemas

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