Jira (PUP-4200) puppet-lint reports incorrect line numbers

2015-03-19 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4200 
 
 
 
  puppet-lint reports incorrect line numbers  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


Jira (PUP-4200) puppet-lint reports incorrect line numbers

2015-03-13 Thread Todd Lewis (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Todd Lewis created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4200 
 
 
 
  puppet-lint reports incorrect line numbers  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2015/03/13 2:28 PM 
 
 
 

Environment:
 
 
RedHat EL6 on x86_64 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Todd Lewis 
 
 
 
 
 
 
 
 
 
 
puppet-lint reports incorrect line numbers for issues it finds if there are multi-line string constants preceding the issue. For example, if the .pp file being examined has a 6 line string starting on line 100 and a 46 line string starting on line 150, then a problem with line 250 is reported as being on line 200. Also, the --with-context option will show the text of line 200 rather than the text of line 250 where the actual error is. 
In short, multi-line strings throws puppet-lint's error reporting off.That is, line counting gets thrown off by N-1 for each N-line string.  
Our puppet-lint --version returns puppet-lint 1.1.0 if that helps. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
  

Jira (PUP-4200) puppet-lint reports incorrect line numbers

2015-03-13 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-4200 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: puppet-lint reports incorrect line numbers  
 
 
 
 
 
 
 
 
 
 
puppet-lint issues are not tracked in Puppet Labs jira. Please log this in the issue tracker used by the puppet-lint community project. IIRC, you can find it here: http://puppet-lint.com/ 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.