Merge lp:~adeuring/launchpad/bug-528569-api-bug-search-for-linked-branches into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~adeuring/launchpad/bug-528569-api-bug-search-for-linked-branches |
Merge into: | lp:launchpad |
Diff against target: |
62 lines (+33/-2) 2 files modified
lib/lp/bugs/interfaces/bugtarget.py (+7/-2) lib/lp/bugs/stories/webservice/xx-bug.txt (+26/-0) |
To merge this branch: | bzr merge lp:~adeuring/launchpad/bug-528569-api-bug-search-for-linked-branches |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | code | Approve | |
Review via email: mp+21058@code.launchpad.net |
Description of the change
This branch fixes bug 528569: searching bug tasks by linked_branches not exported in the API
Just the boilerplate markup for webservice export of yet another parameter of IHasBugs.
./bin/test -t webservice/
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/
62: [C0301] Line too long (79/78)
29: [F0401] Unable to import 'lazr.enum' (No module named enum)
30: [F0401] Unable to import 'lazr.restful.
31: [F0401] Unable to import 'lazr.restful.
32: [F0401] Unable to import 'lazr.restful.
68: [C0322, IHasBugs.
value_
^
required=
search_
status=
importance=
assignee=
bug_
bug_
bug_
bug_
owner=
affected_
has_
has_
tags=
tags_
omit_
omit_
status_
milestone_
IBugTaskSea
milestone=
component=
nominated_
has_
hardware_
title=u'The bus of a hardware device related to a bug',
vocabulary=
hardware_
title=(
u"The vendor ID of a hardware device related to a bug."),
description=(
u"Allowed values of the vendor ID depend on the bus of the "
"device.nn"
"Vendor IDs of PCI, PCCard and USB devices are hexadecimal "
"string representations of 16 bit integers in the format "
"'0x01ab': The prefix '0x', followed by exactly 4 digits; "
"where a digit is one of the characters 0..9, a..f. The "
"characters A..F are not allowed.nn"
"SCSI vendor IDs are strings with exactly 8 characters. "
"Shorter names are right-padded with space (0x20) characters."
"nn"
"IDs for other buses may be arbitrary strings."),
required=
hardware_
title=(
u"The product ID of a hardware device related to a bug."),
description=(
u"Allowed values of the product ID depend on the bus of the "
"device.nn"
"Product IDs of PCI, PCCard and USB devices are hexadecimal "
"string representations of 16 bit integers in the format "
"'0x01ab': The prefix '0x', followed by exactly 4 digits; "
"where a digit is one of the characters 0..9, a..f. The "
"characters A..F are not allowed.nn"
"SCSI product IDs are strings with exactly 16 characters. "
"Shorter names are right-padded with space (0x20) characters."
"nn"
"IDs for other buses may be arbitrary strings."),
required=
hardware_
title=(
u"The driver controlling a hardware device related to a "
"bug."),
required=
hardware_
title=(
u"The package of the driver which controls a hardware "
"device related to a bug."),
required=
hardware_
title=(
u"Search for bugs reported by people who own the given "
"device or who use the given hardware driver."),
required=
hardware_
title=(
u"Search for bugs where people affected by a bug own the "
"given device or use the given hardware driver."),
required=
hardware_
title=(
u"Search for bugs where a bug subscriber owns the "
"given device or uses the given hardware driver."),
required=
hardware_
title=(
u"Search for bugs which are linked to hardware reports "
"wich contain the given device or whcih contain a device"
"contolled by the given driver."),
required=
linked_
title=(
u"Search for bugs that are linked to branches or for bugs"
"that are not linked to branches."),
vocabulary=
@operation_
@export_
def searchTasks(
order_by=None, search_text=None,
status=None, importance=None,
assignee=None, bug_reporter=None, bug_supervisor=
bug_
affected_
distributio
tags_
omit_
status_
milestone=None, component=None, nominated_for=None,
sourcepacka
hardware_
hardware_
hardware_
hardware_
hardware_
hardware_
hardware_
Having to use the long name from the enum when passing this parameter is truly awful, but I don't think that's your problem right now. Looks good.