GNU bug report logs - #73932
[PATCH] Add noconfirm to 'package-autoremove'

Previous Next

Package: emacs;

Reported by: Sean Devlin <spd <at> toadstyle.org>

Date: Mon, 21 Oct 2024 16:00:03 UTC

Severity: normal

Tags: patch

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 73932-done <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: Sean Devlin <spd <at> toadstyle.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 73932-done <at> debbugs.gnu.org,
 Stefan Kangas <stefankangas <at> gmail.com>
Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove'
Date: Thu, 21 Nov 2024 21:17:14 +0000
Philip Kaludercic <philipk <at> posteo.net> writes:

> Sean Devlin <spd <at> toadstyle.org> writes:
>
>> Hi folks,
>>
>>> On Nov 5, 2024, at 12:45 PM, Sean Devlin <spd <at> toadstyle.org> wrote:
>>> 
>>> Hi folks,
>>> 
>>>> On Oct 28, 2024, at 10:48 AM, Sean Devlin <spd <at> toadstyle.org> wrote:
>>>> 
>>>> Hi folks,
>>>> 
>>>>> On Oct 27, 2024, at 5:53 AM, Stefan Kangas
>>>>> <stefankangas <at> gmail.com> wrote:
>>>>> 
>>>>> Philip Kaludercic <philipk <at> posteo.net> writes:
>>>>> 
>>>>>> Is the variation interesting, where NOCONFIRM is a predicate so that
>>>>>> we can selectively remove packages?
>>>>> 
>>>>> Do you have a use case in mind?
>>>>> 
>>>>>>> Sure, that might make sense. If we do that, should we do the
>>>>>> same in package-install-selected-packages? It uses its NOCONFIRM
>>>>>> argument in a similar way.
>>>>>> 
>>>>>> We can do that in a subsequent patch.
>>>>> 
>>>>> Feel free to post such a patch, indeed.  Thanks in advance.
>>>> 
>>>> Here’s two patches:
>>>> 
>>>> <0001-Add-noconfirm-to-package-autoremove.patch><0002-Use-prefix-argument-in-package-install-selected-pack.patch>
>>>> 
>>>> The first is the same as before, but it adds the prefix argument
>>>> usage Eli suggested.
>>>> 
>>>> The second patch adds a matching prefix argument to
>>>> package-install-selected-packages (if this is desired).
>>>> 
>>>> I didn’t implement a predicate option for NOCONFIRM yet, since I
>>>> couldn’t think of a use case, and the intended semantics are not
>>>> quite clear to me.
>>>> 
>>>> Please let me know what else is needed, and thanks!
>>> 
>>> Are there any outstanding issues? If so, how can I help resolve them?
>>> 
>>> Thanks!
>>
>> Just checking in again. Is there anything I can do to help resolve this?
>
> Sorry for the delay, I can apply it to master if nobody objects.

I've pushed the changes, and will close this report.  Thanks!

>> Thanks!
>>

-- 
	Philip Kaludercic on siskin




This bug report was last modified 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.