public inbox for gentoo-doc-cvs@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lukasz Damentko" <rane@lark.gentoo.org>
To: gentoo-doc-cvs@lists.gentoo.org
Subject: [gentoo-doc-cvs] cvs commit: bugzilla-howto.xml
Date: Sat,  2 Sep 2006 05:26:46 +0000	[thread overview]
Message-ID: <20060902052647.4182A645F2@smtp.gentoo.org> (raw)

rane        06/09/02 05:26:46

  Modified:             bugzilla-howto.xml
  Log:
  #119053, added instructions about making diffs

Revision  Changes    Path
1.7                  xml/htdocs/doc/en/bugzilla-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml?r1=1.6&r2=1.7

Index: bugzilla-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- bugzilla-howto.xml	30 Aug 2005 02:51:12 -0000	1.6
+++ bugzilla-howto.xml	2 Sep 2006 05:26:46 -0000	1.7
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.6 2005/08/30 02:51:12 vapier Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.7 2006/09/02 05:26:46 rane Exp $ -->
 
 <guide link="/doc/en/bugzilla-howto.xml">
 <title>Gentoo Bug Reporting Guide</title>
@@ -20,8 +20,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.5</version>
-<date>2005-08-29</date>
+<version>1.6</version>
+<date>2006-09-01</date>
 
 <chapter>
 <title>Introduction</title>
@@ -1101,10 +1101,45 @@
 </p>
 
 <p>
-While we're doing all this, suppose another person finds your bug by searching
-through bugzilla and is curious to keep track of the bug, they may do so by
-putting their email in the Add CC field of the bug as shown below. You could
-also keep track of other bugs by following the same method.
+Sometimes a developer might ask you to attach a diff or patch for a file.
+Standard diff files can be obtained through:
+</p>
+
+<pre caption="Standard Diff Creation">
+$ <i>cp file file.old</i>
+$ <i>nano file</i>
+$ <i>diff -u file.old file</i>
+</pre>
+
+<p>
+For C/C++ source files, the <b>-p</b> flag is added to show what function calls
+the diff applies to:
+</p>
+
+<pre caption="Diff-ing C/C++ source">
+$ <i>cp file.c file.c.old</i>
+$ <i>nano file.c</i>
+$ <i>diff -up file.c.old file.c</i>
+</pre>
+
+<p>
+The documentation team will require the flag combination <b>-Nt</b> as well as
+<b>-u</b>. This mainly has to do with tab expansion.  You can create such a diff
+with:
+</p>
+
+<pre caption="Documentation diffs">
+$<i> cp file.xml file.xml.old</i>
+$<i> nano file.xml</i>
+$<i> diff -Nut file.xml.old file.xml</i>
+</pre>
+
+<p>
+And your diff is created. While we're doing all this, suppose another person
+finds your bug by searching through bugzilla and is curious to keep track of
+the bug, they may do so by putting their email in the Add CC field of the bug
+as shown below. You could also keep track of other bugs by following the same
+method.
 </p>
 
 <figure link="/images/docs/bugzie-add-email.png" caption="Adding Email To CC:"/>



-- 
gentoo-doc-cvs@gentoo.org mailing list



             reply	other threads:[~2006-09-02  5:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02  5:26 Lukasz Damentko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-05-23 20:42 [gentoo-doc-cvs] cvs commit: bugzilla-howto.xml Sven Vermeulen
2008-02-01 19:30 Jan Kundrat
2008-01-31 21:33 Jan Kundrat
2008-01-31 14:31 Jan Kundrat
2007-04-01 10:35 Josh Saddler
2007-02-14 21:30 Josh Saddler
2006-11-10 22:19 Josh Saddler
2005-09-29 15:11 Xavier Neys
2005-08-30  2:51 vapier
2005-07-22 23:46 Xavier Neys
2005-07-13  5:48 Shyam Mani
2005-07-10 14:13 Shyam Mani
2005-07-09 22:31 Shyam Mani
2005-07-07 18:19 Shyam Mani
2005-07-07 12:03 Shyam Mani
2005-07-07 12:02 Shyam Mani
2005-07-07 11:56 Sven Vermeulen
2005-07-07 11:55 Shyam Mani
2005-07-07 11:47 Sven Vermeulen
2005-07-07 11:38 Sven Vermeulen
2005-07-07 11:35 Sven Vermeulen
2005-07-07 11:24 Shyam Mani
2005-07-07 11:07 Shyam Mani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060902052647.4182A645F2@smtp.gentoo.org \
    --to=rane@lark.gentoo.org \
    --cc=docs-team@lists.gentoo.org \
    --cc=gentoo-doc-cvs@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox