This code can import an XML bug dump into Launchpad. The XML format is described in the RELAX-NG schema 'doc/bug-export.rnc'.
Class | BugXMLSyntaxError | A syntax error was detected in the input. |
Function | parse_date | Parse a date in the format 'YYYY-MM-DDTHH:MM:SSZ' to a dattime. |
Function | get_text | Get the text content of an element. |
Function | get_enum_value | Get the dbschema enum value with the given name. |
Function | get_element | Get the first element with the given name in the bugs XML namespace. |
Function | get_value | Return the text value of the element with the given name. |
Function | get_all | Get a list of all elements with the given name. |
Class | BugImporter | Import bugs into Launchpad |