Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review TODOs and FIXMEs #264

Closed
vkurchatkin opened this issue Jan 8, 2015 · 21 comments
Closed

Review TODOs and FIXMEs #264

vkurchatkin opened this issue Jan 8, 2015 · 21 comments
Labels
good first issue Issues that are suitable for first-time contributors. help wanted Issues that need assistance from volunteers or PRs that need help to proceed.

Comments

@vkurchatkin
Copy link
Contributor

  1. Make an issue for each TODO or FIXME (https://github.com/naholyr/github-todos can help);
  2. discuss;
  3. PR to fix or remove.

Thoughts?

@julianduque
Copy link
Contributor

👍 I like this approach, would be ideal to leave the TODO or FIXME comment associated with an issue in GitHub as proposed with github-todos, it's sometimes easier to fix or contribute to an issue if you exactly where it is on the code

@rvagg
Copy link
Member

rvagg commented Jan 9, 2015

I'm not sure about automating this, might be a bit too noisy, but TODOs and FIXMEs are a great place for new contributors to get started and issues could be labelled as such.

@btd
Copy link

btd commented Jan 9, 2015

It could be more easy to automate it in jenkins (as build containers for iojs on jenkins) with task scanner?

@yorkie
Copy link
Contributor

yorkie commented Jan 9, 2015

unnecessary a bit, because those comments should be created by some of committers from core team, such that i think those should be personal work rather than community actually, issues or PRs would also absolutely depends on someone who created the TODO :(

@vkurchatkin
Copy link
Contributor Author

I was talking about one time thing, not about actual hook.

TODOs and FIXMEs are a great place for new contributors to get started and issues could be labelled as such.

Indeed, but comments can be rather vague or obsolete, so real github issues are required.

@yorkie
Copy link
Contributor

yorkie commented Jan 9, 2015

haha @vkurchatkin you are right, i'm confused by Rod said automation :)

@bnoordhuis
Copy link
Member

I suspect that a sizable fraction of TODOs and FIXMEs are stale or not actionable.

I know I'm guilty of putting TODOs in my code that assume that once we have $mythical_feature_x, we'll finally be able to do this right! I'm probably not the only one who does. :-)

@caitp
Copy link
Contributor

caitp commented Jan 9, 2015

I'm bored, I'll propose a change for the most trivial of these that I can find :)

@rvagg
Copy link
Member

rvagg commented Jan 9, 2015

haha, very well done @caitp, next!

@piscisaureus
Copy link
Contributor

@caitp

If you want to help out, I'd suggest the following: fix fs error messages.

Currently if fs.rename('foo', 'bar') fails, an error gets printed that looks like this:
Error: ENOENT, rename 'C:\Users\Bert Belder\foo'
The error includes only the first or the second path, depending on what the error was. That makes very little sense. Instead, what I'd like to see is:
Error: ENOENT, rename 'C:\Users\Bert Belder\foo' -> 'C:\Users\Bert Belder\bar'

The same also applies to:

  • fs.link(source, target);
  • fs.symlink(dest, path, type), but only on windows when type is junction. In other cases only the second path should be part of the error message.

@caitp
Copy link
Contributor

caitp commented Jan 11, 2015

sure, I'll create an issue with an idea I've got there

@piscisaureus
Copy link
Contributor

@caitp See also #207

@Fishrock123 Fishrock123 added the help wanted Issues that need assistance from volunteers or PRs that need help to proceed. label Jan 30, 2015
@mrjoelkemp
Copy link

@piscisaureus @caitp is the error message issue still unresolved? I'd like to give it a shot.

I'd also love more beginner-friendly tickets being labeled with help-wanted.

@mrjoelkemp
Copy link

Nevermind. I see they've been fixed

@Qard
Copy link
Member

Qard commented Aug 14, 2015

I wonder if we should consider making future TODO/FIXME comments include issue numbers?

@Trott
Copy link
Member

Trott commented Jan 9, 2016

This issue is a year old and has seen no recent activity.

There might be some imperfections in my methods, but when I search through the current master branch and remove obvious false positives (markdown files, things in deps or tools that we don't control, etc.), here's what I get:

Path TODOs,FIXMEs,XXXs
configure 2
lib 61
Makefile 1
Makefile.build 1
src 44
test 36
tools 12

I'd like to close this issue and open issues to replace it focusing on particular areas, one each for:

  • lib
  • src
  • test
  • tools (just cpplint.py and sx-pkg-postinstall.sh)
  • Makefile, Makefile.build, configure

The one for lib in particular will likely need to be broken down further, but this will make it manageable (for the ones other than lib at least) to keep a task list of existing TODO (etc.) items in each area.

I'll wait at least a couple days in case anyone has a strong objection to this approach. (I'm guessing some people will think it's a pointless exercise, but I'm optimistic that no one will think that it's actively harmful.)

@vkurchatkin
Copy link
Contributor Author

@Trott let's do this!

@bnoordhuis
Copy link
Member

@Trott You can drop cpplint.py from the list, it's mostly not written by us.

@thefourtheye
Copy link
Contributor

Actually in few places people's names are also used.

@Trott
Copy link
Member

Trott commented Jan 12, 2016

Wow, I had a lot of false positives in the test directory. Turns out there were only 11 in there. Still have to open a PR for src and one for lib and then this can be closed.

@Trott
Copy link
Member

Trott commented Jan 12, 2016

OK, separate issues opened. Some of them may yet still need to be broken down further, but it's a start. Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are suitable for first-time contributors. help wanted Issues that need assistance from volunteers or PRs that need help to proceed.
Projects
None yet
Development

No branches or pull requests