cleanupwork.html 3.68 KB
<HTML
><HEAD
><TITLE
>Cleaning up after mucking with Bugzilla</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="The Bugzilla Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="The Bugzilla Database"
HREF="database.html"><LINK
REL="PREVIOUS"
TITLE="MySQL Permissions & Grant Tables"
HREF="granttables.html"><LINK
REL="NEXT"
TITLE="Useful Patches and Utilities for Bugzilla"
HREF="patches.html"></HEAD
><BODY
CLASS="SECTION"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>The Bugzilla Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="granttables.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Appendix B. The Bugzilla Database</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="patches.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="CLEANUPWORK"
>B.4. Cleaning up after mucking with Bugzilla</A
></H1
><P
CLASS="LITERALLAYOUT"
>Contributed&nbsp;by&nbsp;Eric&nbsp;Hansen:<br>
There&nbsp;are&nbsp;several&nbsp;things,&nbsp;and&nbsp;one&nbsp;trick.&nbsp;&nbsp;There&nbsp;is&nbsp;a&nbsp;small&nbsp;tiny&nbsp;piece&nbsp;of<br>
documentation&nbsp;I&nbsp;saw&nbsp;once&nbsp;that&nbsp;said&nbsp;something&nbsp;very&nbsp;important.<br>
1)&nbsp;&nbsp;After&nbsp;pretty&nbsp;much&nbsp;any&nbsp;manual&nbsp;working&nbsp;of&nbsp;the&nbsp;Mysql&nbsp;db,&nbsp;you&nbsp;must<br>
delete&nbsp;a&nbsp;file&nbsp;in&nbsp;the&nbsp;bugzilla&nbsp;directory:&nbsp;data/versioncache<br>
Versioncache&nbsp;basically&nbsp;is&nbsp;a&nbsp;way&nbsp;to&nbsp;speed&nbsp;up&nbsp;bugzilla&nbsp;(from&nbsp;what&nbsp;I<br>
understand).&nbsp;&nbsp;It&nbsp;stores&nbsp;a&nbsp;lot&nbsp;of&nbsp;commonly&nbsp;used&nbsp;information.&nbsp;&nbsp;However,<br>
this&nbsp;file&nbsp;is&nbsp;refreshed&nbsp;every&nbsp;so&nbsp;often&nbsp;(I&nbsp;can't&nbsp;remember&nbsp;the&nbsp;time<br>
interval&nbsp;though).&nbsp;&nbsp;So&nbsp;eventually&nbsp;all&nbsp;changes&nbsp;do&nbsp;propogate&nbsp;out,&nbsp;so&nbsp;you<br>
may&nbsp;see&nbsp;stuff&nbsp;suddenly&nbsp;working.<br>
2)&nbsp;&nbsp;Assuming&nbsp;that&nbsp;failed,&nbsp;you&nbsp;will&nbsp;also&nbsp;have&nbsp;to&nbsp;check&nbsp;something&nbsp;with&nbsp;the<br>
checksetup.pl&nbsp;file.&nbsp;&nbsp;It&nbsp;actually&nbsp;is&nbsp;run&nbsp;twice.&nbsp;&nbsp;The&nbsp;first&nbsp;time&nbsp;it<br>
creates&nbsp;the&nbsp;file:&nbsp;localconfig.&nbsp;&nbsp;You&nbsp;can&nbsp;modify&nbsp;localconfig,&nbsp;(or&nbsp;not&nbsp;if<br>
you&nbsp;are&nbsp;doing&nbsp;bug_status&nbsp;stuff)&nbsp;or&nbsp;you&nbsp;should&nbsp;delete&nbsp;localconfig&nbsp;and<br>
rerun&nbsp;your&nbsp;modified&nbsp;checksetup.pl.&nbsp;&nbsp;Since&nbsp;I&nbsp;don't&nbsp;actually&nbsp;see&nbsp;anything<br>
in&nbsp;localconfig&nbsp;pertaining&nbsp;to&nbsp;bug_status,&nbsp;this&nbsp;point&nbsp;is&nbsp;mainly&nbsp;a&nbsp;FYI.<br>
&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="granttables.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="patches.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>MySQL Permissions &#38; Grant Tables</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="database.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Useful Patches and Utilities for Bugzilla</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>