[Bug 1922413] Re: mysql's apport hook's add_info() routine needs to handle 2nd parameter
This bug was fixed in the package mysql-8.0 - 8.0.28-0ubuntu3 --- mysql-8.0 (8.0.28-0ubuntu3) jammy; urgency=medium * d/a/source_mysql-8.0.py: Improve apport hook - Update call signature for add_info() (LP: #1922413) - Skip non-existing conf dirs (LP: #1958641) - If /etc/mysql missing, ask confirmation (LP: #1922412) - Fix all lint/flakes warnings + python3 -m py_compile source_mysql-8.0.py + pyflakes3 source_mysql-8.0.py + pylint source_mysql-8.0.py -- Bryce Harrington Wed, 16 Feb 2022 19:07:41 -0800 ** Changed in: mysql-8.0 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922413 Title: mysql's apport hook's add_info() routine needs to handle 2nd parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1922413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1922413] Re: mysql's apport hook's add_info() routine needs to handle 2nd parameter
** Changed in: mysql-8.0 (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922413 Title: mysql's apport hook's add_info() routine needs to handle 2nd parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1922413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1922413] Re: mysql's apport hook's add_info() routine needs to handle 2nd parameter
** Merge proposal linked: https://code.launchpad.net/~bryce/ubuntu/+source/mysql-8.0/+git/mysql-8.0/+merge/415713 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922413 Title: mysql's apport hook's add_info() routine needs to handle 2nd parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1922413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1922413] Re: mysql's apport hook's add_info() routine needs to handle 2nd parameter
The xorg hook (/usr/share/apport/package-hooks/source_xorg.py) has some non-trivial examples of use of the ui.* api's. [I think you meant this comments to LP #1922412...] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922413 Title: mysql's apport hook's add_info() routine needs to handle 2nd parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1922413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1922413] Re: mysql's apport hook's add_info() routine needs to handle 2nd parameter
Oooh, gotcha! I looked up samba and how it uses ui.information, ui.choice, et al. Interesting, but it simply needs some work to add choices and information to make this more interactive for the users. Anyway, I look forward to your patch. And then I can rebase the fix for LP: #1922412 on top of it and add ui.information("...") instead of print("..."). Hope that makes sense. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922413 Title: mysql's apport hook's add_info() routine needs to handle 2nd parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1922413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1922413] Re: mysql's apport hook's add_info() routine needs to handle 2nd parameter
Thanks for the report, Bryce. I've assigned this to you since we discussed this during the standup today. However, I am curious, what does the "ui" parameter do? It's not really clear to me, maybe you'd know? Also, do you happen to know other packages that uses apport like mysql? I'd be very interested to see how things change with different packages? Thank you! ** Changed in: mysql-8.0 (Ubuntu) Status: New => Triaged ** Changed in: mysql-8.0 (Ubuntu) Assignee: (unassigned) => Bryce Harrington (bryce) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922413 Title: mysql's apport hook's add_info() routine needs to handle 2nd parameter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1922413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs