Ticket #279 (closed enhancement: fixed)
Add verbosity to bcfg2 -I questions
Reported by: | naapuri | Owned by: | desai |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | bcfg2-client | Version: | |
Keywords: | command-line interactive | Cc: |
Description
When running bcfg2 -I, the package installation questions should be more verbose. For example, now bcfg2 asks:
Would you like to install Package: screen? (y/N):
It could ask something like this:
Upgrade package 'screen' (1.2.3 => 1.2.4)? (y/N): DOWNGRADE package 'screen' (1.2.4 => 1.2.3)? (y/N): Re-install package 'screen' due to changed files? (List the files with 'debsums -as screen') (y/N):
Similarly, ConfigFile? installation questions could offer a choice to see a diff of the file.
OTOH, while these enhancements would be nice, there is the reporting system that should give this information anyway.
Attachments
Change History
comment:1 Changed 16 years ago by [email protected]…
comment:2 Changed 16 years ago by desai
- Status changed from new to assigned
I have committed initial support for per-entry upgrade messages in [4d0b6a85024d10a9b72baf7b8a1da5ada6ee0f5d] (SVN r2684). We will need to instrument more drivers to provide this data, but APT and RPM are done.
comment:3 Changed 16 years ago by desai
- Status changed from assigned to closed
- Resolution set to fixed
ConfigFile? support added in [46a242872523b8946e2ac48129c32f410b92f15f] (SVN r2697)
comment:5 Changed 9 years ago by Williamdype
- Milestone Bcfg2 0.9.0 Release deleted
Interesting helpful bugs noticed here. This is test post http://xd6lfj3z.com
Another suggestion to the -I mode : make available a diff of the changes to commit to a config files to update.