Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Adrien Thebo commented on an issue Re: Remove special casing of the empty string Merged into facter-2 in 8a14998. Add Comment Facter / FACT-322 Remove special casing of the empty string In Facter 1 the only meaningful data type was the string and empty strings were converted to nil. This behavior was mainly due to the behavior of command execution - it was assumed that if a command didn't return anything on stdout then the value should be considered nil. Since Facter derives a lot of information from commands this use case was optimized ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Kurt Wall updated an issue Facter / FACT-322 Remove special casing of the empty string Change By: Kurt Wall Assignee: KurtWall Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Kurt Wall assigned an issue to Kurt Wall Facter / FACT-322 Remove special casing of the empty string Change By: Kurt Wall Assignee: KurtWall Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Peter Huene assigned an issue to Unassigned Facter / FACT-322 Remove special casing of the empty string Change By: Peter Huene Assignee: PeterHuene Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Peter Huene commented on an issue Re: Remove special casing of the empty string Leaving in Ready for CI as there's currently a facter acceptance test failure. Add Comment Facter / FACT-322 Remove special casing of the empty string In Facter 1 the only meaningful data type was the string and empty strings were converted to nil. This behavior was mainly due to the behavior of command execution - it was assumed that if a command didn't return anything on stdout then the value should be considered nil. Since Facter derives a lot of information from commands this use case was optimized ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Peter Huene assigned an issue to Peter Huene Facter / FACT-322 Remove special casing of the empty string Change By: Peter Huene Assignee: PeterHuene Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Peter Huene updated an issue Facter / FACT-322 Remove special casing of the empty string Change By: Peter Huene Assignee: PeterHuene Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Peter Huene assigned an issue to Peter Huene Facter / FACT-322 Remove special casing of the empty string Change By: Peter Huene Assignee: PeterHuene Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Adrien Thebo assigned an issue to Unassigned Facter / FACT-322 Remove special casing of the empty string Change By: Adrien Thebo Assignee: EricSorenson Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Michelle Johansen updated an issue Facter / FACT-322 Remove special casing of the empty string Change By: Michelle Johansen Sprint: Week2014-2-5to2014-2-12 ,Week2014-2-12to2014-2-19 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Adrien Thebo created an issue Facter / FACT-322 Remove special casing of the empty string Issue Type: Improvement Assignee: Eric Sorenson Created: 10/Feb/14 9:41 AM Fix Versions: 2.0 Priority: Normal Reporter: Adrien Thebo In Facter 1 the only meaningful data type was the string and empty strings were converted to nil. This behavior was mainly due to the behavior of command execution - it was assumed that if a command didn't return anything on stdout then the value should be considered nil. Since Facter derives a lot of information from commands this use case was optimized for by automatically converting the empty string to nil when running commands and evaluating facts. Facter 2 introduces the ability to return rich data types, so things like `nil` and `false` can actually be returned. Because of this the special casing of the empty string is no longer needed and may also be very surprising. We should remove this special casing when evaluating facts and resolutions. We may still need to determine the behavior of executing commands and the behavior of Facter::Util::Resolution when setcode is a given a command, but my inclination is always return a string from .exec and normalize the output of setcode blocks.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Adrien Thebo updated an issue Facter / FACT-322 Remove special casing of the empty string Change By: Adrien Thebo Sprint: Week2014-2-5to2014-2-12 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-322) Remove special casing of the empty string
Title: Message Title Adrien Thebo updated an issue Facter / FACT-322 Remove special casing of the empty string Change By: Adrien Thebo Story Points: 2 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.