openSUSE / zypper

World's most powerful command line package manager
http://en.opensuse.org/Portal:Zypper
Other
392 stars 107 forks source link

Add a "memo" or "notes" flag. #525

Open Firstyear opened 6 months ago

Firstyear commented 6 months ago

Addition of a flag such as --notes or --memo to allow a user to add custom notes and text during a package install. An example invocation would be:

zypper install openssl --notes "for managing certs"

These notes could then be viewed with zypper info packagename.

Sometimes when installing a package, it can be useful to remember why you installed it or take other notes.

mlandres commented 6 months ago

Well, you can add --userdata to commands remembered in the /var/log/zypp/history (package and repo actions). By now zypper does not refer to the history, but it would at least be anchored in your system.


$ zypper --userdata 'demo it' up ImageMagick
...
$ grep ImageMagick /var/log/zypp/history
...
2024-01-13 12:58:49|install|ImageMagick|7.1.0.9-150400.6.27.1|...|demo it
Firstyear commented 6 months ago

That's not a very good user experience though is it.

I think as much of this is about having a good, visible ux so that people can use the feature effectively.