News for hackers. Stuff that matters.
Re:Beyond the Code: Mining Self-Admitted Technical Debt in I... by gbear605 on Sunday April 19, 2020 @11:03AM (#22916342)
I don’t know much about git hooks, but I think that it would be fairly simple to wrote a small one that parses the changes for the todo comment and then calls to Gitlab’s API. Double points for closing the ticket if the todo comment is removed.
Re:Beyond the Code: Mining Self-Admitted Technical Debt in I... by deadbunny on Sunday April 19, 2020 @11:42AM (#22916615)
You could probably do it with a Gitlab CI step + python (or whatever language of choice) script as well.
Re:Beyond the Code: Mining Self-Admitted Technical Debt in I... by gravypod on Sunday April 19, 2020 @11:04AM (#22916349)
Doing it client side might make it hard to do things like accepting MRs from forks.