distribution icon indicating copy to clipboard operation
distribution copied to clipboard

Swupd: Request for error when user tries to add bundles marked for deletion.

Open K1ngfish3r opened this issue 1 year ago • 3 comments

Recently, I tried to add the java11-basic bundle only to later figure out it was empty.

I would like to request that swupd ask user for confirmation or just error out entirely whenever status of the bundle is not active.

K1ngfish3r avatar Sep 18 '23 16:09 K1ngfish3r

I don't really like introducing confirmation into swupd, I could add a warning to the output if a bundle installed is Pending-Delete though.

bryteise avatar Sep 18 '23 20:09 bryteise

I think that would be great. Currently, no such indication is given to the user at any point during the usage of swupd.

Additionally, maybe make a non-active status come up during swupd search in brackets as well? Bundle-info could also provide the status of the bundle.

K1ngfish3r avatar Sep 18 '23 23:09 K1ngfish3r

the search side of this is actually even easier... since search really works on pre-cooked lists we generate server side as part of our release -- if nothing else we can hide fully empty bundles from search

On Mon, Sep 18, 2023 at 4:13 PM K1ngfish3r @.***> wrote:

I think that would be great. Currently, no such indication is given to the user at any point during the usage of swupd.

Additionally, maybe make a non-active status come up during swupd search in brackets as well? Bundle-info could also provide the status of the bundle.

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/2961#issuecomment-1724587826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FI4YVZVFLG53PO2ADTX3DIRLANCNFSM6AAAAAA447RLNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fenrus75 avatar Sep 19 '23 00:09 fenrus75