Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Firstyear opened this issue Jan 13, 2024 · 2 comments
Open

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

Firstyear opened this issue Jan 13, 2024 · 2 comments

Comments

@Firstyear
Copy link

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
Copy link
Member

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants