Index | Thread | Search

From:
Marc Espie <marc.espie.openbsd@gmail.com>
Subject:
Re: dpb: wipe all packages in an error state
To:
rafael@sizeofvoid.org, ports@openbsd.org
Date:
Sat, 1 Nov 2025 12:34:58 +0100

Download raw body.

Thread
On Sat, Nov 01, 2025 at 11:23:06AM +0000, Stuart Henderson wrote:
> On 2025/11/01 11:59, Kirill A. Korinsky wrote:
> > On Sat, 01 Nov 2025 11:09:02 +0100,
> > Rafael Sadowski <rafael@sizeofvoid.org> wrote:
> > > 
> > > Simple diff to add the external control "wipe-all". This wiped all
> > > packages in an error state.
> > > 
> > > Is this useful for anyone else?
> > >
> > 
> > During my ffmpeg bulk I had need for it more than once.
> > 
> > But wipe accepts multiple packages as space separated list which is an
> > output in dpb UI. So, I ended with a few cycle of copy and paste.
> 
> it's a bit of a pain on multiple hosts where the pkgpath has (machine)
> listed afterwards, and copying from dpb usually results in broken line
> wrapping, so this does seem useful to me.
> 

One thing I could add to wipe, fairly easily, is a feature
to make it ignores the consequence of copy-paste ?

Doesn't make wipe-all unnecessary, but after all, grabbing stuff directly
off dpb would work.

Seeing how locks are perfectly structured, a small utility to print info
off some selected locks would also be (occasionally) helpful.