I think that requiring every TODO note to have an associated JIRA report
number would be too restrictive, increasing the friction to record notes
about things to be looked at later.

Making it so that one can't leave a note without the overhead of filing
a whole JIRA report is going to cause some things to go unnoted.  That
seems significantly worse than not having every note indexed in JIRA.

Encouraging having the JIRA number sounds fine; requiring it, at least
without having some alternative mark for less-formal things, doesn't
seem good.






Daniel

Sudheesh Katkam wrote:
Yes, TODOs must have an associated JIRA, with the specified format.

On May 5, 2015, at 1:14 PM, Julian Hyde <julianh...@gmail.com> wrote:

Is the proposal to disallow TODOs that do not have a JIRA case number? I’d be 
+1 to that.

I’m much less concerned with the problem that TODO(DRILL-abcd) might linger 
after in the code after DRILL-abcd has been fixed.

Julian


On May 5, 2015, at 12:38 PM, Jason Altekruse <altekruseja...@gmail.com> wrote:

It could optionally be passed manually as a flag, but we already have the
build step that is generating the git.properties file, we could issue the
same type of call to git to try to pull the JIRA number out of the commit
message.

On Tue, May 5, 2015 at 12:34 PM, Chris Westin <chriswesti...@gmail.com>
wrote:

I like that idea, but how would the build know what JIRA you're working on?

On Tue, May 5, 2015 at 12:25 PM, Jason Altekruse <altekruseja...@gmail.com

wrote:

We should also consider adding something to the build that will automate
the process of checking for todo comments containing the JIRA number
being
fixed. This would allow reviewers to easily verify that a JIRA being
closed
is not leaving related TODOs in the code (possibly unit tests added by
the
reporter of the issue, or comments mentioned in another patch that wanted
to relate a problem they saw in a known outstanding JIRA). This can be
mitigated by mentioning the relevant areas in the code when filing a
JIRA,
but this would also be a helpful safety net to keep the code cleaner.

- Jason

On Tue, May 5, 2015 at 12:07 PM, Sudheesh Katkam <skat...@maprtech.com>
wrote:

Hey y’all,

For consistency across code, Chris had recommended using
TODO(DRILL-####)
format for todos in comments, where #### is the JIRA number. If there
are
no objections, let’s try to stick to that format.

Thank you,
Sudheesh






--
Daniel Barclay
MapR Technologies

Reply via email to