/[gentoo]/xml/htdocs/doc/en/bugzilla-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/bugzilla-howto.xml

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

Revision 1.6 Revision 1.7
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.6 2005/08/30 02:51:12 vapier Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.7 2006/09/02 05:26:46 rane Exp $ -->
4 4
5<guide link="/doc/en/bugzilla-howto.xml"> 5<guide link="/doc/en/bugzilla-howto.xml">
6<title>Gentoo Bug Reporting Guide</title> 6<title>Gentoo Bug Reporting Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
18 18
19<!-- The content of this document is licensed under the CC-BY-SA license --> 19<!-- The content of this document is licensed under the CC-BY-SA license -->
20<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 20<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
21<license/> 21<license/>
22 22
23<version>1.5</version> 23<version>1.6</version>
24<date>2005-08-29</date> 24<date>2006-09-01</date>
25 25
26<chapter> 26<chapter>
27<title>Introduction</title> 27<title>Introduction</title>
28<section> 28<section>
29<title>Preface</title> 29<title>Preface</title>
1099<p> 1099<p>
1100Please attach any file mentioned like this to your bug report. 1100Please attach any file mentioned like this to your bug report.
1101</p> 1101</p>
1102 1102
1103<p> 1103<p>
1104While we're doing all this, suppose another person finds your bug by searching 1104Sometimes a developer might ask you to attach a diff or patch for a file.
1105through bugzilla and is curious to keep track of the bug, they may do so by 1105Standard diff files can be obtained through:
1106putting their email in the Add CC field of the bug as shown below. You could 1106</p>
1107
1108<pre caption="Standard Diff Creation">
1109$ <i>cp file file.old</i>
1110$ <i>nano file</i>
1111$ <i>diff -u file.old file</i>
1112</pre>
1113
1114<p>
1115For C/C++ source files, the <b>-p</b> flag is added to show what function calls
1116the diff applies to:
1117</p>
1118
1119<pre caption="Diff-ing C/C++ source">
1120$ <i>cp file.c file.c.old</i>
1121$ <i>nano file.c</i>
1122$ <i>diff -up file.c.old file.c</i>
1123</pre>
1124
1125<p>
1126The documentation team will require the flag combination <b>-Nt</b> as well as
1127<b>-u</b>. This mainly has to do with tab expansion. You can create such a diff
1128with:
1129</p>
1130
1131<pre caption="Documentation diffs">
1132$<i> cp file.xml file.xml.old</i>
1133$<i> nano file.xml</i>
1134$<i> diff -Nut file.xml.old file.xml</i>
1135</pre>
1136
1137<p>
1138And your diff is created. While we're doing all this, suppose another person
1139finds your bug by searching through bugzilla and is curious to keep track of
1140the bug, they may do so by putting their email in the Add CC field of the bug
1107also keep track of other bugs by following the same method. 1141as shown below. You could also keep track of other bugs by following the same
1142method.
1108</p> 1143</p>
1109 1144
1110<figure link="/images/docs/bugzie-add-email.png" caption="Adding Email To CC:"/> 1145<figure link="/images/docs/bugzie-add-email.png" caption="Adding Email To CC:"/>
1111 1146
1112<note> 1147<note>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20