特殊:Badtitle/NS101:BugHelper/doc/components:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第2行: 第2行:
{{Languages|UbuntuWiki:BugHelper/doc/components}}
{{Languages|UbuntuWiki:BugHelper/doc/components}}
The bughelper suite currently contains:
The bughelper suite currently contains:
==== ./bugnumbers ====
==== ./bugnumbers ====
This tool collects bug numbers from Launchpad. You can pass it
This tool collects bug numbers from Launchpad. You can pass it
* `--version` which will return the version number of the bughelper suite
* `--version` which will return the version number of the bughelper suite
* `-l <URL>` for a Launchpad bug list URL
* `-l <URL>` for a Launchpad bug list URL
* `-p <package>` for a source package like `evolution`
* `-p <package>` for a source package like `evolution`
Examples:  
Examples:  
<pre><nowiki>
<pre><nowiki>
第16行: 第12行:
bugnumbers -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
bugnumbers -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
</nowiki></pre>
</nowiki></pre>
==== ./bughelper ====
==== ./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  
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
* `--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:  
Examples:  
<pre><nowiki>
<pre><nowiki>
第28行: 第21行:
bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs
</nowiki></pre>
</nowiki></pre>
==== ./bugxml ====
==== ./bugxml ====
This tool is primarily intended to help with the editing and creation of `.info` files. There are currently two use cases:
This tool is primarily intended to help with the editing and creation of `.info` files. There are currently two use cases:
* `-a <source package> <condition> <information>` adds a simple clue to an existing file or creates a new one.
* `-a <source package> <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.
* `-e <string>` escapes a given string for use in XML files.
* `-v <file>` validates a given file against the clue file schema.
* `-v <file>` validates a given file against the clue file schema.
Examples:  
Examples:  
<pre><nowiki>
<pre><nowiki>
第42行: 第32行:
bugxml -e This string has some weird characters like ä, ü and ö in it.
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>

2007年12月1日 (六) 01:25的版本

{{#ifexist: :BugHelper/doc/components/zh | | {{#ifexist: BugHelper/doc/components/zh | | {{#ifeq: {{#titleparts:BugHelper/doc/components|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BugHelper/doc/components|1|-1|}} | zh | | }}

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 <source package> <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:

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.

Go back to UbuntuWiki:BugHelper/doc.
[[category:CategoryBugSquad
]]