I was looking into creation of custom /etc/dpkg/origins/ for our neurodebian
(http://neuro.debian.net) repository. Unfortunately, debianbts.py code cares
only about vendor and bugs fields, and sets others (e.g. otherpkgs, mirrors,
etc) to empty, and there seems to be no ability to customi9ze them anyhow,
besides submitting a patch against debianbts.py to add full definition to be
added to the original 'SYSTEMS', which seems to demolish the point of having
/etc/dpkg/origins/
Another side of the coin (could be a separate bug report but since there is
bulk of them already and it is related posting here): with a custom origin
available under /etc/dpkg/origins/, and mailto: target with a fixed email
address (without %s, but I am not saying that I am using debbugs -- just
mailto), reportbug fails due to inability to inject n or 99999 into
informative message at the end of the dialog ;):
Traceback (most recent call last):
File "/tmp/reportbug/bin/reportbug", line 2098, in <module>
main()
File "/tmp/reportbug/bin/reportbug", line 1045, in main
return iface.user_interface()
File "/tmp/reportbug/bin/reportbug", line 2090, in user_interface
self.options.draftpath)
File "/tmp/reportbug/reportbug/submit.py", line 489, in send_report
(sysinfo['email'] % 'n'), (sysinfo['email'] % '999999'))
TypeError: not all arguments converted during string formatting
so for some reason rtype is taken to be debbugs:
if rtype == 'mailto':
rtype = 'debbugs'
dontquery = True
and dontquery is not participating in definition of send_report, thus shit gets
loose -- send_report considers submission as for debbugs so expects '%s' being
there. Quick fix (attached) is to verify first that '%s' is actually in the
"email".