Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Josh Cooper Sub-team: Language Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Josh Cooper Team: Platform Core Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Henrik Lindberg Release Notes Summary: Part of larger feature PAL (Puppet API). Release Notes: Not Needed Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Henrik Lindberg Fix Version/s: PUP 5.4.0 Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Thomas Hallgren assigned an issue to Michael Smith Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Thomas Hallgren Assignee: Thomas Hallgren Michael Smith Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Thomas Hallgren assigned an issue to Thomas Hallgren Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Thomas Hallgren Assignee: Michael Smith Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Michael Smith commented on PUP-8259 Re: PAL list_tasks doesn't return useful results unless all task metadata is valid I'd be ok with handling errors when iterating over the results. Or passing a block to handle errors. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Henrik Lindberg commented on PUP-8259 Re: PAL list_tasks doesn't return useful results unless all task metadata is valid We could perhaps let the list_xxx return Variant[Error, TypedName], or possibly skip errors by default, but present them to the filtering lambda. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Thomas Hallgren assigned an issue to Michael Smith Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Thomas Hallgren Assignee: Thomas Hallgren Michael Smith Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Thomas Hallgren commented on PUP-8259 Re: PAL list_tasks doesn't return useful results unless all task metadata is valid Michael Smith do you have any thoughts on what that finer control would look like? We already pass a block to the underlying Loader#discover method (used for the optional filtering). Whatever we add here I think it should be consistent with other list_xxx methods. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Michael Smith updated an issue Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Michael Smith By prying into the parser, I If invalid metadata is found , {{ Variant[Enum[yes, no, maybe], Boolean]] list_tasks }} was present in one of my task metadata files will throw an exception . Using PAL We ' s list_tasks wasn't very helpful, as it displayed{code}Error: Syntax error at ']' at line 1:39 on node localhostbundler: failed d like to load command: bolt be able to log tasks that have invalid metadata ( /Users/michaelsmith/puppetlabs/bolt/.bundle/gems/ruby/2.3.0/bin/bolt)Puppet::ParseErrorWithIssue: Syntax error at ']' at line 1:39 on node localhost /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/parser/parser_support.rb:124: in `on_error' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/parser/lexer2 a more controlled method, i . rb:727:in `scan' /Users/michaelsmith/ e . rbenv/versions/2.3.4/lib/ruby/2.3.0/racc/parser.rb:320:in `_racc_yyparse_c' /Users/michaelsmith/.rbenv/versions/2.3.4/lib/ruby/2.3.0/racc/parser.rb:320:in `yyparse' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/parser/parser_support.rb:237:in `_parse' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/parser/parser_support.rb:131:in `parse_string' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/types/type_parser.rb:36:in `parse' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb:57:in `block (2 levels catch the exception and print a summary ) in create_task_from_hash' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator while still presenting a list of valid tasks . rb:54:in `each_pair' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb:54:in `block in create_task_from_hash' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb:51:in `each_pair' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb:51:in `create_task_from_hash' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb:34:in `create_task' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/task_instantiator.rb:25:in `create' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/module_loaders.rb:243:in `instantiate' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/module_loaders.rb:219:in `find' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/base_loader.rb:161:in `internal_load' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/base_loader.rb:42:in `load_typed' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/module_loaders.rb:137:in `block (2 levels) in discover' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/module_loaders.rb:134:in `each' /Users/michaelsmith/puppetlabs/bolt/vendored/puppet/lib/puppet/pops/loader/module_loaders.rb:134:in `block in discover'
Jira (PUP-8259) PAL list_tasks doesn't return useful results unless all task metadata is valid
Title: Message Title Michael Smith updated an issue Puppet / PUP-8259 PAL list_tasks doesn't return useful results unless all task metadata is valid Change By: Michael Smith Summary: PAL list_tasks doesn't display file information when parsing error return useful results unless all task metadata is encountered valid Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.