[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-15 Thread Sebastien Bacher
bug #1964880 seems a regression due to the update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1963712 Title: FFE: Switch from apt to apt_pkg bindings To manage notifications about this bug go

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.9.6 --- ubuntu-drivers-common (1:0.9.6) jammy; urgency=medium * Drop apt in favour of the apt_pkg bindings (LP: #1963712). -- Alberto Milone Mon, 14 Mar 2022 12:15:38 +0100 ** Changed in: ubuntu-drivers-common

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-14 Thread Alberto Milone
Ok, I have just uploaded the new u-d-c. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1963712 Title: FFE: Switch from apt to apt_pkg bindings To manage notifications about this bug go to:

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-11 Thread Łukasz Zemczak
Ok, I think this convinced me enough for a +1. Please proceed! Let's make sure this gets released before Beta. ** Changed in: ubuntu-drivers-common (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-11 Thread Alberto Milone
Here is the output of ubuntu-drivers install, however I was not able measure the time here. The packages were installed correctly. ** Attachment added: "install" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1963712/+attachment/5567936/+files/install -- You received

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-11 Thread Alberto Milone
Output of ubuntu-drivers debug ** Attachment added: "debug" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1963712/+attachment/5567935/+files/debug -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-11 Thread Alberto Milone
Here is the output and the time it takes to run ubuntu-drivers list and ubuntu-drivers list --gpgpu ** Attachment added: "ubuntu-drivers-list.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1963712/+attachment/5567928/+files/ubuntu-drivers-list.log -- You received

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-10 Thread Alberto Milone
I have addressed all the concerns in the PR, and I have uploaded the changes to the PPA. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1963712 Title: FFE: Switch from apt to apt_pkg bindings To

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-08 Thread Alberto Milone
I have also added a PPA in the description. ** Description changed: Switch from the apt bindings to the apt_pkg bindings for the ubuntu- drivers tool. This significantly improves performance (2,673s vs 13,751s , on my dated Intel Ivy Bridge i7-3770K CPU). [Attach sbuild log]

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-07 Thread Alberto Milone
** Attachment added: "Sbuild log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1963712/+attachment/5566587/+files/ubuntu-drivers-common_0.9.6_amd64-2022-03-07T16%3A44%3A03Z.build ** Changed in: ubuntu-drivers-common (Ubuntu) Status: Incomplete => Confirmed --

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-07 Thread Alberto Milone
Hi Łukasz, I have just attached the sbuild log. I can certainly upload to a PPA, so that, perhaps, testing the changes will be easier. As I wrote in the description, I saw the time for a simple "ubuntu- drivers list" go down from 13,751s to 2,673s, which is quite impressive. -- You received

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-07 Thread Alberto Milone
** Description changed: Switch from the apt bindings to the apt_pkg bindings for the ubuntu- drivers tool. - This significantly improves performance. + This significantly improves performance (2,673s vs 13,751s , on my dated + Intel Ivy Bridge i7-3770K CPU). [Attach sbuild log]

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-07 Thread Alberto Milone
** Description changed: Switch from the apt bindings to the apt_pkg bindings for the ubuntu- drivers tool. This significantly improves performance. [Attach sbuild log] [Performance data] system_driver_packages() performance for a lot of modaliases ... [0.94 s] ok

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-07 Thread Łukasz Zemczak
Hello Alberto! Thank you for filling in the FFe! Did you do a test-build of the change on some PPA that we could take a look at? And did you do a test install of the test packages so that you could provide some logs? The changes seem on one side simple, but touch a lot of the code, so I'm

[Bug 1963712] Re: FFE: Switch from apt to apt_pkg bindings

2022-03-04 Thread Alberto Milone
** Description changed: Switch from the apt bindings to the apt_pkg bindings for the ubuntu- drivers tool. This significantly improves performance. [Attach sbuild log] [Performance data] + system_driver_packages() performance for a lot of modaliases ... [0.94 s] ok +