[request-tracker-maintainers] Bug#505679: Bug#505679: request-tracker3.8: misses database upgrade script

Dominic Hargreaves dom at earth.li
Fri Nov 14 18:01:55 UTC 2008


On Fri, Nov 14, 2008 at 12:30:22PM +0100, Martin Zobel-Helas wrote:
> request-tracker3.6 had a nice db-upgrade script in
> /etc/request-tracker3.6/upgrade:
> 
> 
> cat db-upgrade.sh 
> #!/bin/sh
>  for x in /etc/request-tracker3.6/upgrade/*; do \
>      for y in schema acl insert; do \
>         /usr/sbin/rt-setup-database-3.6 --action $y --datadir $x \
>           --dba rtuser --dba-password RTpostgreLogin; \
>      done;\
>   done;
> 
> 
> Please add an alike script to request-tracker3.8 package.

That file must have been something you created locally, as it is not
provided by the request-tracker3.6 package.

In fact, rt-setup-database now has a built-in upgrade action which will
do essentially the same thing. I have update the docs describing this in
the package in subversion, which will be released in due course.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-request-tracker-maintainers mailing list