clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

Bundles size not consistently displayed/available #493

Open nsauzede opened 5 years ago

nsauzede commented 5 years ago

Is your feature request related to a problem? Please describe. It is painful to not being always able to see the install size of a bundle, because it requires knowing exactly on of its file name (we could for example only know bundle name, but only launch one of its application by a graphical icon, with a different icon "name" -- case, etc..) Ie:

$ wireshark wireshark: command not found To install wireshark use: sudo swupd bundle-add wireshark $ sudo swupd search wireshark Bundle with the best search result: wireshark - Network packet capture and analysis This bundle can be installed with: swupd bundle-add wireshark Alternative bundle options are network-security-monitoring - Various tools to test and improve network security $ sudo swupd search /wireshark Bundle with the best search result: wireshark - Network packet capture and analysis (103Mb) This bundle can be installed with: swupd bundle-add wireshark Alternative bundle options are desktop-assets - Images and Icons for the desktop (450Mb) os-core-update - Provides basic suite for running the Clear Linux for iA Updater (25Mb) => we had to search wireshark bundle by file to learn its install size

Describe the solution you'd like I would like to be able to see the potential install size of any bundle regardless of if we search it by "title" or by "file" Eg:

$ wireshark wireshark: command not found To install wireshark use: sudo swupd bundle-add wireshark $ sudo swupd search wireshark Bundle with the best search result: wireshark - Network packet capture and analysis (103Mb) ...

Describe alternatives you've considered An alternative could be to always search by "file", but it seems strange, and also I believe that "file" search always require sudo priviledges ?

Additional context N/A

ahkok commented 5 years ago

@fenrus75 we'd need to have bundle sizes for swupd-search. Is this doable? then we should just add it.

bryteise commented 5 years ago

Is it intended for the swupd-client team own swupd-search? I'd prefer to move these kind of issues into under swupd-client for tracking.

fenrus75 commented 5 years ago

the bundle size thing got fixed this morning, at least for bundles where the size can be known

On Thu, Feb 28, 2019 at 11:00 AM William Douglas notifications@github.com wrote:

Is it intended for the swupd-client team own swupd-search? I'd prefer to move these kind of issues into under swupd-client for tracking.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/493#issuecomment-468394993, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPeFaTHQODQLTHJ266hi8tD7hCaHxCRks5vSCdigaJpZM4bWQFY .

eero-t commented 5 years ago

Shouldn't this be moved under swupd component? (which has few similar items)

bryteise commented 5 years ago

@eero-t I agree, moving.