← Back to team overview

rapache-devel team mailing list archive

[Bug 244519] Re: Entry to report bugs from the help menu would be nice.

 

This Example need python-launchpad-bugs:

import launchpadbugs.connector as Connector
import glob

		# launchpad sending bug ...
		bug = Connector.ConnectBug(method="HTML")
		bug.authentication = glob.glob(os.path.expanduser("~/.mozilla/firefox/*/cookies.sqlite")).pop()
		# opening report file for reading
		reportFile = open(reportFilename, 'r')
		# creating bug
		bug = bug.New(product={'name': 'rapache'},
			summary='[%s] report from %s',
			description=reportFile.read(),
			security_related=True
		)
		# closing report file
		reportFile.close()
		bug.commit(force_changes=True, ignore_lp_errors=False)
		return

-- 
Entry to report bugs from the help menu would be nice.
https://bugs.launchpad.net/bugs/244519
You received this bug notification because you are a member of Rapache
Developers, which is subscribed to Remote Apache Management tool .

Status in rapache: Confirmed

Bug description:
Add a menu entry in the main menu which allows the user to report bugs in launchpad.

Emgent has some code to share. Please attach a proof of concept here.

Also we shuold investigate the additional dependencies this feature would require and make sure to find a way to make them optional (we don't want to depend on apport or similar packages, but only suggest their use if they're present on the user's system)



References