[atomic-wg] Issue #267: Label 'help' in the guidelines and in atomic tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hhorak reported a new issue against the project: `atomic-wg` that you are following:
``
One issue with the Fedora Containers Guidelines I've realized -- the 'help' LABEL has different semantic in `atomic` tool than in the guidelines.

The description of the 'help' label in the container guidelines [1] is this:
"Provides a detailed narrative of how the container is meant to be used. In many cases will be a link."

However, atomic tool [2] uses the 'help' label for specification of a command that shows the man page. So, the only possible format that makes sense there is something like:

    LABEL help="docker run IMAGE cat /help.1 | /usr/bin/groff -man -ETascii"

So, given the Container Guidelines in Fedora are much more recent than the 'atomic help' implementation, I'd recommend to change the 'help' label in the guidelines and also add the label into the general Atomic labels description [3].

I'd suggest this description for the 'help' label:
"""
Powers "atomic help" command. Usually required for containers which do not contain the man page called help.1 in the root. If not specified, "atomic help" command shows /help.1 using the `groff` tool on the host system.
"""

I also think that label 'usage' can server for the same purpose as the 'help' label is meant to be used currently in the Container Guidelines, so the description of the 'usage' label may be:

"""
Human readable example of container execution. In many cases will be a link. 
"""

[1] https://fedoraproject.org/wiki/Container:Guidelines#LABELS
[2] https://github.com/projectatomic/atomic/blob/master/Atomic/help.py#L64
[3] https://github.com/projectatomic/ContainerApplicationGenericLabels/blob/master/vendor/redhat/labels.md
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/267
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux