-
Notifications
You must be signed in to change notification settings - Fork 2.6k
podman search: --list-tags clobbers --format #8740
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi, I am using podman 2.1.1. When I run command |
Looks like this did not show up until podman-2.2, which should be available now. |
Hello, This output following the same structure of the default option of the {
"Index": "",
"Name": "docker.io/library/redis",
"Description": "",
"Stars": 0,
"Official": "",
"Automated": "",
"Tag": "2.8.7"
} Or this output following the structure of the {
"Name": "docker.io/library/redis",
"Tag": "2.8.7"
} Thank you for your time and your work. |
That's a really good question. My first reaction was to go with your first option (populate {
"Name": "docker.io/library/redis",
"Tags": ["2-32bit", "2.6-32bit", "2.6.17-32bit", "2.6.17", "2.6", "..."]
}
I haven't even peeked at the code, and don't know how easy/hard that would be; nor do I know if this would violate API conventions. @rhatdan @mheon @jwhonce @TomSweeneyRedHat @baude WDYT? |
If it does not violate any conventions, Your suggestion seems better. For me, the implementation looks feasible. It looks like it could be fixed in this file. I will implement your output format, and when the community validates that it follows all necessary conventions, I will make a pull request. If it sounds right to you. |
command. Data is formatted following this JSON structure: ```json { "Name": "...", "Tags": ["...", "...", "..."] } ``` Closes: containers#8740. Signed-off-by: Alexandre Fourcat <afourcat@gmail.com>
podman search --list-tags
will output a table, even if--format
is requested (eitherjson
or{{.Tag}}
):If possible, the requested
--format
should be honored. If not possible, there should be a run-time check throwing a conflicting-options error.Related: #8276
The text was updated successfully, but these errors were encountered: