<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Patches for Released Versions</TITLE> <META NAME="description" CONTENT="Patches for Released Versions"> <META NAME="keywords" CONTENT="developers"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="developers.css"> <LINK REL="next" HREF="Developing_Bacula.html"> <LINK REL="previous" HREF="Bacula_Code_Submissions_Pro.html"> <LINK REL="up" HREF="Bacula_Developer_Notes.html"> <LINK REL="next" HREF="Developing_Bacula.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html493" HREF="Developing_Bacula.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html487" HREF="Bacula_Developer_Notes.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html481" HREF="Bacula_Code_Submissions_Pro.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html489" HREF="Contents.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html491" HREF="GNU_Free_Documentation_Lice.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html494" HREF="Developing_Bacula.html">Developing Bacula</A> <B> Up:</B> <A NAME="tex2html488" HREF="Bacula_Developer_Notes.html">Bacula Developer Notes</A> <B> Previous:</B> <A NAME="tex2html482" HREF="Bacula_Code_Submissions_Pro.html">Bacula Code Submissions and</A> <B> <A NAME="tex2html490" HREF="Contents.html">Contents</A></B> <B> <A NAME="tex2html492" HREF="GNU_Free_Documentation_Lice.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION00230000000000000000"></A> <A NAME="164"></A> <BR> Patches for Released Versions </H1> If you fix a bug in a released version, you should, unless it is an absolutely trivial bug, create and release a patch file for the bug. The procedure is as follows: <P> Fix the bug in the released branch and in the develpment master branch. <P> Make a patch file for the branch and add the branch patch to the patches directory in both the branch and the trunk. The name should be 2.2.4-xxx.patch where xxx is unique, in this case it can be "restore", e.g. 2.2.4-restore.patch. Add to the top of the file a brief description and instructions for applying it - see for example 2.2.4-poll-mount.patch. The best way to create the patch file is as follows: <P> <PRE> (edit) 2.2.4-restore.patch (input description) (end edit) git format-patch -M mv 0001-xxx 2.2.4-restore.patch </PRE> <P> check to make sure no extra junk got put into the patch file (i.e. it should have the patch for that bug only). <P> If there is not a bug report on the problem, create one, then add the patch to the bug report. <P> Then upload it to the 2.2.x release of bacula-patches. <P> So, end the end, the patch file is: <UL> <LI>Attached to the bug report <P> </LI> <LI>In Branch-2.2/bacula/patches/... <P> </LI> <LI>In the trunk <P> </LI> <LI>Loaded on Source Forge bacula-patches 2.2.x release. When you add it, click on the check box to send an Email so that all the users that are monitoring SF patches get notified. </LI> </UL> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html493" HREF="Developing_Bacula.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html487" HREF="Bacula_Developer_Notes.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html481" HREF="Bacula_Code_Submissions_Pro.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html489" HREF="Contents.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html491" HREF="GNU_Free_Documentation_Lice.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html494" HREF="Developing_Bacula.html">Developing Bacula</A> <B> Up:</B> <A NAME="tex2html488" HREF="Bacula_Developer_Notes.html">Bacula Developer Notes</A> <B> Previous:</B> <A NAME="tex2html482" HREF="Bacula_Code_Submissions_Pro.html">Bacula Code Submissions and</A> <B> <A NAME="tex2html490" HREF="Contents.html">Contents</A></B> <B> <A NAME="tex2html492" HREF="GNU_Free_Documentation_Lice.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> 2010-06-14 </ADDRESS> </BODY> </HTML>