Jira (BOLT-306) Listing tasks incorrectly maps files to task names

2018-01-16 Thread Nick Lewis (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Lewis updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Task Runner /  BOLT-306 
 
 
 
  Listing tasks incorrectly maps files to task names  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Lewis 
 
 
 

Sprint:
 
 Bolt Ready for Grooming 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (BOLT-306) Listing tasks incorrectly maps files to task names

2018-01-16 Thread Nick Lewis (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Lewis created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Task Runner /  BOLT-306 
 
 
 
  Listing tasks incorrectly maps files to task names  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2018/01/16 11:06 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Nick Lewis 
 
 
 
 
 
 
 
 
 
 
Currently, puppet uses basic substring matching to determine which files are associated with a given task. That causes task files to be incorrectly associated with tasks in the case where the name of one task is a prefix of another task. For example: 
 
 
 
 
 
 
$ ls tasks 
 
 
 
 
foo.sh 
 
 
 
 
foo.json 
 
 
 
 
foobar.sh