57
submitted 2 years ago* (last edited 2 years ago) by lig@lemmings.world to c/git@programming.dev

Hey! I've just released todo-md v1 🚀. Keep your tasks organized with todo-md!

The pre-commit hook automatically maintains a TODO.md file by scanning your staged files for TODO: comments. You do not need complicated task trackers bloated with features anymore:) Let your code speak for itself!

Get it now: https://codeberg.org/lig/todo-md

#TODOmd #DevTools #PreCommit #Automation #OpenSource #Git #Todo​

top 13 comments
sorted by: hot top new old
[-] jonne@infosec.pub 17 points 2 years ago

But when I put @todo in my code, the point is to never revisit it. I don't want to be reminded every time I open the repo!

[-] lig@lemmings.world 5 points 2 years ago

This one isn't for you then :)

[-] jonne@infosec.pub 6 points 2 years ago

Haha, nice work on it tho.

[-] OsrsNeedsF2P@lemmy.ml 6 points 2 years ago

That's actually pretty neat

[-] nomen_dubium@startrek.website 6 points 2 years ago

excellent! i can now remove my eternal TODO to write this myself :D

[-] lig@lemmings.world 3 points 2 years ago

You're welcome:)

[-] Kissaki@programming.dev 5 points 2 years ago

Maybe you want to scan for FIXME: too?

[-] lig@lemmings.world 2 points 2 years ago

That could be an option. Care to fill an issue?:)

[-] Kissaki@programming.dev 3 points 2 years ago

https://codeberg.org/lig/todo-md/issues/4

I didn't create one because I won't be using the project, but suggested it here for your consideration. :)

Outside of work-in-progress or exploration branches, I don't commit or merge TODOs. Typically, I consider them merge/land blockers. Because most of the time, they're never resolved. And in that case, I much prefer documentation and statements; reasoning of why it is the way it is, or opportunities.

[-] nik9000@programming.dev 2 points 2 years ago

In projects I work on we use NOCOMMIT for these blockers and they'll fail the build. It's honestly lovely to have something to leave yourself a note that the build catches for you.

[-] pupbiru@aussie.zone 1 points 2 years ago

a TODO can often be expressed in a throw NotImplementedError or similar, but a comment is where danger lies

[-] Kalcifer@sh.itjust.works 3 points 2 years ago
[-] emaro@nerdculture.de 1 points 2 years ago

@lig that looks neat!

this post was submitted on 10 Jan 2025
57 points (96.7% liked)

Git

4755 readers
9 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 3 years ago
MODERATORS