2010-05-17  Hartmut Goebel <h.goebel@goebel-consult.de>

	Minor documentation update.

	* README: Tell about oap-cli and added some examples.

	* omp-cli.rst: More examples.

	* openvas/omplib/__init__.py (_check_response): Fixed typo in
	docstring.

2010-05-17  Hartmut Goebel <h.goebel@goebel-consult.de>

	Removed dependency on pyOpenSSL, use the ssl module provided by
	Python instead.

	* openvas/omplib/__init__.py (class _SSLSocket): removed.

	* openvas/omplib/__init__.py (OMPClient.open): use
	ssl.wrap_socket() instead of _SSLSocket.

	* README: removed requirement for pyOpenSSL

2010-05-11  Hartmut Goebel <h.goebel@goebel-consult.de>

	Avoid encoding errors: Instead of filling string templates,
	internally requests are now build as etree.Element. Encoding is
	done when writing to the socket stream.

	* openvas/omplib/__init__.py (XMLNode): new function. Easy
	building etree.Elements.

	* openvas/omplib/__init__.py (_format_request): removed

	* openvas/omplib/__init__.py (OMPClient._send): If data is an
	etree.Element, seriaialice directly to the socket steam. If data
	is unicode, encode to utf-8.

	* openvas/omplib/__init__.py (OMPClient.__generic_get)
	(OMPClient.__generic_delete, OMPClient.authenticate)
	(OMPClient.help, OMPClient.create_agent, OMPClient.create_config)
	(OMPClient.test_escalator, OMPClient.create_lsc_credential)
	(OMPClient.create_target, OMPClient.create_task, get_task_status)
	(OMPClient.start_task, OMPClient.abort_task)
	(OMPClient.delete_task, OMPClient.get_report)
	(OMPClient.delete_report, OMPClient.get_preferences)
	(OMPClient.get_certificates, OMPClient.get_nvt_details): Build
	requests as etree.Element instead of filling string templates.

2010-05-08  Hartmut Goebel <h.goebel@goebel-consult.de>

	* setup.py: New command build_docs for generating the
	man-pages (and a html version of them), incl. version
	substitution.

	* oap-cli.rst: version substitution tag

	* MANIFEST.in: Honor doc files (man, html); remove unused entry
	for docutils-manpage-writer.

	* setup.cfg: Updated aliases to include build_docs

2010-05-06  Hartmut Goebel <h.goebel@goebel-consult.de>

	* tests/test_omplib.py: Added Copyright header.

	* openvas/omplib/cmd.py (get-report): Added command line options
	to make filtering and sorting of results accessable from command
	line. Enhanced existing options to be more flexible on input.
	Updated help message. Fixed: Output was stderr instrad of stdout.

	* openvas/omplib/cmd.py (create-task): Updated help message.

2010-05-01  Hartmut Goebel <h.goebel@goebel-consult.de>

	* setup.py, README.txt: Updated to match requirements Python
	>=2.5,<3.0 and argparse.

2010-05-01  Hartmut Goebel <h.goebel@goebel-consult.de>

	* openvas/omplib/cmd.py: subcommand 'get-status' now lists all
	reports if task uuids are passed and accepts more then a single
	task uuid. Changed format of time-stamp in report list to
	`%Y-%m-%d %H:%M:%S`. Updated help text.

	* openvas/omplib/cmd.py: enhanced engine for generating help from
	sub-commands __doc__-string: First line gets help for `omp-cli
	--help`, full text becomes `description` for subcommand help.

	* openvas/omplib/cmd.py: Suppress Python trace-back when OMP
	command fails. Simply print error message and fail.

	* openvas/omplib/__init__.py (get_task_status): Tread xml-children
	'process' and 'reports' special.

2010-04-28  Hartmut Goebel <h.goebel@goebel-consult.de>

	* openvas/omplib/__init__.py (get_task_status): New optional
	argument 'xml_result'. Argument 'task_id' is optional now. No
	longer returns status but dict(s) with the tasks data.

	* openvas/omplib/cmd.py: subcommands 'help' and 'xml' did not work
	at all. Fixed.

	* openvas/omplib/cmd.py: subcommand 'get-status' now returns a
	list of reports for each task (as far as reports are reported by
	OMP get_report_response).

2010-04-23  Hartmut Goebel <h.goebel@goebel-consult.de>

	* Starting package "bindings/python/openvas.omplib" (pure-python
	OMP client library).
