From: Lee <ler762@users.sourceforge.net> Date: Sat, 27 Oct 2018 22:44:40 +0000 (-0400) Subject: developer doc: list the steps for creating the changelog X-Git-Tag: v_3_0_27~28 X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@edit-actions-list?a=commitdiff_plain;h=c1a16f7bde8a602c293f56f8bf97af63747268d2;p=privoxy.git developer doc: list the steps for creating the changelog --- diff --git a/doc/source/developer-manual.sgml b/doc/source/developer-manual.sgml index 9a4fe6d5..1dc08adf 100644 --- a/doc/source/developer-manual.sgml +++ b/doc/source/developer-manual.sgml @@ -2189,7 +2189,55 @@ for-privoxy-version=3.0.11 </listitem> <listitem> <para> - All documentation should be rebuild after the code status has been changed. + Create the change log: + </para> + <programlisting> + $ git tag + # to see the tags + $ git log [last release tag]..HEAD > /tmp/log + # get the commit log since the last release + $ utils/makeChangeLog /tmp/log > /tmp/change.log + # reformat the commit log +</programlisting> + <para> + Edit <filename>/tmp/change.log</filename> to remove trivial + changes and group the changes under general headings like: + </para> + <programlisting> +- Bug fixes: +- Action file improvements: +- Filter file improvements: +- General improvements: +- Documentation improvements: +- Build system improvements: +- Code cleanups: +- Privoxy-Log-Parser: +- Privoxy-Regression-Test: +</programlisting> + <para> + Add the contents of <filename>/tmp/change.log</filename> to the + start of <filename>ChangeLog</filename> and re-create + <filename>doc/source/changelog.sgml</filename>: + </para> + <programlisting> + $ utils/changelog2doc.pl /tmp/change.log >| doc/source/changelog.sgml +</programlisting> + </listitem> + <listitem> + <para> + All developers should look at the <filename>ChangeLog</filename> and + make sure noteworthy changes are referenced. + </para> + </listitem> + <listitem> + <para> + All documentation should be rebuilt: + <programlisting> + $ make dok + $ make dok-tidy + $ make man + $ make config-file +</programlisting> Finished docs should be then be committed to Git (for those without the ability to build these). Some docs may require rather obscure processing tools. <filename>config</filename>, @@ -2215,12 +2263,6 @@ for-privoxy-version=3.0.11 target for this at this time!!! It needs to be done manually. </para> </listitem> - <listitem> - <para> - All developers should look at the <filename>ChangeLog</filename> and - make sure noteworthy changes are referenced. - </para> - </listitem> <listitem> <para> <emphasis>Commit all files that were changed in the above steps!</emphasis>