Henrik Lindberg
2012-Jul-26 15:11 UTC
[Puppet Users] Please send me your puppet formatting puzzles...
Hi, I have been working on a new puppet code formatter for Geppetto for some time, and it is now starting to work quite well. The plan is to release it in Geppetto 3.0. If you want to, you can help by sending "formatting puzzles" - i.e. "given input x, produce formatted result y". I am esp. looking for code where it is impossible to follow "the style guide" - long input, use of comments in funny places, etc. All other comments, or requests regarding formatting are also very welcome. Respond in any way you like although logged issues at https://github.com/cloudsmith/geppetto/issues are preferred. Regards - henrik -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
llowder-z3OK0Yh6KsD9d7wJ/fxPzw@public.gmane.org
2012-Jul-26 16:03 UTC
Re: Please send me your puppet formatting puzzles...
On Thursday, July 26, 2012 10:11:58 AM UTC-5, Henrik Lindberg wrote:> > Hi, > I have been working on a new puppet code formatter for Geppetto for some > time, and it is now starting to work quite well. The plan is to release > it in Geppetto 3.0. > >Sounds promising.> If you want to, you can help by sending "formatting puzzles" - i.e. > "given input x, produce formatted result y". > > I am esp. looking for code where it is impossible to follow "the style > guide" - long input, use of comments in funny places, etc. > >Long input is a big one for me.> All other comments, or requests regarding formatting are also very > welcome. > > Respond in any way you like although logged issues at > https://github.com/cloudsmith/geppetto/issues are preferred. > >Is there a specific issue that should be used, or should one be filed for these puzzles? -Lee
Henrik Lindberg
2012-Jul-26 21:04 UTC
[Puppet Users] Re: Please send me your puppet formatting puzzles...
I forgot to cross post my reply: On 2012-26-07 18:03, llowder@oreillyauto.com wrote: > Is there a specific issue that should be used, or should one be filed > for these puzzles? Please just file a new issue, it helps if you also label it with the tag "formatter". Meanwhile, the approach on "long input" is to try to wrap long lines. If there are no wrappable positions, the long input is kept as is. I am currently looking at formatting comments, rewrapping text etc. Looking forward to some puzzles... - henrik On 2012-26-07 18:03, llowder@oreillyauto.com wrote:> > > On Thursday, July 26, 2012 10:11:58 AM UTC-5, Henrik Lindberg wrote: > > Hi, > I have been working on a new puppet code formatter for Geppetto for > some > time, and it is now starting to work quite well. The plan is to release > it in Geppetto 3.0. > > > Sounds promising. > > If you want to, you can help by sending "formatting puzzles" - i.e. > "given input x, produce formatted result y". > > I am esp. looking for code where it is impossible to follow "the style > guide" - long input, use of comments in funny places, etc. > > > Long input is a big one for me. > > All other comments, or requests regarding formatting are also very > welcome. > > Respond in any way you like although logged issues at > https://github.com/cloudsmith/geppetto/issues > <https://github.com/cloudsmith/geppetto/issues> are preferred. > > > Is there a specific issue that should be used, or should one be filed > for these puzzles? > > -Lee-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.