Jira (PUP-6921) Improve separation of concern between String and Enum types
Title: Message Title Eric Thompson updated an issue Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Eric Thompson QA Risk Assessment Reason: ruby API, covered well by unit tests QA Risk Assessment: No Action Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Eric Thompson updated an issue Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Eric Thompson QA Contact: Eric Thompson Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title William Hopper assigned an issue to qa Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: William Hopper Status: Ready for CI Test Assignee: qa Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Henrik Lindberg Release Notes Summary: The Internal Ruby API for String and Enum types have been slightly modified as the Enum type is now used for inferred result of multiple Strings. The change is public API backwards compatible but issues deprecation warnings.If coding in Ruby against the type system, turn on (at least) strict=warning to see deprecations. Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Henrik Lindberg commented on PUP-6921 Re: Improve separation of concern between String and Enum types Merged to master at: 5fd956d Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Henrik Lindberg Fix Version/s: PUP 4.8.z Fix Version/s: PUP 4.9.0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Henrik Lindberg assigned an issue to Unassigned Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Henrik Lindberg Assignee: Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Thomas Hallgren assigned an issue to Henrik Lindberg Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Thomas Hallgren Assignee: Thomas Hallgren Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Henrik Lindberg assigned an issue to Thomas Hallgren Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Henrik Lindberg Assignee: Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Thomas Hallgren assigned an issue to Thomas Hallgren Puppet / PUP-6921 Improve separation of concern between String and Enum types Change By: Thomas Hallgren Assignee: Thomas Hallgren Sprint: PDS 2016-11-30 Fix Version/s: PUP 4.8.z Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6921) Improve separation of concern between String and Enum types
Title: Message Title Thomas Hallgren created an issue Puppet / PUP-6921 Improve separation of concern between String and Enum types Issue Type: Improvement Affects Versions: PUP 4.8.0 Assignee: Unassigned Created: 2016/11/16 12:29 AM Priority: Normal Reporter: Thomas Hallgren This ticket is about Puppet Type internals and what's proposed here does not affect how the types are declared or represented. Today, the String type is designed to hold an array of string values and a Integer type (a range) that denotes the size. The values are never made visible and only the size can be declared as a parameter to the String type. The combination of the values and size attributes introduces two ambiguities in the type system. 1. Today, both the size and the values constraints are enforced. This is unnecessary since the only way to create a String type that contain a value is by inference and the inference will set the size to match the contained value. 2. Having a String type that represents multiple string values is 100% analog to using an Enum. So why both? It would make more sense if the String type could contain one single constraint. A value or a size. I.e. if the size is explicitly given, there should be no value. Conversely, a String type inferred from a string would have no size since it's implied by the value. A String that contains multiple values is currently created when the element type of a collection is reduced from multiple strings. The