<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet.git/lib/puppet/face/help, branch ticket/master/7841</title>
<subtitle>Puppet repo</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/'/>
<entry>
<title>(#7833) Several help text/template edits</title>
<updated>2011-06-08T22:46:04+00:00</updated>
<author>
<name>nfagerlund</name>
<email>nick.fagerlund@gmail.com</email>
</author>
<published>2011-06-08T22:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=f370d5a9e2587c067c458eca65198dbf90c800a6'/>
<id>f370d5a9e2587c067c458eca65198dbf90c800a6</id>
<content type='text'>
This commit makes the following changes:

* Changes wrapping on some "returns" blocks to accomodate the way we prepend
  "RETURNS: " to the first line in short help.
* Overrides description for save on faces where save is invalid. (Since save has
  an inherited description, the description was contradicting the summary.)
* Adds notes on dummy arguments to short_description where applicable, so as to
  show up in short help.
* Adds the termini list to the action short help template.
* Removes the authors block from short help for faces. (Save it for the man page.)
* Several trivial wording changes.

Reviewed-By: Jacob Helwig &lt;jacob@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes the following changes:

* Changes wrapping on some "returns" blocks to accomodate the way we prepend
  "RETURNS: " to the first line in short help.
* Overrides description for save on faces where save is invalid. (Since save has
  an inherited description, the description was contradicting the summary.)
* Adds notes on dummy arguments to short_description where applicable, so as to
  show up in short help.
* Adds the termini list to the action short help template.
* Removes the authors block from short help for faces. (Save it for the man page.)
* Several trivial wording changes.

Reviewed-By: Jacob Helwig &lt;jacob@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7764, 7775, 7778) Revisions to Faces help text</title>
<updated>2011-06-07T21:08:39+00:00</updated>
<author>
<name>nfagerlund</name>
<email>nick.fagerlund@gmail.com</email>
</author>
<published>2011-06-03T17:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=17723634875e308b2752efed8ebdfd3db3239215'/>
<id>17723634875e308b2752efed8ebdfd3db3239215</id>
<content type='text'>
Per UX review of help text, this commit makes several changes over the breadth
of the Faces help:

* Preface API-only action summaries/descriptions with "API only." (issue #7775)
* Provide both CLI and API info in "returns," with the CLI info first. (issue #7778)
* Summaries should be sentences. (Add punctuation.)
* First sentences of descriptions should reiterate summaries. (Summaries and
  descriptions should be displayed far enough apart that this isn't a problem.)
* Standardize on "subcommand" instead of "face" when talking about the entity
  you invoke at the command line. (Use "face" when describing API use.)
* Fix outdated or clunky text in several faces.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per UX review of help text, this commit makes several changes over the breadth
of the Faces help:

* Preface API-only action summaries/descriptions with "API only." (issue #7775)
* Provide both CLI and API info in "returns," with the CLI info first. (issue #7778)
* Summaries should be sentences. (Add punctuation.)
* First sentences of descriptions should reiterate summaries. (Summaries and
  descriptions should be displayed far enough apart that this isn't a problem.)
* Standardize on "subcommand" instead of "face" when talking about the entity
  you invoke at the command line. (Use "face" when describing API use.)
* Fix outdated or clunky text in several faces.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7773, 7776, 7764) Several help template tweaks</title>
<updated>2011-06-07T21:08:35+00:00</updated>
<author>
<name>nfagerlund</name>
<email>nick.fagerlund@gmail.com</email>
</author>
<published>2011-06-02T01:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=5a9998e41bc442ca66ca2ff151750355d2ef6d6f'/>
<id>5a9998e41bc442ca66ca2ff151750355d2ef6d6f</id>
<content type='text'>
Per UX review of help output, this commit makes several changes to templates and
shared help text:

* Change "unknown" to "undocumented"
* Remove copyright from short help
* Point readers to the man pages (issue 7773)
* Remove examples from short help (issue 7776)
* Remove summary from short help and make it a fallback for description
* Edit common option summaries to fit on a single 80-col line
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per UX review of help output, this commit makes several changes to templates and
shared help text:

* Change "unknown" to "undocumented"
* Remove copyright from short help
* Point readers to the man pages (issue 7773)
* Remove examples from short help (issue 7776)
* Remove summary from short help and make it a fallback for description
* Edit common option summaries to fit on a single 80-col line
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7564) Finish templates</title>
<updated>2011-05-26T23:04:42+00:00</updated>
<author>
<name>nfagerlund</name>
<email>nick.fagerlund@gmail.com</email>
</author>
<published>2011-05-21T01:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=4662f4d0aa57a8792b824338e82e89ca4ddb0960'/>
<id>4662f4d0aa57a8792b824338e82e89ca4ddb0960</id>
<content type='text'>
This is a rebase of the following commits:

* (#7563) Add a template for manpages

In order to generate manpages in a reasonably maintainable way, we need
to format text from the Faces help API for use with Ronn
(https://github.com/rtomayko/ronn/).

This commit adds a man template to the help templates folder; it has
been verified to generate Ronn-friendly input text. It isn't currently
called by any applications, but can be demonstrated by exchanging it for
face.erb.

* (#7634) Change ERB trim mode used in the Faces help API

&lt;%= something -%&gt; tags (note the minus) are unavoidably necessary at at
least one point in the Faces help templates. ERB objects instantiated
with the % trim mode will blow up horribly whenever one of these tags
appears.

This commit changes the trim mode to `-` and refactors all help
templates accordingly.

* (#7563) Refactor short help templates

This commit attempts to bring the short face and action help templates closer to the goals of fitting cleanly on one screen, fitting the prevailing *nix aesthetic, and being useful without overwhelming the user.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a rebase of the following commits:

* (#7563) Add a template for manpages

In order to generate manpages in a reasonably maintainable way, we need
to format text from the Faces help API for use with Ronn
(https://github.com/rtomayko/ronn/).

This commit adds a man template to the help templates folder; it has
been verified to generate Ronn-friendly input text. It isn't currently
called by any applications, but can be demonstrated by exchanging it for
face.erb.

* (#7634) Change ERB trim mode used in the Faces help API

&lt;%= something -%&gt; tags (note the minus) are unavoidably necessary at at
least one point in the Faces help templates. ERB objects instantiated
with the % trim mode will blow up horribly whenever one of these tags
appears.

This commit changes the trim mode to `-` and refactors all help
templates accordingly.

* (#7563) Refactor short help templates

This commit attempts to bring the short face and action help templates closer to the goals of fitting cleanly on one screen, fitting the prevailing *nix aesthetic, and being useful without overwhelming the user.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7561) Complete help text for all faces and actions</title>
<updated>2011-05-26T23:04:42+00:00</updated>
<author>
<name>nfagerlund</name>
<email>nick.fagerlund@gmail.com</email>
</author>
<published>2011-05-18T23:20:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=331d8128288f8c7bb3645149ff452372c0866429'/>
<id>331d8128288f8c7bb3645149ff452372c0866429</id>
<content type='text'>
Faces help output relies on input from the documentation methods in each
of the faces to be documented. This commit calls those methods in each of our
faces, with varying levels of detail depending on their complexity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Faces help output relies on input from the documentation methods in each
of the faces to be documented. This commit calls those methods in each of our
faces, with varying levels of detail depending on their complexity.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7303) Remove reference to not-yet-extant man action</title>
<updated>2011-05-04T23:01:49+00:00</updated>
<author>
<name>nfagerlund</name>
<email>nick.fagerlund@gmail.com</email>
</author>
<published>2011-05-04T22:36:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=358418ce0fece0b3940b5c62c4633d61cb1de7b9'/>
<id>358418ce0fece0b3940b5c62c4633d61cb1de7b9</id>
<content type='text'>
We haven't implemented the `man` action yet, so let's not mention it until we have.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We haven't implemented the `man` action yet, so let's not mention it until we have.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7304) Improve help from `puppet foo`</title>
<updated>2011-05-02T22:26:09+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@puppetlabs.com</email>
</author>
<published>2011-05-02T19:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=b20e9779f1c60a2a2ea1ddf21b3c5e06d8f68ac4'/>
<id>b20e9779f1c60a2a2ea1ddf21b3c5e06d8f68ac4</id>
<content type='text'>
This addresses two of the four points: we now quote the subcommand name, and
emit 'Usage: ' before the usage information on the puppet command line.

Reviewed-By: Nick Lewis &lt;nick@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This addresses two of the four points: we now quote the subcommand name, and
emit 'Usage: ' before the usage information on the puppet command line.

Reviewed-By: Nick Lewis &lt;nick@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>(#6962) Finish documentation API on Face options.</title>
<updated>2011-04-27T17:10:20+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@puppetlabs.com</email>
</author>
<published>2011-04-27T17:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=e8eb290a1681baa19ef0b035af7cf17daadc6069'/>
<id>e8eb290a1681baa19ef0b035af7cf17daadc6069</id>
<content type='text'>
This extends the last of the documentation support, down into options, so they
can be described as expected.  In the process we split out the modular docs
API into a full and short version   options only want short docs, but the
behaviours are identical to the full version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This extends the last of the documentation support, down into options, so they
can be described as expected.  In the process we split out the modular docs
API into a full and short version   options only want short docs, but the
behaviours are identical to the full version.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#6962) Extend documentation API for Faces.</title>
<updated>2011-04-27T06:35:31+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@puppetlabs.com</email>
</author>
<published>2011-04-27T00:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=092ab09d00474d69361ee757efde2b28c89b39eb'/>
<id>092ab09d00474d69361ee757efde2b28c89b39eb</id>
<content type='text'>
This adds the remaining documentation mechanisms to the Face instances,
allowing them to build and report correct documentation, licensing and
ownership for the help face to build on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the remaining documentation mechanisms to the Face instances,
allowing them to build and report correct documentation, licensing and
ownership for the help face to build on.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7056) Use 'face' rather than 'faces' in the production code.</title>
<updated>2011-04-13T07:17:57+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@puppetlabs.com</email>
</author>
<published>2011-04-13T07:17:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=4dd6a77481400b7eeac3377267d092d4c6d22da3'/>
<id>4dd6a77481400b7eeac3377267d092d4c6d22da3</id>
<content type='text'>
After some discussion we decided that most uses of the Puppet Face
infrastructure were about single faces on their own, not about the collection,
and so we were better referring to Puppet::Face[...] in code.

This implements that by translating names and references in the Ruby code to
the new, s-less, name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After some discussion we decided that most uses of the Puppet Face
infrastructure were about single faces on their own, not about the collection,
and so we were better referring to Puppet::Face[...] in code.

This implements that by translating names and references in the Ruby code to
the new, s-less, name.
</pre>
</div>
</content>
</entry>
</feed>
