NAME

Perlbug::Fix - Command line interface to fixing perlbug database.

DESCRIPTION

Command line interface to fixing incorrect perlbug data.

Note: mig() will migrate from pre-2.26 database structure to current usage.

USAGE

  	lowercase is indicator/report 
	
	UPPERcase expands/effects
	
	> h		# help
	
	> H		# Helpful help
	
	> f		# view erroneous flags
	
	> F		# Fix erroneous flags
	
	> mig	# check stuff
	
	> MIG 	# Fix stuff (migrate...)
	
	> 		# etc.

METHODS

new

Create new Perlbug::Fix object:

my $o_fix = Perlbug::Fix->new();
process

Processes the command given, gets and truncates the results, calls scroll

flags

Set flags to '' in tm_tickets where flag is unknown in tm_flags

map_flags

Adjust bug flags, note, this also updates the flags table with missing values!

cc

Correct tm_cc table

bugs

Correct tm_tickets table

messages

Correct messages table

notes

Correct notes table

claimants

Correct claimants table

patches

Correct patch relations table

users

Correct users table

action

Process action on behalf of caller

my $i_ok = $self->action('tm_table', 'UPDATE x SET y WHERE z etc...');
mig

Migrate whole database

x0

Migrate log

x1

Migrate notes

x2

Migrate patches

x3

Migrate tests

x99

Remove MIGRATE deadwood if everythings is OK

x31

Update tm_claimants from tm_logs by userid

x32

Assumes bugids in db, messages in dir, find messages which were not forwarded, forward them.

Not the same as an historic trawl, which is looking for new/replies, etc.

xspecial

Specials

AUTHOR

Richard Foley perlbug@rfi.net 2000