Jira (PUP-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Thomas Hallgren commented on PUP-5843 Re: Optimize resolution of TypeReference for known Resource types I found a problem with the PR for this issue. Created PUP-6075 since this one is already resolved. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Eric Thompson commented on PUP-5843 Re: Optimize resolution of TypeReference for known Resource types is there anyway to validate this from user feature level? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Sean Griffin assigned an issue to qa Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Sean Griffin Status: Ready for CI Test Assignee: qa Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Eric Thompson QA Risk Assessment: Low Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg commented on PUP-5843 Re: Optimize resolution of TypeReference for known Resource types Eric Thompson nope, possibly by writing a benchmark (which we have not done). Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Eric Thompson QA Risk Assessment Reason: internal code changes Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Thomas Hallgren commented on PUP-5843 Re: Optimize resolution of TypeReference for known Resource types Merged to master at cc82289. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Thomas Hallgren assigned an issue to Unassigned Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Thomas Hallgren Assignee: Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg assigned an issue to Thomas Hallgren Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Assignee: Henrik Lindberg Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Thomas Hallgren assigned an issue to Henrik Lindberg Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Thomas Hallgren Assignee: Thomas Hallgren Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg assigned an issue to Thomas Hallgren Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Assignee: Henrik Lindberg Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Thomas Hallgren assigned an issue to Henrik Lindberg Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Thomas Hallgren Assignee: Thomas Hallgren Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg assigned an issue to Thomas Hallgren Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Assignee: Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Fix Version/s: PUP 4.4.1 Fix Version/s: PUP 4.5.0 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg commented on PUP-5843 Re: Optimize resolution of TypeReference for known Resource types I added a PR that uses the static loader to load the predefined types. While we could scan for them in the file system, this is just a simple existence, and the set of types in puppet virtually never changes. This is a stop gap solution, later we will describe each type with a PCore model and instead load that. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg assigned an issue to Henrik Lindberg Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Assignee: Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Sprint: Language 2016-03- 09 (Burn CF) 23 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Fix Version/s: PUP 4.5.1 Fix Version/s: PUP 4.4.1 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Fix Version/s: PUP 4.5.1 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Change By: Henrik Lindberg Sprint: Language Triage 2016-03-09 (Burn CF) Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg commented on PUP-5843 Re: Optimize resolution of TypeReference for known Resource types Ping Thomas Hallgren Peter Huene - thoughts ? Yeah, it is bad that statically "any undefined type is a Resource". That cannot be fixed until resource types (and classes) are forced to use module name space unless defied in puppet core. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-5843) Optimize resolution of TypeReference for known Resource types
Title: Message Title Henrik Lindberg created an issue Puppet / PUP-5843 Optimize resolution of TypeReference for known Resource types Issue Type: Improvement Assignee: Unassigned Created: 2016/02/09 9:25 AM Priority: Normal Reporter: Henrik Lindberg PUP-5742 introduces type aliases. This means that scope is required to resolve a type reference. Since there are several use cases where scope is not available (static analysis, class information production, documentation production, etc.) the only choice is to produce an unresolved type reference instead of a resolved type. We do this because of the rule, any type that is not a defined type is a subtype of Resource. In practice, this means that static analysis and documentation will produce more errors/warnings. This problem can be reduced by reducing the number of unresolved references. This is possible since many of the Resource types are in Puppet core. What we can do is to use the static loader since it will always reflect the state of the specific Puppet runtime. The things loaded there also have higher precedence than all of the other loaders so its positive answers are authoritative. The work consists of: making it easy to get to the static state. It may be possible to share it across all environments (which will reduce environment initialization cost as well). Adding all known types to the static loader. This can be done statically by just enumerating them in explicit code. We very rarely add or remove such types from the runtime, and it would be a performance hit to