3 ms·
Gitlab/Github should add a feature that any submitted merge requests automatically emails the last author of the code lines being modified, to let them know abo
by nbenitezl 2y ago
Gitlab/Github should add a feature that any submitted merge requests automatically emails the last author of the code lines being modified, to let them know about the MR and provide any feedback if needed.
Or maybe someone has wrote a bot/Git hook for that?
- eddd-ddde 2y agoBasically just an OWNERS file, but asynchronously?
- fouronnes3 2y agoFor a linux user, you can already build such a system yourself quite trivially with git blame directly, piping it through grep awk and git log to email yourself that list with a cron job. (crontab -l 2>/dev/null; echo '15 22 \* \* \* /usr/bin/git blame --line-porcelain abc123.. -- /path/to/file.txt | awk "/^author-mail/ {print \$2}" | sort -u | /usr/bin/mail -s "Authors" user@example.com') | crontab -
- chrishill89 2y agoThe Git project has a script for that: https://github.com/git/git/blob/master/contrib/contacts/git-contacts https://github.com/git/git/blob/master/contrib/contacts/git-...