/[ddp]/manuals/trunk/maint-guide/maint-guide.en.dbk
ViewVC logotype

Diff of /manuals/trunk/maint-guide/maint-guide.en.dbk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8621 by osamu, Sun Apr 3 16:16:49 2011 UTC revision 8623 by osamu, Sun Apr 3 16:26:56 2011 UTC
# Line 539  least some of the documentation before a Line 539  least some of the documentation before a
539  When you receive a bug report (yes, actual bug reports!), you will know that it  When you receive a bug report (yes, actual bug reports!), you will know that it
540  is time for you to dig into the <ulink url="http://www.debian.org/Bugs/">Debian  is time for you to dig into the <ulink url="http://www.debian.org/Bugs/">Debian
541  Bug Tracking System</ulink> and read the documentation there, to be able to  Bug Tracking System</ulink> and read the documentation there, to be able to
542  deal with the reports efficiently.  I highly recommend reading the <ulink url="http://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-handling">Developer's  deal with the reports efficiently.  I highly recommend reading the <ulink url="&bughandling;">Debian Developer's
543  Reference, 5.8.  'Handling bugs'</ulink>.  Reference, 5.8.  'Handling bugs'</ulink>.
544  </para>  </para>
545  <para>  <para>
# Line 2800  $ echo 7 &gt; debian/compat Line 2800  $ echo 7 &gt; debian/compat
2800  <para>  <para>
2801  One of the most annoying things about software is when you spend a great deal  One of the most annoying things about software is when you spend a great deal
2802  of time and effort customizing a program, only to have an upgrade stomp all  of time and effort customizing a program, only to have an upgrade stomp all
2803  over your changes.  Debian solves this problem by marking configuration files  over your changes.  Debian solves this problem by marking such configuration files as conffiles.
2804  so that when you upgrade a package, you'll be prompted whether you want to keep  <footnote><para>See <citerefentry> <refentrytitle>dpkg</refentrytitle>
2805  your old configuration or not.  <manvolnum>1</manvolnum> </citerefentry> and
2806    <ulink url="http://www.debian.org/doc/debian-policy/ap-pkg-controlfields.html#s-pkg-f-Conffiles">Debian Policy Manual 'D.2.5 Conffiles'</ulink>.
2807    </para></footnote>
2808    When you upgrade a package, you'll be prompted whether you want to keep
2809    your old configuration files or not.
2810  </para>  </para>
2811  <para>  <para>
2812  Since <systemitem role="package">debhelper</systemitem> V3, <citerefentry>  Since <systemitem role="package">debhelper</systemitem> V3, <citerefentry>
# Line 2912  directories created first.  See <xref li Line 2916  directories created first.  See <xref li
2916  </para>  </para>
2917  <para>  <para>
2918  It is best to first try to run the installation first and only use this if you  It is best to first try to run the installation first and only use this if you
2919  run into trouble.  There is no preceding slash on the directory names.  run into trouble.  There is no preceding slash on the directory names listed in
2920    the <filename>dirs</filename> file.
2921  </para>  </para>
2922  </section>  </section>
2923  <section id="doc-base"><title><filename><replaceable>package</replaceable>.doc-base</filename> file</title>  <section id="doc-base"><title><filename><replaceable>package</replaceable>.doc-base</filename> file</title>
# Line 3627  create and sign the upload <filename>.ch Line 3632  create and sign the upload <filename>.ch
3632  <para>  <para>
3633  The only input that will be required of you is your GPG secret pass phrase,  The only input that will be required of you is your GPG secret pass phrase,
3634  twice.  twice.
3635    <footnote><para>
3636    This GPG key must be signed by the Debian developer to get connected to the web
3637    of trust.  This enables your uploaded packages to be accepted to the Debian
3638    archives.  See
3639    <ulink url="http://wiki.debian.org/Keysigning ">Debian Wiki on Keysigning</ulink>.
3640    </para></footnote>
3641  </para>  </para>
3642  <para>  <para>
3643  After all this is done, you will see the following files in the directory above  After all this is done, you will see the following files in the directory above
# Line 3803  packages in the <literal>Build-Depends</ Line 3814  packages in the <literal>Build-Depends</
3814  <section id="option-sa"><title>Including <filename>orig.tar.gz</filename> for upload</title>  <section id="option-sa"><title>Including <filename>orig.tar.gz</filename> for upload</title>
3815  <para>  <para>
3816  When you first upload the package to the archive, you need to include the  When you first upload the package to the archive, you need to include the
3817  original <filename>orig.tar.gz</filename> source.  If the last changelog entry  original <filename>orig.tar.gz</filename> source, too.  If the Debian revision
3818  is not the first one for the given upstream version, you must provide  number of such package is neither <literal>1</literal> nor
3819  <command>dpkg-buildpackage</command> command with the <literal>-sa</literal>  <literal>0</literal>, you must provide <command>dpkg-buildpackage</command>
3820  option.  On the other hand, the <literal>-sd</literal> option will force to  command with the <literal>-sa</literal> option.  On the other hand, the
3821  exclude the original <filename>orig.tar.gz</filename> source.  <literal>-sd</literal> option will force to exclude the original
3822    <filename>orig.tar.gz</filename> source.
3823  </para>  </para>
3824  </section>  </section>
3825  <section id="debuild"><title><command>debuild</command> command</title>  <section id="debuild"><title><command>debuild</command> command</title>
# Line 3864  documentation.  </para> </footnote> This Line 3876  documentation.  </para> </footnote> This
3876  under the <literal>sid</literal> auto-builder for different architectures and  under the <literal>sid</literal> auto-builder for different architectures and
3877  avoids the severity serious FTBFS (Fails To Build From Source) bug which is  avoids the severity serious FTBFS (Fails To Build From Source) bug which is
3878  always in the RC (release critical) category.  See <ulink url="&buildd-home;">&buildd-home;</ulink> for more on the Debian  always in the RC (release critical) category.  See <ulink url="&buildd-home;">&buildd-home;</ulink> for more on the Debian
3879  package auto-builder.  package <systemitem role="package">auto-builder</systemitem>.
3880  </para>  </para>
3881  <para>  <para>
3882  Let's customize the <systemitem role="package">pbuilder</systemitem> package by  Let's customize the <systemitem role="package">pbuilder</systemitem> package by
# Line 4295  old <literal>1.0</literal> source format Line 4307  old <literal>1.0</literal> source format
4307  $ interdiff -z <replaceable>old-package</replaceable>.diff.gz <replaceable>new-package</replaceable>.diff.gz  $ interdiff -z <replaceable>old-package</replaceable>.diff.gz <replaceable>new-package</replaceable>.diff.gz
4308  </screen>  </screen>
4309  </section>  </section>
4310    <section id="tardiff"><title><command>tar</command> command with <literal>--diff</literal> option</title>
4311    <para>
4312    You can compare two <filename>tar.gz</filename> files with the <citerefentry>
4313    <refentrytitle>tar</refentrytitle> <manvolnum>1</manvolnum>
4314    </citerefentry> command with <literal>--diff</literal> option.  This is useful for verifying that no inadvertent
4315    changes were made to the source by the maintainer when updating packages in the
4316    new <literal>3.0</literal> source format.
4317    </para>
4318    <screen>
4319    $ tar --diff -z <replaceable>old-package</replaceable>.debian.tar.gz <replaceable>new-package</replaceable>.debian.tar.gz
4320    </screen>
4321    </section>
4322  <section id="mc"><title><command>mc</command> command</title>  <section id="mc"><title><command>mc</command> command</title>
4323  <para>  <para>
4324  Many of these file inspection operations can be made into an intuitive process  Many of these file inspection operations can be made into an intuitive process
# Line 4346  these options means. Line 4370  these options means.
4370  The <literal>$default_host</literal> option determines which of the upload  The <literal>$default_host</literal> option determines which of the upload
4371  queues will be used by default.  <literal>anonymous-ftp-master</literal> is the  queues will be used by default.  <literal>anonymous-ftp-master</literal> is the
4372  primary one, but it's possible that you will want to use another one.  primary one, but it's possible that you will want to use another one.
4373    <footnote><para>See <ulink url="&uploading;">Debian Developer's Reference 5.6. 'Uploading a package'</ulink>.</para></footnote>
4374  </para>  </para>
4375  <para>  <para>
4376  While connected to the Internet, you can upload your package by the following:  While connected to the Internet, you can upload your package by the following:
# Line 4386  Z4jxNrgh7Bc= Line 4411  Z4jxNrgh7Bc=
4411  -----END PGP SIGNATURE-----  -----END PGP SIGNATURE-----
4412  </screen>  </screen>
4413  <para>  <para>
4414  See <ulink url="http://mentors.debian.net/cgi-bin/welcome">mentors.debian.net</ulink> for  See <ulink url="&mentorsdebiannet;">mentors.debian.net</ulink> for
4415  publically accessible upload area for non-DD.  publically accessible upload area for non-DD.
4416  </para>  </para>
4417  <para>  <para>
# Line 4582  Update the Debian <filename>changelog</f Line 4607  Update the Debian <filename>changelog</f
4607  <itemizedlist>  <itemizedlist>
4608  <listitem>  <listitem>
4609  <para>  <para>
4610  Add an entry with New upstream release.  Add an entry with "<literal>New upstream release</literal>".
4611  </para>  </para>
4612  </listitem>  </listitem>
4613  <listitem>  <listitem>
4614  <para>  <para>
4615  Describe concisely the changes <emphasis>in the new upstream release</emphasis>  Describe concisely the changes <emphasis>in the new upstream release</emphasis>
4616  that fix reported bugs and close those bugs.  that fix reported bugs and close those bugs by adding "<literal>Closes: #<replaceable>bug_number</replaceable></literal>".
4617  </para>  </para>
4618  </listitem>  </listitem>
4619  <listitem>  <listitem>
4620  <para>  <para>
4621  Describe concisely the changes <emphasis>to the new upstream release</emphasis>  Describe concisely the changes <emphasis>to the new upstream release</emphasis>
4622  by the maintainer that fix reported bugs and close those bugs.  by the maintainer that fix reported bugs and close those bugs by adding "<literal>Closes: #<replaceable>bug_number</replaceable></literal>".
4623  </para>  </para>
4624  </listitem>  </listitem>
4625  </itemizedlist>  </itemizedlist>

Legend:
Removed from v.8621  
changed lines
  Added in v.8623

  ViewVC Help
Powered by ViewVC 1.1.5