个人工具

“UbuntuWiki:BugHelper/doc/components”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第11行: 第11行:
  
  
Examples: <pre><nowiki>
+
Examples:  
  bugnumbers -p evolution
+
<pre><nowiki>
  bugnumbers -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
+
bugnumbers -p evolution
 +
bugnumbers -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
 
</nowiki></pre>
 
</nowiki></pre>
  
第21行: 第22行:
 
* `--version` which will return the version number of the bughelper suite
 
* `--version` which will return the version number of the bughelper suite
 
* `-A` which lets it search through all the bug attachments with the mime type `text/plain`.
 
* `-A` which lets it search through all the bug attachments with the mime type `text/plain`.
+
 
Examples: <pre><nowiki>
+
Examples:  
  bughelper -p ubiquity
+
<pre><nowiki>
  bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
+
bughelper -p ubiquity
 +
bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
 
</nowiki></pre>
 
</nowiki></pre>
  
第34行: 第36行:
 
* `-v <file>` validates a given file against the clue file schema.
 
* `-v <file>` validates a given file against the clue file schema.
  
Examples: <pre><nowiki>
+
Examples:  
  bugxml -a totem "libxine.so" "This might be a xine problem. Ask the reporter to check with xine-ui."
+
<pre><nowiki>
  bugxml -v packages/ubiquity.info
+
bugxml -a totem "libxine.so" "This might be a xine problem. Ask the reporter to check with xine-ui."
  bugxml -e This string has some weird characters like ä, ü and ö in it.
+
bugxml -v packages/ubiquity.info
 +
bugxml -e This string has some weird characters like ä, ü and ö in it.
 
</nowiki></pre>
 
</nowiki></pre>
  
 
----
 
----
 
Go back to '''[[UbuntuWiki:BugHelper/doc]]'''.<br>
 
Go back to '''[[UbuntuWiki:BugHelper/doc]]'''.<br>
[[category:CategoryBugSquad]]
+
[[category:CategoryBugSquad<br>]]
 +
[[category:CategoryBugHelper]]
  
 
[[category:UbuntuWiki]]
 
[[category:UbuntuWiki]]

2007年11月23日 (五) 11:30的版本

The bughelper suite currently contains:

./bugnumbers

This tool collects bug numbers from Launchpad. You can pass it

  • `--version` which will return the version number of the bughelper suite
  • `-l <URL>` for a Launchpad bug list URL
  • `-p <package>` for a source package like `evolution`


Examples:

bugnumbers -p evolution
bugnumbers -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs

./bughelper

This tool searches through bugs and tries to find matches with data in `.info` files. It has the same functionality and switches as `bugnumber`. In addition to that it accepts

  • `--version` which will return the version number of the bughelper suite
  • `-A` which lets it search through all the bug attachments with the mime type `text/plain`.

Examples:

bughelper -p ubiquity
bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs

./bugxml

This tool is primarily intended to help with the editing and creation of `.info` files. There are currently two use cases:

  • `-a
     <condition> <information>` adds a simple clue to an existing file or creates a new one.
    * `-e <string>` escapes a given string for use in XML files.
    * `-v <file>` validates a given file against the clue file schema.
    
    Examples: 
    <pre><nowiki>
    bugxml -a totem "libxine.so" "This might be a xine problem. Ask the reporter to check with xine-ui."
    bugxml -v packages/ubiquity.info
    bugxml -e This string has some weird characters like ä, ü and ö in it.
    </nowiki></pre>
    
    ----
    Go back to '''[[UbuntuWiki:BugHelper/doc]]'''.<br>
    [[category:CategoryBugSquad<br>]]
    [[category:CategoryBugHelper]]
    
    [[category:UbuntuWiki]]