Issue #12339 has been reported by Pieter van de Bruggen.

----------------------------------------
Bug #12339: Formatted the output for `puppet module search`
https://projects.puppetlabs.com/issues/12339

Author: Pieter van de Bruggen
Status: Accepted
Priority: Normal
Assignee: Pieter van de Bruggen
Category: 
Target version: 2.7.x
Affected Puppet version: 
Keywords: geordi
Branch: 


As per earlier discussions:

    Size: Ideally, we would have some intelligence around that (e.g. 
https://github.com/wycats/thor/blob/master/lib/thor/shell/basic.rb#L274), 
falling back to 80 characters when we can't determine the width.

    Columns:
    The NAME column should be the width of the longest name, to a minimum of 12 
characters.
    The AUTHOR column should likewise be the width of the longest name (+ the 
'@' sigil), to a minimum of 12 characters.
    The KEYWORDS column should be 1/3 of the remaining space. If all keywords 
do not fit in this space, "less important" keywords should removed until they 
do fit. Keywords that match the search pattern should not be removed -- if this 
still will not fit in the available space, the column should be expanded to fit.
    The DESCRIPTION column should take up the remaining space, eliding any 
content that doesn't fit.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to