Valentin Rothberg
01cfb51fe9
auto-update: make output more user friendly
...
The rather raw and scarce output of `podman auto-update` has been a
thorn in my eyes for a longer while. So far, Podman would only print
updated systemd units, one per line, without further formatting.
Motivated by issue #9949 which is asking for some more useful
information in combination with a dry-run feature, I sat down and
reflected which information may come in handy.
Running `podman auto-update` will now look as follows:
```
$ podman auto-update
Trying to pull [...]
UNIT CONTAINER IMAGE POLICY UPDATED
container-test.service 08fd34e533fd (test) localhost:5000/busybox registry false
```
Also refactor the spaghetti code in the backend a bit to make it easier
to digest and maintain.
For easier testing and for the sake of consistency with other commands
listing output, add a `--format` flag.
The man page will get an overhaul in a follow up commit.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-07-14 16:23:51 +02:00
..
2021-07-02 17:11:56 +02:00
2021-06-16 17:44:11 +02:00
2021-07-14 16:23:51 +02:00
2021-05-25 14:00:06 +02:00
2021-06-16 17:44:11 +02:00
2021-06-16 17:44:11 +02:00
2021-06-16 17:44:11 +02:00
2021-06-16 17:44:11 +02:00
2021-07-02 17:11:56 +02:00
2021-06-16 17:44:11 +02:00
2021-06-23 20:36:20 +02:00
2021-06-23 20:36:20 +02:00
2021-05-25 14:00:06 +02:00
2021-07-02 17:11:56 +02:00
2021-07-01 12:01:46 +02:00
2021-07-09 17:47:11 +02:00
2021-07-02 17:11:56 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-31 11:31:27 +02:00
2021-04-09 14:01:13 -06:00
2021-05-07 18:30:00 +02:00
2019-10-31 12:31:39 -05:00
2021-05-07 18:30:00 +02:00
2021-07-02 17:11:56 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-17 13:52:03 +02:00
2021-05-25 14:00:06 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-06-23 13:46:45 +03:00
2021-06-23 13:46:45 +03:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-24 16:55:23 +05:30
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-06-19 10:01:19 +05:30
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 09:00:35 -04:00
2021-05-25 18:11:10 -07:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2020-05-06 10:54:28 -04:00
2021-05-25 14:00:06 +02:00
2020-05-06 10:54:28 -04:00
2021-06-09 10:15:12 -06:00
2021-05-19 17:32:02 -04:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-06-09 10:15:12 -06:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-12 09:05:06 +02:00
2021-05-12 09:05:06 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-02-06 07:37:29 -06:00
2021-05-07 18:30:00 +02:00
2021-05-25 14:00:06 +02:00
2021-04-09 14:01:13 -06:00
2021-06-23 13:47:57 -04:00
2020-10-16 15:06:33 -05:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-07-09 18:08:23 -04:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2019-11-26 13:19:31 -05:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-07-05 16:07:49 +05:30
2021-06-23 16:34:25 +02:00
2021-05-07 18:30:00 +02:00
2021-01-14 18:29:28 -05:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-06-21 10:58:45 -07:00
2021-07-09 17:47:11 +02:00
2021-06-24 09:18:16 +02:00
2021-07-02 11:14:01 +02:00
2021-06-24 12:31:14 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-02-09 09:13:21 -05:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-06-29 16:24:03 -07:00
2020-07-22 15:25:44 -07:00
2021-06-22 11:07:12 -07:00
2020-07-22 15:25:44 -07:00
2020-07-22 15:25:44 -07:00
2021-02-24 11:09:19 -06:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2020-07-20 15:09:54 -04:00
2021-05-07 18:30:00 +02:00
2021-06-04 16:14:52 +03:00
2020-12-09 06:17:28 -05:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-05-17 15:56:11 +02:00
2021-05-07 18:30:00 +02:00
2021-05-07 18:30:00 +02:00
2021-01-21 19:18:51 +01:00
2021-05-07 18:30:00 +02:00
2021-06-10 17:02:35 -04:00