> On Dec 19, 2021, at 2:38 AM, Landry Breuil <lan...@openbsd.org> wrote:
>
> Le Sun, Dec 19, 2021 at 12:01:21AM -0500, Daniel Dickman a écrit :
>>> On Mon, Sep 20, 2021 at 2:09 AM Landry Breuil <lan...@openbsd.org> wrote:
>>>
>>> Le Sun, Sep 19, 2021 at 11:36:17AM -0400, Daniel Jakots a écrit :
>>>> On Sun, 19 Sep 2021 17:23:53 +0200, Solene Rapenne <sol...@perso.pw>
>>>> wrote:
>>>>
>>>>> On Sun, 19 Sep 2021 17:03:54 +0200
>>>>> Landry Breuil <lan...@openbsd.org>:
>>>>>
>>>>>> Le Sat, Sep 18, 2021 at 10:10:40AM +0200, Solene Rapenne a écrit :
>>>>>>> It seems sysutils/pkg_mgr is broken. The UI displays fine but any
>>>>>>> attempt to apply changes (install or deletion) or simulate changes
>>>>>>> will exit pkg_mgr with no error message.
>>>>>>>
>>>>>>> Currently, its only use is to display packages installed and what
>>>>>>> can be installed.
>>>>>>
>>>>>> nothing new here sadly, pkg_add API changed at some point some years
>>>>>> ago, i told espie to help me look into it, but that never happened.
>>>>>>
>>>>>> Landry
>>>>>
>>>>> maybe we should mark it broken if it's known to be broken?
>>>>>
>>>>
>>>> If it's been broken for years, why don't we remove it? Is there any
>>>> hope to get it fixed?
>>>
>>> yeah, somebody wanting to get his hands dirty with pkg_tools code pickin
>>> it up eventually :) espie will probably say the fix is 'trivial', but we
>>> never had the same definition of triviality.
>>>
>> I’ve committed a fix that worked for me.
>
> Well, many thanks for that !! That just shows how much time i have for
> it, and how much the pkg_tools APIs are documented ;)
Hi Landry.
It honestly wasn’t too hard to work it out. The pkg tools code base is fairly
small and in this case all I really had to do was find the change in the commit
history and adapt pkg_mgr to match.
I’ll also take this opportunity to thank Marc for all the hard work he’s put
into the tools and even exposing an API in the first place.