Tracking contributions from contributors not using git

Posted by alex.jordan on Programmers See other posts from Programmers or by alex.jordan
Published on 2014-08-18T00:14:36Z Indexed on 2014/08/18 16:44 UTC
Read the original article Hit count: 294

Filed under:
|

I have a central git repo located on a server. I have many contributors that are not tech savvy, do not have server access, and do not know anything about git. But they are able to contribute via the project's web side. Each of them logs on via a web browser and contributes to the project.

I have set things up so that when they log on, each user's contributions are made into a cloned repo on the server that is specifically for that user. Periodically, I log on to the server, visit each of their repos, and do a git diff to make sure they haven't done anything bad. If all is well, I commit their changes and push them to the central repo.

Of course I need to manually look at their changes so that I can add an appropriate commit message. But I would also like to track who made the changes. I am making the commit, and I (and the web server) are the only users that are actually writing anything to the server.

I could track this in the commit messages. While this strikes me as wrong, if this is my only option, is there a way to make userx's cloned repo always include "userx: " before each commit message that I add, so that I do not have to remind myself which user's repo I am in?

Or even better, is there an easy way for me to make the commit, but in such a way as I credit the user whose cloned repo I am in?

© Programmers or respective owner

Related posts about git

Related posts about tracking