[ 
https://issues.apache.org/jira/browse/YETUS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176923#comment-15176923
 ] 

Sean Busbey edited comment on YETUS-321 at 3/3/16 1:35 AM:
-----------------------------------------------------------

possible alternative, but maybe more work then you want to do right now: what 
if {{--lint}} optionally took a list of lint things to check similar to our 
other -+ list things, with a default of "all".

so you would do {{\-\-lint=all,\-component}} to get what you want here or 
{{--lint=assignee}} if your project literally only used the assignee field of 
jira. This way we avoid adding ignore-foo flags for each individual linting 
option.

what do you think?

(agree that main's length gets a pass for now)


was (Author: busbey):
possible alternative, but maybe more work then you want to do right now: what 
if {{--lint}} optionally took a list of lint things to check similar to our 
other -+ list things, with a default of "all".

so you would do {{--lint=all,-component}} to get what you want here or 
{{--lint=assignee}} if your project literally only used the assignee field of 
jira. This way we avoid adding ignore-foo flags for each individual linting 
option.

what do you think?

(agree that main's length gets a pass for now)

> Add flag to releasedocmaker.py to ignore missing component in lint mode
> -----------------------------------------------------------------------
>
>                 Key: YETUS-321
>                 URL: https://issues.apache.org/jira/browse/YETUS-321
>             Project: Yetus
>          Issue Type: Improvement
>    Affects Versions: 0.1.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: yetus-321.001.patch, yetus-321.002.patch
>
>
> Not all projects require the "component" field in JIRA. For these projects, 
> it would be nice to ignore the "missing component" errors in lint mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to